Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929456 - dev-python/greenlet: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: dev-python/greenlet: 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: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:34 UTC by Michał Górny
Modified: 2024-06-03 02:25 UTC (History)
2 users (show)

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


Attachments

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:34:34 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 Michael Cook 2024-06-02 04:38:55 UTC
dev-python/unittest-or-fail is missing as a BDEPEND for tests. Locally I had tests passing, despite the github bug linked?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-02 04:42:26 UTC Comment hidden (obsolete)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-02 04:42:50 UTC
(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.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-02 04:43:33 UTC
(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.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-06-02 11:25:16 UTC
Besides, greenlet is a mess code-wise and we ought to really remove it.
Comment 6 Larry the Git Cow gentoo-dev 2024-06-03 02:25:05 UTC
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(-)