Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933212 - net-p2p/deluge needs upgrade to Python 3.12
Summary: net-p2p/deluge needs upgrade to Python 3.12
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paolo Pedroni
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-05-30 19:30 UTC by Anthony Lieuallen
Modified: 2024-06-03 02:49 UTC (History)
7 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 Anthony Lieuallen 2024-05-30 19:30:15 UTC
I saw the news ( https://www.gentoo.org/support/news-items/2024-05-09-python3-12.html ) about Python 3.12 becoming the default shortly.  If I try to early upgrade, I find that net-p2p/deluge does not support PYTHON_SINGLE_TARGET of 3.12.

Reproducible: Always
Comment 1 Paolo Pedroni 2024-05-31 08:54:52 UTC
I've been neglecting net-p2p/deluge support, lately, and I'm sorry for that, considering that it mostly 'just works'. Upstream is not much better, anyway. ;)

That said, at a cursory glance, nothing in the documentation says anything about compatibility problems with higher versions of python, thus, if noone else beats me to it, I'll soon try to build current stable with python-3.12 and post an update to the ebuild.

BTW, a question for 'real' mantainers: in this am I supposed to revbump, or can I add python-3.12 support to a stable version? I 'think' that I'm supposed to revbump and then stabilize, but I'm never sure.
Comment 2 opensauce04 2024-06-02 18:41:48 UTC
The Deluge package is currently not installable without changing PYTHON_TARGETS due to this issue not being addressed after the default was set to 3.12. Attempting to emerge Deluge produces this error:

The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 )
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-03 02:27:10 UTC
> 
> BTW, a question for 'real' mantainers: in this am I supposed to revbump, or
> can I add python-3.12 support to a stable version? I 'think' that I'm
> supposed to revbump and then stabilize, but I'm never sure.

For adding new USE_EXPAND like this, it's ok to do it in-place.
Comment 4 Larry the Git Cow gentoo-dev 2024-06-03 02:49:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ad8811f358afc502352bc933d74cf3dc0e2c3fe

commit 8ad8811f358afc502352bc933d74cf3dc0e2c3fe
Author:     Paolo Pedroni <paolo.pedroni@iol.it>
AuthorDate: 2024-05-31 13:24:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-03 02:39:13 +0000

    net-p2p/deluge: revbump for python-3.12 support
    
    Tests RESTRICTed because they need dev-python/python-twisted,
    which has no python-3.12 support.
    
    Closes: https://bugs.gentoo.org/933212
    Signed-off-by: Paolo Pedroni <paolo.pedroni@iol.it>
    Closes: https://github.com/gentoo/gentoo/pull/36918
    Signed-off-by: Sam James <sam@gentoo.org>

 net-p2p/deluge/deluge-2.1.1-r5.ebuild | 180 ++++++++++++++++++++++++++++++++++
 1 file changed, 180 insertions(+)