Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 929287

Summary: app-benchmarks/bootchart2: needs upgrade to Python 3.12 (PythonCompatUpdate)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 921826    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:27:27 UTC
This package does not support Python 3.12.  Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html.  Please check the information provided in the tracker.  Ask in #gentoo-python on IRC if need any help.
Comment 1 Pacho Ramos gentoo-dev 2024-06-18 14:50:34 UTC
I get lots of warnings like:
 * Optimize Python modules for /usr/lib/python3.12
/usr/lib/python3.12/site-packages/pybootchartgui/draw.py:472: SyntaxWarning: invalid escape sequence '\s'
/usr/lib/python3.12/site-packages/pybootchartgui/draw.py:511: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
/usr/lib/python3.12/site-packages/pybootchartgui/draw.py:609: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
/usr/lib/python3.12/site-packages/pybootchartgui/draw.py:472: SyntaxWarning: invalid escape sequence '\s'
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:454: SyntaxWarning: invalid escape sequence '\d'
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:523: SyntaxWarning: invalid escape sequence '\['
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:524: SyntaxWarning: invalid escape sequence '\S'
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:569: SyntaxWarning: invalid escape sequence '\@'
/usr/lib/python3.12/site-packages/pybootchartgui/draw.py:511: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
/usr/lib/python3.12/site-packages/pybootchartgui/draw.py:609: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:101: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
/usr/lib/python3.12/site-packages/pybootchartgui/draw.py:472: SyntaxWarning: invalid escape sequence '\s'
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:454: SyntaxWarning: invalid escape sequence '\d'
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:523: SyntaxWarning: invalid escape sequence '\['
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:524: SyntaxWarning: invalid escape sequence '\S'
/usr/lib/python3.12/site-packages/pybootchartgui/draw.py:511: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:569: SyntaxWarning: invalid escape sequence '\@'
/usr/lib/python3.12/site-packages/pybootchartgui/draw.py:609: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:101: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:454: SyntaxWarning: invalid escape sequence '\d'
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:523: SyntaxWarning: invalid escape sequence '\['
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:524: SyntaxWarning: invalid escape sequence '\S'
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:569: SyntaxWarning: invalid escape sequence '\@'
/usr/lib/python3.12/site-packages/pybootchartgui/parsing.py:101: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?

I am wondering if maybe we should simply drop this (as upstream looks dead for a long time too)