SyntaxWarnings with Python3.12
Bug #2029480 reported by
zdohnal
This bug affects 12 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Confirmed
|
Undecided
|
Unassigned | ||
bleachbit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
hplip (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
libreoffice (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
rhythmbox (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
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.
Changed in rhythmbox (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → Low |
To post a comment you must log in.
@zdohnal, thanks a lot for the patch, I have applied it now (with slight adjustments) to the Ubuntu package, fixing bug #2054869.