[SRU] python3-wsme incorrectly depends on python-netaddr

Bug #1805125 reported by James Page
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-wsme (Ubuntu)
Fix Released
Medium
Unassigned
Bionic
Fix Released
Medium
James Page
Cosmic
Fix Released
Medium
James Page
Disco
Fix Released
Medium
Unassigned

Bug Description

[Impact]
Python get installed when its not required

[Test Case]
apt install python3-wsme

[Regression Potential]
Dep change only so low

[Bug Report]
On a python 3 only install of glance, python-netaddr gets installed due to an incorrect dependency in python3-wsme.

James Page (james-page)
Changed in python-wsme (Ubuntu Bionic):
status: New → Triaged
Changed in python-wsme (Ubuntu Cosmic):
status: New → Triaged
Changed in python-wsme (Ubuntu Disco):
status: New → Fix Released
importance: Undecided → Medium
Changed in python-wsme (Ubuntu Cosmic):
importance: Undecided → Medium
Changed in python-wsme (Ubuntu Bionic):
importance: Undecided → Medium
description: updated
James Page (james-page)
Changed in python-wsme (Ubuntu Bionic):
assignee: nobody → James Page (james-page)
Changed in python-wsme (Ubuntu Cosmic):
assignee: nobody → James Page (james-page)
Changed in python-wsme (Ubuntu Bionic):
status: Triaged → Fix Released
Changed in python-wsme (Ubuntu Cosmic):
status: Triaged → Fix Released
status: Fix Released → In Progress
Changed in python-wsme (Ubuntu Bionic):
status: Fix Released → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello James, or anyone else affected,

