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.
dev-python/unittest-or-fail is missing as a BDEPEND for tests. Locally I had tests passing, despite the github bug linked?
(In reply to Michael Cook from comment #1) > dev-python/unittest-or-fail is missing as a BDEPEND for tests. Locally I had > tests passing, despite the github bug linked? I don't think it is missing.
(In reply to Michael Cook from comment #1) > dev-python/unittest-or-fail is missing as a BDEPEND for tests. Locally I had > tests passing, despite the github bug linked? I don't think it is missing. 'distutils_enable_tests unittest' will add it.
(In reply to Michael Cook from comment #1) > Locally I had tests passing, despite the github bug linked? The bug is for a debug build (USE=debug) of Python (i.e. with assertions). The interesting question is if Python 3.11 with assertions fails or if it's new with 3.12. Given what greenlet does, I wouldn't want to handwave it away.
Besides, greenlet is a mess code-wise and we ought to really remove it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c713554254ced5e8faf0df9f9f4da2fda57aaa57 commit c713554254ced5e8faf0df9f9f4da2fda57aaa57 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-03 02:06:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-03 02:17:09 +0000 dev-python/greenlet: enable py3.12 Done with regret. It still fails tests with python[debug] but upstream seem content enough and folks are shipping wheels with Python 3.12 + greenlet, so it can't be *that* bad, I guess. People really need to stop using this though. Closes: https://bugs.gentoo.org/929456 Signed-off-by: Sam James <sam@gentoo.org> dev-python/greenlet/greenlet-3.0.3.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)