Merge pull request #292961 from natsukium/albumentations/update

python311Packages.albumentations: 1.3.1 -> 1.4.0
This commit is contained in:
OTABI Tomoya 2024-03-04 09:38:27 +09:00 committed by GitHub
commit e4e7f582c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,14 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, setuptools
, numpy , numpy
, opencv4 , opencv4
, pyyaml , pyyaml
, qudida , qudida
, scikit-image , scikit-image
, scipy , scipy
, deepdiff
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, pythonRelaxDepsHook , pythonRelaxDepsHook
@ -14,14 +16,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "albumentations"; pname = "albumentations";
version = "1.3.1"; version = "1.4.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-pqODiP5UbFaAcejIL0FEmOhsntA8CLWOeoizHPeiRMY="; hash = "sha256-ZJ+KFIlveIs1bsxwCDxPuRvtq0/04rOa0heoJOGJ3tA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -32,7 +34,11 @@ buildPythonPackage rec {
"opencv-python" "opencv-python"
]; ];
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
numpy numpy
opencv4 opencv4
pyyaml pyyaml
@ -42,6 +48,7 @@ buildPythonPackage rec {
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
deepdiff
pytestCheckHook pytestCheckHook
]; ];