Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947117 - net-p2p/deluge-2.1.1-r5 py3_13 missing RDEP dev-python/legacy-cgi-2.6.1
Summary: net-p2p/deluge-2.1.1-r5 py3_13 missing RDEP dev-python/legacy-cgi-2.6.1
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-12-28 14:49 UTC by immolo
Modified: 2025-01-06 04:23 UTC (History)
4 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 immolo 2024-12-28 14:49:09 UTC
When using py3_13 a runtime dep of dev-python/legacy-cgi is required for deluge.

deluge-gtk
Traceback (most recent call last):
  File "/usr/bin/deluge-gtk", line 8, in <module>
    sys.exit(start())
             ~~~~~^^
  File "/usr/lib/python3.13/site-packages/deluge/ui/gtk3/__init__.py", line 64, in start
    Gtk().start()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/deluge/ui/gtk3/__init__.py", line 45, in start
    from .gtkui import GtkUI
  File "/usr/lib/python3.13/site-packages/deluge/ui/gtk3/gtkui.py", line 50, in <module>
    from deluge.ui.tracker_icons import TrackerIcons
  File "/usr/lib/python3.13/site-packages/deluge/ui/tracker_icons.py", line 22, in <module>
    from deluge.httpdownloader import download_file
  File "/usr/lib/python3.13/site-packages/deluge/httpdownloader.py", line 9, in <module>
    import cgi
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-28 14:50:05 UTC
commit 3ce4ff6bb687a655ef7a5b9037d40b563c14b666
Author: Ian Jordan <immoloism@gmail.com>
Date:   Mon Sep 30 07:31:17 2024 +0100

    net-p2p/deluge: enable py3.13

    Closes: https://github.com/gentoo/gentoo/pull/38822
    Signed-off-by: Ian Jordan <immoloism@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

oops
Comment 2 immolo 2024-12-28 14:59:37 UTC
Oops indeed, PR later today.
Comment 3 Larry the Git Cow gentoo-dev 2025-01-06 04:23:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34269af263c30e86f329a6f03366f37922113f1d

commit 34269af263c30e86f329a6f03366f37922113f1d
Author:     Ian Jordan <immoloism@gmail.com>
AuthorDate: 2024-12-28 19:48:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-06 04:22:44 +0000

    net-p2p/deluge: Replace deprecated cgi module with email
    
    cgi module has been deprecated in Python 3.13 so switching to the email module
    which has been around since the 3.6 release.
    
    Closes: https://bugs.gentoo.org/947117
    Signed-off-by: Ian Jordan <immoloism@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-p2p/deluge/deluge-2.1.1-r6.ebuild              | 176 +++++++++++++++++++++
 .../files/deluge-2.1.1-email-module-replace.patch  |  95 +++++++++++
 2 files changed, 271 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit bee00c3ce26e3cafb359983a227f373f838905e5
Author:     Ian Jordan <immoloism@gmail.com>
AuthorDate: 2024-12-29 19:11:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-06 04:22:44 +0000

    net-p2p/deluge: disable py3.13
    
    Bug: https://bugs.gentoo.org/947117
    Signed-off-by: Ian Jordan <immoloism@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/39878
    Signed-off-by: Sam James <sam@gentoo.org>

 net-p2p/deluge/deluge-2.1.1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)