python312Packages.imageio: 2.36.1 -> 2.37.0 (#375265)

This commit is contained in:
Sandro
2025-01-21 18:05:58 +01:00
committed by GitHub
@@ -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";