#1328 closed feature-request (Fixed)
Migrate Deluge to Python 3
Reported by: | John Garland | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | Unknown | Version: | |
Keywords: | py3 migrate | Cc: | shirishag75@gmail.com |
Description
It has to happen sooner or later.
Python 2.7 is the last major version in the 2.x series: http://python.org/download/releases/2.7/
This will also involve ditching setuptools in favour of distribute: http://packages.python.org/distribute/
Change History (8)
comment:1 by , 14 years ago
Type: | defect → feature-request |
---|
comment:2 by , 13 years ago
Version: | 1.3.0_dev |
---|
comment:3 by , 13 years ago
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.
follow-up: 5 comment:4 by , 13 years ago
Current state of dependencies for Python 3:
Note: Twisted still in development, Twisted Python 3 Plan
Core
- 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
- twisted.web.error - Yes
- twisted.web.resource - Yes
- twisted.web.client - Probably for GetPage and PartialDownloadError
- pyopenssl - Yes
- pyxdg - Yes
- chardet - Yes
Gtk
- twisted.internet.gtk2reactor -> gtk3reactor
- python-notify -> PyGObject
- pygame - Yes
- pygtk -> PyGObject
Web
- twisted.application
- twisted.application.service - Yes
- twisted.application.internet - Yes
- twisted.web
- twisted.web.server - Yes
- twisted.web.static - Yes
- mako Yes
Tests
- twisted.web.http - Almost
libtorrent
- boost - Yes
- bindings - Patches applied but untested
comment:5 by , 12 years ago
Replying to Cas:
Gtk
- 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 by , 12 years ago
Cc: | added |
---|
comment:7 by , 9 years ago
Milestone: | Future → 3.0 |
---|
comment:8 by , 3 years ago
Milestone: | 3.0 → 2.0.0 |
---|---|
Resolution: | → Fixed |
Status: | new → closed |
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.