Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929561 - dev-vcs/gitstats: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: dev-vcs/gitstats: 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: Göktürk Yüksek
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)
2 users (show)

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


Attachments
Patch to use raw strings for regexes (fix-invalid-escapes.patch,1.33 KB, patch)
2024-06-15 02:31 UTC, Khumba
Details | Diff

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: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(-)