Summary: | dev-vcs/gitstats: needs upgrade to Python 3.12 (PythonCompatUpdate) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | 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
![]() ![]() ![]() ![]() 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.
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(-) |