Summary: | x11-misc/menumaker: needs upgrade to Python 3.12 (PythonCompatUpdate) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | 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: | aether, doug-gentoo, DuPol, pacho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 921826 | ||
Attachments: |
x11-misc/menumaker-0.99.14-r1 (python 3.12 SyntaxWarning)
menumaker-0.99.14-python312-syntax-fix.patch |
Description
Michał Górny
2024-04-13 08:56:39 UTC
Created attachment 895031 [details] x11-misc/menumaker-0.99.14-r1 (python 3.12 SyntaxWarning) Hello, I added PYTHON_COMPAT=( python3_{10..12} ) and tried to build it with python3.12, it builds but show several "SyntaxWarning" about invalid escape sequence, see log. It might be possible to make a patch I think. https://adamj.eu/tech/2022/11/04/why-does-python-deprecationwarning-invalid-escape-sequence Created attachment 895032 [details, diff]
menumaker-0.99.14-python312-syntax-fix.patch
With this patch, it builds with python3.12 (and runs) without SyntaxWarning message.
I can confirm that this patch seems functional based on my limited testing and was able to unblock my Python 3.12 upgrade. The patch looks to have some issues:
>>> Preparing source in /var/tmp/portage/x11-misc/menumaker-0.99.14/work/menumaker-0.99.14 ...
* Applying menumaker-0.99.12-AM_PATH_PYTHON.patch ... [ ok ]
* Applying menumaker-0.99.12-py3.12.patch ...
(Stripping trailing CRs from patch; use --binary to disable.)
patching file Prophet/Debian/__init__.py
(Stripping trailing CRs from patch; use --binary to disable.)
patching file Prophet/Desktop/__init__.py
(Stripping trailing CRs from patch; use --binary to disable.)
patching file Prophet/Legacy/Development.py
(Stripping trailing CRs from patch; use --binary to disable.)
patching file Prophet/__init__.py
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 123 with fuzz 1. [ ok ]
* Running eautoreconf in '/var/tmp/portage/x11-misc/menumaker-0.99.14/work/menumaker-0.99.14' ...
* Running 'aclocal --system-acdir=/var/tmp/portage/x11-misc/menumaker-0.99.14/temp/aclocal' ... [ ok ]
* Running 'autoconf --force' ... [ ok ]
* Running 'automake --add-missing --copy --force-missing' ... [ ok ]
* Running elibtoolize in: menumaker-0.99.14/
|