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

Bug 929561

Summary: dev-vcs/gitstats: needs upgrade to Python 3.12 (PythonCompatUpdate)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Göktürk Yüksek <gokturk>
Status: RESOLVED FIXED    
Severity: normal CC: amadio, bog
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 921826    
Attachments: Patch to use raw strings for regexes

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:44:24 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 Khumba 2024-06-15 02:31:52 UTC
Created attachment 895839 [details, diff]
Patch to use raw strings for regexes

Works for me with Python 3.12.  This patch fixes some new syntax warnings that appear because of invalid escape sequences.  These warnings are printed at the very start of the output when gitstats is run.
Comment 2 Larry the Git Cow gentoo-dev 2024-07-30 08:49:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=486c55ba97a201f95a09739806289129a076eb88

commit 486c55ba97a201f95a09739806289129a076eb88
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2024-07-30 08:26:34 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-07-30 08:48:02 +0000

    dev-vcs/gitstats: Support python 3.12
    
    Thanks-to: Khumba
    Closes: https://bugs.gentoo.org/929561
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../files/gitstats-0_pre20201124-py312.patch       | 44 ++++++++++++++++++++++
 dev-vcs/gitstats/gitstats-0_pre20201124.ebuild     |  9 +++--
 2 files changed, 50 insertions(+), 3 deletions(-)