[SRU] Package is missing python(3)-requests-toolbelt and python3-requests-unixsocket run-time dependency

Bug #1775238 reported by Corey Bryant
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
Medium
Unassigned
Queens
Fix Released
Medium
Unassigned
Rocky
Fix Released
Medium
Unassigned
python-pylxd (Ubuntu)
Fix Released
Medium
Unassigned
Bionic
Fix Released
Medium
Unassigned
Cosmic
Fix Released
Medium
Unassigned

Bug Description

[Impact]
As noted in comments 9 and 10 in https://bugs.launchpad.net/ubuntu/+source/python-pylxd/+bug/1754657, python(3)-pylxd is missing a run-time Depends on python(3)-requests-toolbelt. I've also noticed python3-requests-unixsocket is missing. Currently this affects Bionic and Cosmic. The Pike point release being provided via the above referenced bug is also affected.

[Test Case]
Ensure that appropriate python(3)-requests-toolbelt and python3-requests-unixsocket dependencies are installed as a result of install python(3)-pylxd.

[Regression Potential]
Very low. This just adds run-time depends.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Marking as medium as Image.create() is not used by nova-lxd.

Changed in python-pylxd (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
summary: - Package is missing python-requests-toolbelt run-time dependency
+ Package is missing python(3)-requests-toolbelt run-time dependency
description: updated
Changed in python-pylxd (Ubuntu Bionic):
status: New → Triaged
importance: Undecided → Medium
Changed in cloud-archive:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Package is missing python(3)-requests-toolbelt run-time dependency

This bug was fixed in the package python-pylxd - 2.2.6-0ubuntu2

---------------
python-pylxd (2.2.6-0ubuntu2) cosmic; urgency=medium

  * d/control: Add python(3)-requests-toolbelt to python(3)-pylxd Depends
    and set min version globally (LP: #1775238).

 -- Corey Bryant <email address hidden> Tue, 05 Jun 2018 14:33:05 -0400

Changed in python-pylxd (Ubuntu Cosmic):
status: Triaged → Fix Released
summary: - Package is missing python(3)-requests-toolbelt run-time dependency
+ [SRU] Package is missing python(3)-requests-toolbelt run-time dependency
description: updated
summary: - [SRU] Package is missing python(3)-requests-toolbelt run-time dependency
+ [SRU] Package is missing python(3)-requests-toolbelt and
+ python3-requests-unixsocket run-time dependency
description: updated
description: updated
description: updated
Revision history for this message
Corey Bryant (corey.bryant) wrote :

@ubuntu-sru, There are now 2 uploads in the Bionic unapproved queue. Please review the one with the following changelog and reject the other:

+python-pylxd (2.2.6-0ubuntu1.1) bionic; urgency=medium
+
+ * d/gbp.conf: Create stable/queens branch.
+ * d/control: Add python(3)-requests-toolbelt to python(3)-pylxd Depends
+ and python3-requests-unixsocket to python3-pylxd Depends. Also set min
+ version of toolbelt globally (LP: #1775238).
+
+ -- Corey Bryant <email address hidden> Tue, 05 Jun 2018 14:42:23 -0400

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Corey, or anyone else affected,

Accepted python-pylxd into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-pylxd/2.2.6-0ubuntu1.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!

Changed in python-pylxd (Ubuntu Bionic):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Corey, or anyone else affected,

Accepted python-pylxd into queens-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:queens-proposed
  sudo apt-get update

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-queens-needed to verification-queens-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-queens-failed. In either case, details of your testing will help us make a better decision.

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

tags: added: verification-queens-needed
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Tested this on xenial, with the cloud archive, and the following package details:

root@xenial-test:~# apt show python-pylxd
Package: python-pylxd
Version: 2.2.6-0ubuntu1.1~cloud0
Priority: optional
Section: python
Maintainer: Chuck Short <email address hidden>
Installed-Size: 304 kB
Depends: python-babel (>= 1.3), python-dateutil (>= 2.2), python-openssl (>= 0.13.1), python-pbr (>= 1.6), python-requests-toolbelt (>= 0.8.0), python-requests-unixsocket, python-six (>= 1.9.0), python-ws4py, python-cryptography, python-requests, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Supported: 60m
Download-Size: 40.3 kB
APT-Manual-Installed: yes
APT-Sources: http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-proposed/queens/main amd64 Packages
Description: Python library for interacting with LXD REST API
 LXD offers a REST API to remotely manage containers over the network,
 using an image based workflow and with support for live migration.
 .
 pylxd is a small Python library for interacting the with the
 LXD REST API.
 .
 This package contains the Python 2 module.

and

root@xenial-test:~# apt show python3-pylxd
Package: python3-pylxd
Version: 2.2.6-0ubuntu1.1~cloud0
Priority: optional
Section: python
Source: python-pylxd
Maintainer: Chuck Short <email address hidden>
Installed-Size: 305 kB
Depends: python3-babel (>= 1.3), python3-dateutil (>= 2.2), python3-openssl (>= 0.13.1), python3-pbr (>= 1.6), python3-requests-toolbelt (>= 0.8.0), python3-requests-unixsocket, python3-six (>= 1.9.0), python3-ws4py, python3-cryptography, python3-requests, python3:any (>= 3.3.2-2~)
Download-Size: 40.5 kB
APT-Manual-Installed: yes
APT-Sources: http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-proposed/queens/main amd64 Packages
Description: Python library for interacting with LXD REST API
 LXD offers a REST API to remotely manage containers over the network,
 using an image based workflow and with support for live migration.
 .
 pylxd is a small Python library for interacting the with the
 LXD REST API.
 .
 This package contains the Python 3 module.

Tested that pylxd loads, can access lxd, and that requests_toolbelt exists and can be used.

Note that this is on Xenial using the cloud-archive.

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

In bionic: these packages also test/install fine:

root@bionic-test:~# apt show python-pylxd
Package: python-pylxd
Version: 2.2.6-0ubuntu1
Priority: extra
Section: python
Origin: Ubuntu
Maintainer: Chuck Short <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 304 kB
Depends: python-babel (>= 1.3), python-dateutil (>= 2.2), python-openssl (>= 0.13.1), python-pbr (>= 1.6), python-requests-unixsocket, python-six (>= 1.9.0), python-ws4py, python-cryptography, python-requests, python-requests-toolbelt, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Homepage: http://pypi.python.org/pypi/pylxd
Supported: 5y
Download-Size: 40.0 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
Description: Python library for interacting with LXD REST API
 LXD offers a REST API to remotely manage containers over the network,
 using an image based workflow and with support for live migration.
 .
 pylxd is a small Python library for interacting the with the
 LXD REST API.
 .
 This package contains the Python 2 module.

root@bionic-test:~# apt show python3-pylxd
Package: python3-pylxd
Version: 2.2.6-0ubuntu1
Priority: extra
Section: universe/python
Source: python-pylxd
Origin: Ubuntu
Maintainer: Chuck Short <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 305 kB
Depends: python3-babel (>= 1.3), python3-dateutil (>= 2.2), python3-openssl (>= 0.13.1), python3-pbr (>= 1.6), python3-six (>= 1.9.0), python3-ws4py, python3-cryptography, python3-requests, python3-requests-toolbelt, python3-requests-unixsocket, python3:any (>= 3.3.2-2~)
Homepage: http://pypi.python.org/pypi/pylxd
Download-Size: 40.1 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
Description: Python library for interacting with LXD REST API
 LXD offers a REST API to remotely manage containers over the network,
 using an image based workflow and with support for live migration.
 .
 pylxd is a small Python library for interacting the with the
 LXD REST API.
 .
 This package contains the Python 3 module.

tags: added: verification-done verification-done-bionic verification-queens-done
removed: verification-needed verification-needed-bionic verification-queens-needed
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for python-pylxd 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-pylxd - 2.2.6-0ubuntu1.1

---------------
python-pylxd (2.2.6-0ubuntu1.1) bionic; urgency=medium

  * d/gbp.conf: Create stable/queens branch.
  * d/control: Add python(3)-requests-toolbelt to python(3)-pylxd Depends
    and python3-requests-unixsocket to python3-pylxd Depends. Also set min
    version of toolbelt globally (LP: #1775238).

 -- Corey Bryant <email address hidden> Tue, 05 Jun 2018 14:42:23 -0400

Changed in python-pylxd (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Corey Bryant (corey.bryant) wrote :

The verification of the Stable Release Update for python-pylxd has completed successfully and the package has now been released to -updates. 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
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package python-pylxd - 2.2.6-0ubuntu1.1~cloud0
---------------

 python-pylxd (2.2.6-0ubuntu1.1~cloud0) xenial-queens; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 python-pylxd (2.2.6-0ubuntu1.1) bionic; urgency=medium
 .
   * d/gbp.conf: Create stable/queens branch.
   * d/control: Add python(3)-requests-toolbelt to python(3)-pylxd Depends
     and python3-requests-unixsocket to python3-pylxd Depends. Also set min
     version of toolbelt globally (LP: #1775238).

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.