mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-05 20:43:28 +00:00
python3Packages.pillow: 9.2.0 -> 9.3.0
https://github.com/python-pillow/Pillow/blob/9.3.0/CHANGES.rst Pass through format to generic builder, updated disabled tests thereby recovering pillow-simd.
This commit is contained in:
parent
722f7cc222
commit
9105610435
pkgs/development/python-modules
@ -9,6 +9,8 @@ import ../pillow/generic.nix (rec {
|
||||
# check for release version on https://pypi.org/project/Pillow-SIMD/#history
|
||||
# does not match the latest pillow release version!
|
||||
version = "9.0.0.post1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -12,14 +12,15 @@
|
||||
|
||||
import ./generic.nix (rec {
|
||||
pname = "pillow";
|
||||
version = "9.2.0";
|
||||
version = "9.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Pillow";
|
||||
inherit version;
|
||||
sha256 = "sha256-deY2/T4PuHJpPyPMuKX/LNV4gBJR86T2hUxqXUN9PAQ=";
|
||||
hash = "sha256-yTWiKlV6VgEI14D5oPxCbddFmUDcVPqknYMknI0+dg8=";
|
||||
};
|
||||
|
||||
passthru.tests = {
|
||||
|
@ -11,7 +11,7 @@
|
||||
with args;
|
||||
|
||||
buildPythonPackage rec {
|
||||
inherit pname version src meta passthru patches;
|
||||
inherit pname version format src meta passthru patches;
|
||||
|
||||
# Disable imagefont tests, because they don't work well with infinality:
|
||||
# https://github.com/python-pillow/Pillow/issues/1259
|
||||
@ -19,18 +19,19 @@ buildPythonPackage rec {
|
||||
rm Tests/test_imagefont.py
|
||||
'';
|
||||
|
||||
# Disable darwin tests which require executables: `iconutil` and `screencapture`
|
||||
disabledTests = lib.optionals stdenv.isDarwin [
|
||||
"test_grab"
|
||||
"test_grabclipboard"
|
||||
"test_save"
|
||||
disabledTests = [
|
||||
# Code quality mismathch 9 vs 10
|
||||
"test_pyroma"
|
||||
|
||||
# pillow-simd
|
||||
"test_roundtrip"
|
||||
"test_basic"
|
||||
] ++ lib.optionals (lib.versions.major version == "6") [
|
||||
# RuntimeError: Error setting from dictionary
|
||||
"test_custom_metadata"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# Disable darwin tests which require executables: `iconutil` and `screencapture`
|
||||
"test_grab"
|
||||
"test_grabclipboard"
|
||||
"test_save"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ olefile ]
|
||||
|
Loading…
Reference in New Issue
Block a user