lazr-restfulclient fails with ImportError: cannot import name 're_slash'
Bug #1803402 reported by
Sorin Sbarnea
This bug report is a duplicate of:
Bug #1803558: launchpadlib not compatible with latest version of httplib2.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restfulclient |
New
|
Undecided
|
Unassigned |
Bug Description
A new release of httplib2 renamed re_slash to re_unsafe and broke this library. See https:/
There is no re_slash on current httplib2
```
File ".../site-
from httplib2 import _md5, re_url_scheme, re_slash
ImportError: cannot import name 're_slash'
Non-zero exit code (2) from test listing.
```
Code should be updated to work with httplib2>=0.12.0
Do we have a CI job that runs on lazr-restfulclient?
I already have the fix done but using bzr to contribute patches seems to be a deal breaker for sending it.
summary: |
- lazr-restfulclient is incompativel with python3 + lazr-restfulclient fails with ImportError: cannot import name 're_slash' |
tags: |
added: dependencies removed: py3 |
description: | updated |
To post a comment you must log in.
Sigh ... [1]; I guess it's questionable if this is considered an external interface or not, it's always better to do something like _ prefix things to make it clear though :/
[1] https:/ /github. com/httplib2/ httplib2/ commit/ 56b1fa36be8c3f2 51602b6be8486c7 b891085cce