virt-manager depends on python-requests, no other python2 package

Bug #1825666 reported by Alberto Donato
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
virt-manager (Debian)
Fix Released
Unknown
virt-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Installing virt-manager installs python-requests which brings in python2.7 packages.

virt-manager itself depends on python3 packages and it seems everything is python3.
Should it perhaps depend on python3-requests instead?

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: virt-manager 1:2.0.0-3ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: GNOME
Date: Sat Apr 20 18:57:41 2019
InstallationDate: Installed on 2019-04-20 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
PackageArchitecture: all
SourcePackage: virt-manager
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Alberto Donato (ack) wrote :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

TL;DR: Nothing to do, it will resolve itself

---

Yep, should be all python3 since [1]
No Debian MP should be needed, but I neither found it as carried Delta without updating it in that regard.

Finally I realized why this is ok in git but not in the package.
There is already [2] in git, this will be solved with the next upload of the package.

[1]: https://salsa.debian.org/libvirt-team/virt-manager/commit/a5833ec35a
[2]: https://salsa.debian.org/libvirt-team/virt-manager/commit/e0748a3c5b

Changed in virt-manager (Ubuntu):
status: New → Fix Committed
Changed in virt-manager (Debian):
status: Unknown → Fix Committed
Revision history for this message
teur (teur) wrote :

python-requests dependency still exists in virt-manager 1:2.2.1-0ubuntu1 on Ubuntu 19.10

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Yeah, Debian didn't do an upload of a new version since quite some time so the change that I was waiting on to happen (in April) didn't arrive yet.

Thanks for the pin @teur

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I ensured that in a system I used virt-manager in I can autoremove

  libpython-stdlib libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib python
  python-asn1crypto python-certifi python-cffi-backend python-chardet python-cryptography
  python-enum34 python-idna python-ipaddress python-minimal python-openssl
  python-pkg-resources python-requests python-six python-urllib3 python2 python2-minimal
  python2.7 python2.7-minimal

And virt-manager still worked.
The MP is reviewed, lets upload it.
We can drop it once Debian does an upload.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

uploaded to Eoan, lets check migration in a bit

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virt-manager - 1:2.2.1-0ubuntu2

---------------
virt-manager (1:2.2.1-0ubuntu2) eoan; urgency=medium

  * d/control: Drop superfluous python-requests dependency (LP: #1825666)

 -- Christian Ehrhardt <email address hidden> Thu, 19 Sep 2019 12:14:56 +0200

Changed in virt-manager (Ubuntu):
status: Fix Committed → Fix Released
Changed in virt-manager (Debian):
status: Fix Committed → Fix Released
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.