From 3087c3879fd800554b0721fea92ad7b35fa0e648 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 6 Jul 2024 13:27:17 +0200 Subject: [PATCH 1/2] python311Packages.albucore: 0.0.11 -> 0.0.12 Diff: https://github.com/albumentations-team/albucore/compare/refs/tags/0.0.11...0.0.12 Changelog: https://github.com/albumentations-team/albucore/releases/tag/0.0.12 --- pkgs/development/python-modules/albucore/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/albucore/default.nix b/pkgs/development/python-modules/albucore/default.nix index aaa700ebeacd..555f919c0493 100644 --- a/pkgs/development/python-modules/albucore/default.nix +++ b/pkgs/development/python-modules/albucore/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, pythonOlder, - pythonRelaxDepsHook, fetchFromGitHub, setuptools, pytestCheckHook, @@ -14,7 +13,7 @@ buildPythonPackage rec { pname = "albucore"; - version = "0.0.11"; + version = "0.0.12"; pyproject = true; disabled = pythonOlder "3.8"; @@ -23,15 +22,12 @@ buildPythonPackage rec { owner = "albumentations-team"; repo = "albucore"; rev = "refs/tags/${version}"; - hash = "sha256-ahW1dRbAFfJQ0B0Nfb+Lco03Ymd/IL6hLGvVox3S8/c="; + hash = "sha256-TJTIIshMUcHTGSo0lRA3hVkqMqKsfj0EuiV+SSsP5Q4="; }; pythonRemoveDeps = [ "opencv-python" ]; - build-system = [ - setuptools - pythonRelaxDepsHook - ]; + build-system = [ setuptools ]; dependencies = [ numpy From 1bbb20be10e161d6b33c9222c2cfa8a6ae2862f9 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 6 Jul 2024 13:18:27 +0200 Subject: [PATCH 2/2] python311Packages.albumentations: 1.4.9 -> 1.4.11 Diff: https://github.com/albumentations-team/albumentations/compare/refs/tags/1.4.9...1.4.11 Changelog: https://github.com/albumentations-team/albumentations/releases/tag/1.4.11 --- .../python-modules/albumentations/default.nix | 37 +++++++++++-------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/albumentations/default.nix b/pkgs/development/python-modules/albumentations/default.nix index 6651771f5ca5..570f6aedfcd0 100644 --- a/pkgs/development/python-modules/albumentations/default.nix +++ b/pkgs/development/python-modules/albumentations/default.nix @@ -1,26 +1,34 @@ { lib, buildPythonPackage, + pythonOlder, fetchFromGitHub, + + # build-system setuptools, - deepdiff, + + # dependencies + albucore, + eval-type-backport, numpy, opencv4, + pydantic, pyyaml, scikit-image, scikit-learn, scipy, - pydantic, + typing-extensions, + + deepdiff, pytestCheckHook, - pythonOlder, + pytest-mock, torch, torchvision, - typing-extensions, }: buildPythonPackage rec { pname = "albumentations"; - version = "1.4.9"; + version = "1.4.11"; pyproject = true; disabled = pythonOlder "3.8"; @@ -29,31 +37,28 @@ buildPythonPackage rec { owner = "albumentations-team"; repo = "albumentations"; rev = "refs/tags/${version}"; - hash = "sha256-tzalxhn61hYI6lN1wXwOd1EhTPx/9Fk8pTn/+zx188Y="; + hash = "sha256-1070V9+EZ4qrhxmbMyvTbu89pLoonrn0Peb8nwp2lwA="; }; - - pythonRemoveDeps = [ - "opencv-python" - "pydantic" - ]; + pythonRemoveDeps = [ "opencv-python" ]; build-system = [ setuptools ]; dependencies = [ + albucore + eval-type-backport numpy opencv4 pydantic pyyaml scikit-image scikit-learn - scipy - typing-extensions ]; nativeCheckInputs = [ deepdiff pytestCheckHook + pytest-mock torch torchvision ]; @@ -65,11 +70,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "albumentations" ]; - meta = with lib; { + meta = { description = "Fast image augmentation library and easy to use wrapper around other libraries"; homepage = "https://github.com/albumentations-team/albumentations"; changelog = "https://github.com/albumentations-team/albumentations/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ natsukium ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ natsukium ]; }; }