Depends on Python 2

Bug #1815637 reported by Scott Moser
8
This bug affects 1 person
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://paste.ubuntu.com/p/VWVJhwpYm7/

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-Maintainer field
   debian/rules build
  dh: Compatibility levels before 9 are deprecated (level 7 in use)
  dh_auto_configure: Compatibility levels before 9 are deprecated (level 7 in use)
  dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils
  dh_auto_configure: This feature will be removed in compat 12.
  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/perl5/Debian/Debhelper/Buildsystem/python_distutils.pm line 124.
  dh_auto_build: failed to run pyversions
  make[1]: *** [debian/rules:8: override_dh_auto_build] Error 2
  make: *** [debian/rules:4: build] Error 2
  dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Related branches

Revision history for this message
Robie Basak (racb) wrote :

This probably needs:

- dh $@ --with python2
+ dh $@ --with python3 --buildsystem=pybuild

Changed in uvtool (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 1815637] Re: move to python3

ack. a quick test gets that to actual python3 problems. ie, the build
change is correct, but upstream needs some changes. thanks.

On Tue, Feb 12, 2019 at 11:50 AM Robie Basak <email address hidden> wrote:
>
> This probably needs:
>
> - dh $@ --with python2
> + dh $@ --with python3 --buildsystem=pybuild
>
> ** Changed in: uvtool (Ubuntu)
> Status: New => Triaged
>
> ** Changed in: uvtool (Ubuntu)
> Importance: Undecided => Wishlist
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1815637
>
> Title:
> move to python3
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/uvtool/+bug/1815637/+subscriptions

Robie Basak (racb)
affects: uvtool (Ubuntu) → uvtool
Robie Basak (racb)
summary: - move to python3
+ Depends on Python 2
Revision history for this message
Robie Basak (racb) wrote :

From some experiments, it looks like Xenial's python3-libvirt may be problematic, old or need API changes. Trusty doesn't have the package. This may cause some issues with supporting older Ubuntu releases in the PPA, though it might be possible with dual compatible code and/or some smarter packaging or release process.

I intend to leave this for now, and look again next time.

Robie Basak (racb)
Changed in uvtool:
status: Triaged → In Progress
assignee: nobody → Robie Basak (racb)
Robie Basak (racb)
Changed in uvtool:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.