Unverified Commit 6b495521 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

python3Packages.willow: 1.9.0 -> 1.11.0, with lib refactor, adopt, remove...

python3Packages.willow: 1.9.0 -> 1.11.0, with lib refactor, adopt, remove invalid test skips (#426297)
parents 60c3eb30 3fbea50a
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -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
    ];
  };
}