mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
python312Packages.albumentations: 1.4.11 -> 1.4.16
Diff: https://github.com/albumentations-team/albumentations/compare/refs/tags/1.4.11...1.4.16 Changelog: https://github.com/albumentations-team/albumentations/releases/tag/1.4.12 https://github.com/albumentations-team/albumentations/releases/tag/1.4.13 https://github.com/albumentations-team/albumentations/releases/tag/1.4.14 https://github.com/albumentations-team/albumentations/releases/tag/1.4.15 https://github.com/albumentations-team/albumentations/releases/tag/1.4.16
This commit is contained in:
parent
f9653cc113
commit
2a2dc509fe
@ -15,8 +15,12 @@
|
||||
pydantic,
|
||||
pyyaml,
|
||||
scikit-image,
|
||||
scikit-learn,
|
||||
|
||||
# optional dependencies
|
||||
huggingface-hub,
|
||||
pillow,
|
||||
|
||||
# tests
|
||||
deepdiff,
|
||||
pytestCheckHook,
|
||||
pytest-mock,
|
||||
@ -26,7 +30,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "albumentations";
|
||||
version = "1.4.11";
|
||||
version = "1.4.16";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -35,7 +39,7 @@ buildPythonPackage rec {
|
||||
owner = "albumentations-team";
|
||||
repo = "albumentations";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-1070V9+EZ4qrhxmbMyvTbu89pLoonrn0Peb8nwp2lwA=";
|
||||
hash = "sha256-cfft5RovAJaCNTD9P9KsAJFmdwHwE0gYQ3yd6a3AAMU=";
|
||||
};
|
||||
|
||||
pythonRemoveDeps = [ "opencv-python" ];
|
||||
@ -50,9 +54,13 @@ buildPythonPackage rec {
|
||||
pydantic
|
||||
pyyaml
|
||||
scikit-image
|
||||
scikit-learn
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
hub = [ huggingface-hub ];
|
||||
text = [ pillow ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
deepdiff
|
||||
pytestCheckHook
|
||||
@ -62,6 +70,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_pca_inverse_transform"
|
||||
# this test hangs up
|
||||
"test_transforms"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user