Accepted python-wsme into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-wsme/0.9.2-0ubuntu2.18.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in python-wsme (Ubuntu Cosmic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Changed in python-wsme (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello James, or anyone else affected,

Accepted python-wsme into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-wsme/0.9.2-0ubuntu2.18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
James Page (james-page) wrote :

bionic:~# apt install python3-wsme
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  ieee-data python3-netaddr python3-simplegeneric python3-simplejson python3-tz python3-webob
Suggested packages:
  ipython3 python-netaddr-docs python-webob-doc
The following NEW packages will be installed:
  ieee-data python3-netaddr python3-simplegeneric python3-simplejson python3-tz python3-webob python3-wsme
0 upgraded, 7 newly installed, 0 to remove and 38 not upgraded.
Need to get 1963 kB of archives.
After this operation, 12.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 ieee-data all 20180204.1 [1539 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-netaddr all 0.7.19-1 [213 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-simplegeneric all 0.8.1-1 [11.5 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-simplejson amd64 3.13.2-1 [49.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-tz all 2018.3-2 [25.1 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-webob all 1:1.7.3-2fakesync1 [64.3 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 python3-wsme all 0.9.2-0ubuntu2.18.04.1 [61.1 kB]
Fetched 1963 kB in 1s (2446 kB/s)
Selecting previously unselected package ieee-data.
(Reading database ... 28551 files and directories currently installed.)
Preparing to unpack .../0-ieee-data_20180204.1_all.deb ...
Unpacking ieee-data (20180204.1) ...
Selecting previously unselected package python3-netaddr.
Preparing to unpack .../1-python3-netaddr_0.7.19-1_all.deb ...
Unpacking python3-netaddr (0.7.19-1) ...
Selecting previously unselected package python3-simplegeneric.
Preparing to unpack .../2-python3-simplegeneric_0.8.1-1_all.deb ...
Unpacking python3-simplegeneric (0.8.1-1) ...
Selecting previously unselected package python3-simplejson.
Preparing to unpack .../3-python3-simplejson_3.13.2-1_amd64.deb ...
Unpacking python3-simplejson (3.13.2-1) ...
Selecting previously unselected package python3-tz.
Preparing to unpack .../4-python3-tz_2018.3-2_all.deb ...
Unpacking python3-tz (2018.3-2) ...
Selecting previously unselected package python3-webob.
Unpacking python3-webob (1:1.7.3-2fakesync1) ...
Selecting previously unselected package python3-wsme.
Preparing to unpack .../6-python3-wsme_0.9.2-0ubuntu2.18.04.1_all.deb ...
Setting up ieee-data (20180204.1)
Setting up python3-webob (1:1.7.3-2fakesync1) ...
Setting up python3-simplejson (3.13.2-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up python3-netaddr (0.7.19-1) ...
Setting up python3-tz (2018.3-2) ...
Setting up python3-wsme (0.9.2-0ubuntu2.18.04.1) ...

tags: added: verification-done-bionic
removed: verification-needed-bionic
Revision history for this message
James Page (james-page) wrote :
Download full text (3.7 KiB)

cosmic:~# apt install python3-wsme
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  ieee-data python3-netaddr python3-simplegeneric python3-simplejson python3-tz python3-webob
Suggested packages:
  ipython3 python-netaddr-docs python-webob-doc
The following NEW packages will be installed:
  ieee-data python3-netaddr python3-simplegeneric python3-simplejson python3-tz python3-webob python3-wsme
0 upgraded, 7 newly installed, 0 to remove and 11 not upgraded.
Need to get 2032 kB of archives.
After this operation, 12.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C
root@memcache-sru-testing-cosmic:~# apt-get install python3-wsme
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  ieee-data python3-netaddr python3-simplegeneric python3-simplejson python3-tz python3-webob
Suggested packages:
  ipython3 python-netaddr-docs python-webob-doc
The following NEW packages will be installed:
  ieee-data python3-netaddr python3-simplegeneric python3-simplejson python3-tz python3-webob python3-wsme
0 upgraded, 7 newly installed, 0 to remove and 11 not upgraded.
Need to get 2032 kB of archives.
After this operation, 12.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 ieee-data all 20180805.1 [1589 kB]
Get:2 http://archive.ubuntu.com/ubuntu cosmic/main amd64 python3-netaddr all 0.7.19-1 [213 kB]
Get:3 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 python3-simplegeneric all 0.8.1-2 [11.2 kB]
Get:4 http://archive.ubuntu.com/ubuntu cosmic/main amd64 python3-simplejson amd64 3.15.0-1build1 [50.3 kB]
Get:5 http://archive.ubuntu.com/ubuntu cosmic/main amd64 python3-tz all 2018.5-1 [24.9 kB]
Get:6 http://archive.ubuntu.com/ubuntu cosmic/main amd64 python3-webob all 1:1.8.2-2 [83.2 kB]
Get:7 http://archive.ubuntu.com/ubuntu cosmic-proposed/universe amd64 python3-wsme all 0.9.2-0ubuntu2.18.10.1 [61.1 kB]
Fetched 2032 kB in 1s (1942 kB/s)
Selecting previously unselected package ieee-data.
(Reading database ... 28291 files and directories currently installed.)
Preparing to unpack .../0-ieee-data_20180805.1_all.deb ...
Unpacking ieee-data (20180805.1) ...
Selecting previously unselected package python3-netaddr.
Preparing to unpack .../1-python3-netaddr_0.7.19-1_all.deb ...
Unpacking python3-netaddr (0.7.19-1) ...
Selecting previously unselected package python3-simplegeneric.
Preparing to unpack .../2-python3-simplegeneric_0.8.1-2_all.deb ...
Unpacking python3-simplegeneric (0.8.1-2) ...
Selecting previously unselected package python3-simplejson.
Preparing to unpack .../3-python3-simplejson_3.15.0-1build1_amd64.deb ...
Unpacking python3-simplejson (3.15.0-1build1) ...
Selecting previously unselected package python3-tz.
Preparing to unpack .../4-python3-tz_2018.5-1_all.deb ...
Unpacking python3-tz (2018.5-1) ...
Selecting previously unselected package python3-webob.
Preparing to unpack .../5-python3-webob_1%3a1.8.2-2_all.deb ...
Unpacking python3-webob...

Read more...

tags: added: verification-done verification-done-cosmic
removed: verification-needed verification-needed-cosmic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-wsme - 0.9.2-0ubuntu2.18.04.1

---------------
python-wsme (0.9.2-0ubuntu2.18.04.1) bionic; urgency=medium

  * d/control: Correct dependency on python3-netaddr for python3-wsme,
    avoiding needless install of Python 2 (LP: #1805125).

 -- James Page <email address hidden> Mon, 26 Nov 2018 11:24:16 +0000

Changed in python-wsme (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for python-wsme has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

This bug was fixed in the package python-wsme - 0.9.2-0ubuntu2.18.10.1

---------------
python-wsme (0.9.2-0ubuntu2.18.10.1) cosmic; urgency=medium

  * d/control: Correct dependency on python3-netaddr for python3-wsme,
    avoiding needless install of Python 2 (LP: #1805125).

 -- James Page <email address hidden> Mon, 26 Nov 2018 11:25:22 +0000

Changed in python-wsme (Ubuntu Cosmic):
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.