[Bug 2054869] Re: Lot of SyntaxWarning messages during install

2024-04-18 Thread Michun
*** This bug is a duplicate of bug 2029480 *** https://bugs.launchpad.net/bugs/2029480 I'm running Kubuntu noble with backports enabled. hplip is at version 3.23.12+dfsg0-0ubuntu5 and I have the same problems as described above. Python3 upgrade is blocked. Setting up python3

[Bug 2054869] Re: Lot of SyntaxWarning messages during install

2024-03-28 Thread Launchpad Bug Tracker
*** This bug is a duplicate of bug 2029480 *** https://bugs.launchpad.net/bugs/2029480 This bug was fixed in the package hplip - 3.23.12+dfsg0-0ubuntu4 --- hplip (3.23.12+dfsg0-0ubuntu4) noble; urgency=medium * Fix FTBFS on armhf due to implicit functions -- Simon Chopin

[Bug 2054869] Re: Lot of SyntaxWarning messages during install

2024-03-13 Thread Till Kamppeter
*** This bug is a duplicate of bug 2029480 *** https://bugs.launchpad.net/bugs/2029480 ** This bug has been marked a duplicate of bug 2029480 SyntaxWarnings with Python3.12 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2054869] Re: Lot of SyntaxWarning messages during install

2024-03-13 Thread zdohnal
I reported the same or similar issue several months ago with patch https://bugs.launchpad.net/hplip/+bug/2029480 . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2054869 Title: Lot of SyntaxWarning

[Bug 2054869] Re: Lot of SyntaxWarning messages during install

2024-02-28 Thread Till Kamppeter
To the upstream developers of HPLIP: In a recent version of Python (3.12?) backslashes in regular expressions need to get quoted or the expressions defined as raw strings (r'...'). Could you change it that way? Using raw strings should not break older versions of Python. -- You received this

[Bug 2054869] Re: Lot of SyntaxWarning messages during install

2024-02-28 Thread Till Kamppeter
I have seen similar warnings also during building of the HPLIP package. Looking into the Python documentation https://docs.python.org/3/library/re.html I have found out that the search patterns need to be supplied as raw strings: '^\d+' -> r'^\d+' or backslashes need to get quoted:

[Bug 2054869] Re: Lot of SyntaxWarning messages during install

2024-02-28 Thread corrado venturini
There were also other similar error reports: /usr/lib/rhythmbox/plugins/alternative-toolbar/alttoolbar_plugins.py:171: SyntaxWarning: invalid escape sequence '\(' translation = re.sub('\(..\)', '', translation, flags=re.DOTALL)

[Bug 2054869] Re: Lot of SyntaxWarning messages during install

2024-02-27 Thread Daniel van Vugt
I think some of the warnings are valid, but not all. What regular expression standard is being followed? If it's POSIX then valid values for QUOTED_CHAR are documented in https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html -- You received this bug notification because you

[Bug 2054869] Re: Lot of SyntaxWarning messages during install

2024-02-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: hplip (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2054869 Title: Lot