Merge pull request #334313 from GaetanLepage/imageio

This commit is contained in:
Sandro 2024-08-14 13:56:06 +02:00 committed by GitHub
commit c4a0a122c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@
buildPythonPackage rec {
pname = "imageio";
version = "2.34.2";
version = "2.35.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -41,7 +41,7 @@ buildPythonPackage rec {
owner = "imageio";
repo = "imageio";
rev = "refs/tags/v${version}";
hash = "sha256-1q/LPEdo9rzcIR1ZD+bIP8MIKe7PmxRd8UX6c5C0V5k=";
hash = "sha256-mmd3O7vvqKiHISASE5xRnBzuYon9HeEYRZGyDKy7n9o=";
};
patches = lib.optionals (!stdenv.isDarwin) [
@ -58,7 +58,7 @@ buildPythonPackage rec {
pillow
];
passthru.optional-dependencies = {
optional-dependencies = {
bsdf = [ ];
dicom = [ ];
feisem = [ ];
@ -79,14 +79,11 @@ buildPythonPackage rec {
heif = [ pillow-heif ];
};
nativeCheckInputs =
[
fsspec
psutil
pytestCheckHook
]
++ fsspec.optional-dependencies.github
++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
nativeCheckInputs = [
fsspec
psutil
pytestCheckHook
] ++ fsspec.optional-dependencies.github ++ lib.flatten (builtins.attrValues optional-dependencies);
pytestFlagsArray = [ "-m 'not needs_internet'" ];