Opened 14 years ago

Closed 2 years ago

Last modified 5 months ago

#1328 closed feature-request (Fixed)

Migrate Deluge to Python 3

Reported by: johnnyg Owned by:
Priority: minor Milestone: 2.0.0
Component: Unknown Version:
Keywords: py3 migrate Cc:


It has to happen sooner or later.

Python 2.7 is the last major version in the 2.x series:

This will also involve ditching setuptools in favour of distribute:

Change History (9)

comment:1 Changed 13 years ago by Cas

  • Type changed from defect to feature-request

comment:2 Changed 13 years ago by Cas

  • Version 1.3.0_dev deleted

Should we maybe consider moving to distribute for 1.4 then? It would make it one less step when Twisted and other libraries are finally migrated to Py3.

comment:3 Changed 13 years ago by damoxc

This involves diddly squat on our behalf WRT to distribute. distribute is a drop-in replacement for setuptools. Ubuntu has already switched to it, as has arch.

Twisted is going to be our biggest problem. I can't think of many others off the top of my head that will be a huge issue.

comment:4 follow-up: Changed 13 years ago by Cas

Current state of dependencies for Python 3:

Note: Twisted still in development, Twisted Python 3 Plan


  • twisted.internet
    • twisted.internet.defer - Yes
    • twisted.internet.error - Yes
    • twisted.internet.reactor - Yes
    • twisted.internet.threads - Yes
    • twisted.internet.ssl - Yes
    • twisted.internet.task - Yes
    • twisted.internet.protocol - Yes
    • twisted.internet.utils Yes
  • twisted.python
    • twisted.python.log - Yes
    • twisted.python.failure - Yes
  • twisted.trial
    • twisted.trial import unittest - Yes
  • twisted.web
  • pyopenssl - Yes
  • pyxdg - Yes
  • chardet - Yes


  • twisted.internet.gtk2reactor -> gtk3reactor
  • python-notify -> PyGObject
  • pygame - Yes
  • pygtk -> PyGObject


  • twisted.application
    • twisted.application.service - Yes
    • twisted.application.internet - Yes
  • twisted.web
    • twisted.web.server - Yes
    • twisted.web.static - Yes
  • mako Yes


  • twisted.web.http - Almost


  • boost - Yes
  • bindings - Patches applied but untested
Last edited 8 years ago by Cas (previous) (diff)

comment:5 in reply to: ↑ 4 Changed 12 years ago by mk.fg

Replying to Cas:


  • python-notify - No
  • pygame - Yes
  • pygtk - Needs port to PyGObject

"python-notify" should probably be also listed as "Needs port to PyGObject" - "from gi.repository import Notify" can be used as an almost drop-in replacement for pynotify.

comment:6 Changed 12 years ago by shirish

  • Cc added

comment:7 Changed 9 years ago by Cas

  • Milestone changed from Future to 3.0
Last edited 8 years ago by Cas (previous) (diff)

comment:8 Changed 2 years ago by Cas

  • Milestone changed from 3.0 to 2.0.0
  • Resolution set to Fixed
  • Status changed from new to closed

comment:9 Changed 5 months ago by sandrawaddell

You are correct! Can you recommend any other resources for learning more about programming in Python?

blossom word game

Note: See TracTickets for help on using tickets.