Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929542 - dev-util/global: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: dev-util/global: needs upgrade to Python 3.12 (PythonCompatUpdate)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Naohiro Aota
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:44 UTC by Michał Górny
Modified: 2024-07-30 08:49 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:44:10 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 Naohiro Aota gentoo-dev 2024-06-26 13:43:58 UTC
Python is required only for the following pygments_parser.py. When I run it with python3.12, following warnings printed.

$ ./usr/share/gtags/script/pygments_parser.py
/dev/shm/portage/dev-util/global-6.6.12/image/./usr/share/gtags/script/pygments_parser.py:92: SyntaxWarning: invalid escape sequence '\s'
  tag = re.sub('\s+', '', tag)    # remove newline and spaces
/dev/shm/portage/dev-util/global-6.6.12/image/./usr/share/gtags/script/pygments_parser.py:161: SyntaxWarning: invalid escape sequence '\s'
  match = re.search(r'(\S+)\s+(\d+)\s+' + re.escape(path) + '\s+(.*)$', line)
Usage: pygments_parser.py [options]

pygments_parser.py: error: --langmap option not given

Upstream already fixed the issue with recent commits. I'm going to pick these patches and add python3.12 support.
Comment 2 Joakim Tjernlund 2024-07-28 14:59:07 UTC
ping?
Comment 3 Larry the Git Cow gentoo-dev 2024-07-30 08:49:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12726351846f2027d8486882ed3dd9b2f6fe54e3

commit 12726351846f2027d8486882ed3dd9b2f6fe54e3
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2024-07-30 08:14:38 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-07-30 08:48:01 +0000

    dev-util/global: add 6.6.13
    
    Closes: https://bugs.gentoo.org/929542
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 dev-util/global/Manifest             |   1 +
 dev-util/global/global-6.6.13.ebuild | 102 +++++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+)