Package: hydrapaper
Version: 3.3.1-2
Followup-For: Bug #1071644
X-Debbugs-Cc: [email protected]

Dear Maintainer,

This bug still occurs in Debian Trixie with version 11.1.0-5+b1 of
python3-pil. Image.ANTIALIAS is not compatible with the included version
of python3-pil, and it has been recommended to use
Image.Resampling.LANCZOS instead. Below is a minimal patch that edits
one line and immediately restores compatibility.

Thank you for your work in maintaining this package.

--- /usr/lib/python3/dist-packages/hydrapaper/wallpaper_flowbox_item.py 
2022-04-28 01:31:12.000000000 -0500
+++ wallpaper_flowbox_item.py   2025-12-21 01:40:10.092324044 -0600
@@ -147,7 +147,7 @@
             GLib.idle_add(
                 lambda: self.wp_image.set_tooltip_text(self.resolution)
             )
-            thumb.thumbnail((250, 250), Image.ANTIALIAS)
+            thumb.thumbnail((250, 250), Image.Resampling.LANCZOS)
             thumb.save(self.cache_path, 'PNG')
             thumb.close()
         except IOError:


-- System Information:
Debian Release: 13.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.57+deb13-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CPU_OUT_OF_SPEC, 
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hydrapaper depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-5
ii  gir1.2-adw-1                                 1.7.6-1~deb13u1
ii  gir1.2-gtk-4.0                               4.18.6+ds-2
ii  python3                                      3.13.5-1
ii  python3-dbus                                 1.4.0-1
ii  python3-gi                                   3.50.0-4+b1
ii  python3-pil                                  11.1.0-5+b1

hydrapaper recommends no packages.

hydrapaper suggests no packages.

-- no debconf information

Reply via email to