please port ubuntu-system-service to Python3
Bug #1440388 reported by
Matthias Klose
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-system-service (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
There is still the goal to remove Python2 from the desktop images, and to use Python3 only. please port ubuntu-
Related branches
Changed in ubuntu-system-service (Ubuntu): | |
status: | New → Fix Committed |
assignee: | nobody → Didier Roche (didrocks) |
Changed in ubuntu-system-service (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Hi Didier,
I tried building system-service from the branch, and this is what I saw:
dpkg-buildpackage -rfakeroot -d -us -uc -S system- service system- service- 0.3 python3 --buildsystem python_distutils =python_ distutils =python_ distutils command import * command
dpkg-buildpackage: source package ubuntu-
dpkg-buildpackage: source version 0.3
dpkg-buildpackage: source distribution wily
dpkg-buildpackage: source changed by Steve Langasek <email address hidden>
dpkg-source --before-build ubuntu-
fakeroot debian/rules clean
dh "clean" --with translations,
dh_testdir -O--buildsystem
dh_auto_clean -O--buildsystem
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
Traceback (most recent call last):
File "setup.py", line 6, in <module>
from DistUtilsExtra.
ImportError: No module named DistUtilsExtra.
dh_auto_clean: python setup.py clean -a returned exit code 1
debian/rules:4: recipe for target 'clean' failed
make: *** [clean] Error 1
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
Is this the behavior you saw at the time you prepared this patch?
Since the package doesn't appear to be uploadable in its current state, resetting the bug status.