From 24a33d6b3a328d7b723c4a06a071919d6a19844e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 20 Jan 2025 08:24:32 +0100 Subject: [PATCH] python312Packages.imageio: 2.36.1 -> 2.37.0 Diff: https://github.com/imageio/imageio/compare/refs/tags/v2.36.1...v2.37.0 Changelog: https://github.com/imageio/imageio/blob/v2.37.0/CHANGELOG.md --- .../python-modules/imageio/default.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/imageio/default.nix b/pkgs/development/python-modules/imageio/default.nix index 835ccbf2b962..d19c5579e25a 100644 --- a/pkgs/development/python-modules/imageio/default.nix +++ b/pkgs/development/python-modules/imageio/default.nix @@ -31,14 +31,14 @@ buildPythonPackage rec { pname = "imageio"; - version = "2.36.1"; + version = "2.37.0"; pyproject = true; src = fetchFromGitHub { owner = "imageio"; repo = "imageio"; tag = "v${version}"; - hash = "sha256-jHy0w+tHjoYGTgkcIvy4FnjoZ1eJrVA3JrDYapkBLhY="; + hash = "sha256-/nxJxZrTYX7F2grafIWwx9SyfR47ZXyaUwPHMEOdKkI="; }; patches = lib.optionals (!stdenv.hostPlatform.isDarwin) [ @@ -88,20 +88,10 @@ buildPythonPackage rec { pytestFlagsArray = [ "-m 'not needs_internet'" ]; preCheck = '' - export IMAGEIO_USERDIR="$TMP" - export HOME=$TMPDIR + export IMAGEIO_USERDIR=$(mktemp -d) + export HOME=$(mktemp -d) ''; - disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ - # Segmentation fault - "test_bayer_write" - # RuntimeError: No valid H.264 encoder was found with the ffmpeg installation - "test_writer_file_properly_closed" - "test_writer_pixelformat_size_verbose" - "test_writer_ffmpeg_params" - "test_reverse_read" - ]; - meta = { description = "Library for reading and writing a wide range of image, video, scientific, and volumetric data formats"; homepage = "https://imageio.readthedocs.io";