virtualization script relys on a python3ism that isn't present in 14.04

Bug #1676585 reported by Jeff Lane on 2017-03-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Provider for Plainbox - Checkbox
High
Jeff Lane

Bug Description

Traceback (most recent call last):
  File "/tmp/nest-d_nz3pmh.7007398bb2463d62371992a24fe15a5c6a2024514a57448d1151ab0beae02024/virtualization", line 34, in <module>
    from requests.packages.urllib3.exceptions import NewConnectionError
ImportError: No module named 'requests.packages'

14.04
ii  python3-requests                       2.2.1-1ubuntu0.3

16.04
ii  python3-requests                       2.9.1-3

The line in question is this:
from requests.packages.urllib3.exceptions import NewConnectionError

Jeff Lane (bladernr) on 2017-03-27
Changed in plainbox-provider-checkbox:
assignee: nobody → Jeff Lane (bladernr)
status: Confirmed → In Progress
Jeff Lane (bladernr) on 2017-03-28
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Jeff Lane (bladernr) on 2017-04-17
Changed in plainbox-provider-checkbox:
milestone: none → 0.36.0
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers