bzr 0.13 does not respect proxy env vars with urllib
Bug #74759 reported by
David Cournapeau
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Vincent Ladeuil |
Bug Description
I've just upgraded to bzr 0.13 from 0.12 on ubuntu (using packages from bzr website), and I cannot connect to any http repositories anymore. For example:
bzr branch http://
returns an error : Couldn't resolve host 'bazaar.
The problem is solved if I installed python-pycurl. Is python-pycurl a dependency ? It is not marked as such on the ubuntu package, I didn't need it with previous version of bzr, and to know that you need it is not obvious...
Changed in bzr: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
There is two implementations handling the http protocol: pycurl and urllib.
pycurl is an package distinct from bzr while urllib is pure python.
If the DNS error was transient (as the error message implies), it may be that using pycurl was not related to the bug, but pycurl do DNS caching so that may help.
Can you reproduce it ?
If you can, please use bzr branch http+urllib: //bazaar- vcs.org/ bzr/bzr. 0.13 to force the use of the urllib implementation and attach $HOME/.bzr.log and an ethereal dump.