lazr-restfulclient fails with ImportError: cannot import name 're_slash'

Bug #1803402 reported by Sorin Sbarnea
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

A new release of httplib2 renamed re_slash to re_unsafe and broke this library. See

There is no re_slash on current httplib2

  File ".../site-packages/lazr/restfulclient/", line 85, in <module>
    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.

Tags: dependencies
Sorin Sbarnea (ssbarnea)
summary: - lazr-restfulclient is incompativel with python3
+ lazr-restfulclient fails with ImportError: cannot import name 're_slash'
tags: added: dependencies
removed: py3
description: updated
Revision history for this message
Ian Wienand (iwienand) wrote :

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 :/


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.