From 45fabc4e86ddcc597a3c5cc12273e14368e81f33 Mon Sep 17 00:00:00 2001 From: Timo Gottszky Date: Wed, 26 Nov 2025 10:22:25 +0100 Subject: [PATCH] python3Packages.pillow-avif-plugin: drop --- doc/release-notes/rl-2605.section.md | 2 + .../pillow-avif-plugin/default.nix | 37 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 4 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 pkgs/development/python-modules/pillow-avif-plugin/default.nix diff --git a/doc/release-notes/rl-2605.section.md b/doc/release-notes/rl-2605.section.md index 2f228659cd19..4c4d9024a8a9 100644 --- a/doc/release-notes/rl-2605.section.md +++ b/doc/release-notes/rl-2605.section.md @@ -13,6 +13,8 @@ - All Log4Shell vulnerability scanners were removed, as they were all unmaintained upstream and are no longer relevant given that the vulnerability has been fixed upstream for several years. +- `python3packages.pillow-avif-plugin` has been removed as the functionality is included in `python3packages.pillow` directly since version 11.3. + ## Other Notable Changes {#sec-nixpkgs-release-26.05-notable-changes} diff --git a/pkgs/development/python-modules/pillow-avif-plugin/default.nix b/pkgs/development/python-modules/pillow-avif-plugin/default.nix deleted file mode 100644 index 4f06ceba1bb5..000000000000 --- a/pkgs/development/python-modules/pillow-avif-plugin/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - setuptools, - libavif, - pillow, - pytestCheckHook, -}: - -buildPythonPackage rec { - pname = "pillow-avif-plugin"; - version = "1.5.2"; - pyproject = true; - - src = fetchFromGitHub { - owner = "fdintino"; - repo = "pillow-avif-plugin"; - tag = "v${version}"; - hash = "sha256-gdDVgVNympxlTzj1VUqO+aU1/xWNjDm97a0biOTlKtA="; - }; - - build-system = [ setuptools ]; - - buildInputs = [ libavif ]; - - dependencies = [ pillow ]; - - nativeCheckInputs = [ pytestCheckHook ]; - - meta = { - description = "Pillow plugin that adds support for AVIF files"; - homepage = "https://github.com/fdintino/pillow-avif-plugin"; - license = lib.licenses.bsd2; - maintainers = with lib.maintainers; [ ratcornu ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 76d5079ab81b..0111afd75f03 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -298,6 +298,7 @@ mapAliases { pdfminer = throw "'pdfminer' has been renamed to/replaced by 'pdfminer-six'"; # Converted to throw 2025-10-29 pep257 = throw "'pep257' has been renamed to/replaced by 'pydocstyle'"; # Converted to throw 2025-10-29 percol = throw "percol has been removed because it hasn't been updated since 2019"; # added 2025-05-25 + pillow-avif-plugin = throw "'pillow-avif-plugin' has been removed because 'pillow' has native avif support since 11.3"; # added 2025-11-26 plumlightpad = throw "plumlightpad has been removed because the API was shut down"; # added 2025-11-04 Polygon3 = throw "'Polygon3' has been renamed to/replaced by 'polygon3'"; # Converted to throw 2025-10-29 posix_ipc = throw "'posix_ipc' has been renamed to/replaced by 'posix-ipc'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0d556f008d00..9e26b1cd2b84 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12007,8 +12007,6 @@ self: super: with self; { inherit (pkgs.xorg) libxcb; }; - pillow-avif-plugin = callPackage ../development/python-modules/pillow-avif-plugin { }; - pillow-heif = callPackage ../development/python-modules/pillow-heif { }; pillow-jpls = callPackage ../development/python-modules/pillow-jpls { };