Depends on Python 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uvtool |
Fix Committed
|
Wishlist
|
Robie Basak |
Bug Description
After fresh install of 18.04, I went to install uvt-kvm.
A big slew of dependencies came... many from python2 stack.
it may well be not much more than this:
http://
to move to python3. but a quick sniff failed to build due to:
02/12/2019 11:32:15 - ERROR:stderr: dpkg-source -i -I --before-build .
fakeroot debian/rules clean
dh: Compatibility levels before 9 are deprecated (level 7 in use)
dh_clean: Compatibility levels before 9 are deprecated (level 7 in use)
dpkg-source -i -I -b .
dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-
debian/rules build
dh: Compatibility levels before 9 are deprecated (level 7 in use)
dh_auto_
dh_auto_
dh_auto_
dh_auto_build: Compatibility levels before 9 are deprecated (level 7 in use)
dh_auto_build: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_build: This feature will be removed in compat 12.
Can't exec "pyversions": No such file or directory at /usr/share/
dh_auto_build: failed to run pyversions
make[1]: *** [debian/rules:8: override_
make: *** [debian/rules:4: build] Error 2
dpkg-
Related branches
- Christian Ehrhardt : Approve
- Canonical Server: Pending requested
-
Diff: 467 lines (+90/-80)8 files modifiedbin/uvt-kvm (+2/-2)
bin/uvt-simplestreams-libvirt (+2/-2)
uvtool/libvirt/__init__.py (+2/-2)
uvtool/libvirt/kvm.py (+49/-40)
uvtool/libvirt/simplestreams.py (+15/-11)
uvtool/ssh.py (+6/-7)
uvtool/tests/test_kvm.py (+7/-8)
uvtool/tests/test_simplestreams.py (+7/-8)
affects: | uvtool (Ubuntu) → uvtool |
summary: |
- move to python3 + Depends on Python 2 |
Changed in uvtool: | |
status: | Triaged → In Progress |
assignee: | nobody → Robie Basak (racb) |
Changed in uvtool: | |
status: | In Progress → Fix Committed |
This probably needs:
- dh $@ --with python2 pybuild
+ dh $@ --with python3 --buildsystem=