Unverified Commit 343a6c4a authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

python312Packages.imageio: 2.36.0 -> 2.36.1 (#359832)

parents 7ac2854b 0442a9b2
Loading
Loading
Loading
Loading
+21 −24
Original line number Diff line number Diff line
@@ -31,14 +31,14 @@

buildPythonPackage rec {
  pname = "imageio";
  version = "2.36.0";
  version = "2.36.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "imageio";
    repo = "imageio";
    rev = "refs/tags/v${version}";
    hash = "sha256-dQrAVPXtDdibaxxfqW29qY7j5LyegvmI0Y7/btXmsyY=";
    tag = "v${version}";
    hash = "sha256-jHy0w+tHjoYGTgkcIvy4FnjoZ1eJrVA3JrDYapkBLhY=";
  };

  patches = lib.optionals (!stdenv.hostPlatform.isDarwin) [
@@ -76,11 +76,14 @@ buildPythonPackage rec {
    heif = [ pillow-heif ];
  };

  nativeCheckInputs = [
  nativeCheckInputs =
    [
      fsspec
      psutil
      pytestCheckHook
  ] ++ fsspec.optional-dependencies.github ++ lib.flatten (builtins.attrValues optional-dependencies);
    ]
    ++ fsspec.optional-dependencies.github
    ++ lib.flatten (builtins.attrValues optional-dependencies);

  pytestFlagsArray = [ "-m 'not needs_internet'" ];

@@ -97,13 +100,7 @@ buildPythonPackage rec {
    "tests/test_swf.py"
  ];

  disabledTests =
    [
      # Pillow 11.0.0 compat
      # https://github.com/imageio/imageio/issues/1104
      "test_gif"
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
    # Segmentation fault
    "test_bayer_write"
    # RuntimeError: No valid H.264 encoder was found with the ffmpeg installation
@@ -116,7 +113,7 @@ buildPythonPackage rec {
  meta = {
    description = "Library for reading and writing a wide range of image, video, scientific, and volumetric data formats";
    homepage = "https://imageio.readthedocs.io";
    changelog = "https://github.com/imageio/imageio/blob/v${version}/CHANGELOG.md";
    changelog = "https://github.com/imageio/imageio/blob/${src.tag}/CHANGELOG.md";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ Luflosi ];
  };