This is the patch adapted to the actual Ubuntu/Debian package of HPLIP, as used in the hplip 3.23.12+dfsg0-0ubuntu2 release for Noble.
The adaptations were most probably needed because, before applying this patch ~80 other patches got applied to the original source code of HPLIP. Especially the transition from "is not" to "!=" seems already done. ** Patch added: "0086-hplip-use-raw-strings.patch" https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/2029480/+attachment/5756456/+files/0086-hplip-use-raw-strings.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/2029480 Title: SyntaxWarnings with Python3.12 Status in HPLIP: Confirmed Status in hplip package in Ubuntu: Fix Committed Bug description: Fedora 39 uses Python 3.12 by default, which generates many SyntaxWarnings when running hplip scripts. Most warnings are due regular expressions in strings, so making them raw fixes the issue. The patch is attached. To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/2029480/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp