python3Packages.willow: 1.9.0 -> 1.11.0, with lib refactor, adopt, remove invalid test skips (#426297)

This commit is contained in:
Weijia Wang
2025-07-19 06:40:28 +02:00
committed by GitHub
@@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "willow";
version = "1.9.0";
version = "1.11.0";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -25,13 +25,11 @@ buildPythonPackage rec {
owner = "wagtail";
repo = "Willow";
tag = "v${version}";
hash = "sha256-H/UXE6gA6x849aqBcUgl3JYZ87OMNpuFyWGSsgqW1Rk=";
hash = "sha256-7aVLPSspwQRWQ+aNYbKkOBzwc7uoVzQvAG8vezp8QZY=";
};
build-system = [ flit-core ];
pythonRelaxDeps = [ "defusedxml" ];
dependencies = [
filetype
defusedxml
@@ -49,16 +47,14 @@ buildPythonPackage rec {
wand
] ++ optional-dependencies.heif;
disabledTests = [
# ValueError: Invalid quality setting
"test_save_avif_lossless"
];
meta = with lib; {
meta = {
description = "Python image library that sits on top of Pillow, Wand and OpenCV";
homepage = "https://github.com/torchbox/Willow/";
changelog = "https://github.com/wagtail/Willow/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = with maintainers; [ desiderius ];
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [
desiderius
kuflierl
];
};
}