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