Open
Bug 1148983
Opened 11 years ago
Updated 11 years ago
failed to import extension bzexport 'module' object has no attribute 'PROTOCOL_SSLv3'
Categories
(Developer Services :: Mercurial: bzexport, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: glandium, Unassigned)
Details
My ~/.hgrc has this:
[extensions]
bzexport = ~/mozilla/version-control-tools/hgext/bzexport
$ python
Python 2.7.9 (default, Mar 1 2015, 12:57:24)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from mercurial import ui, hg
>>> r = hg.peer(ui.ui(), {}, '/home/glandium/mozilla-central')
*** failed to import extension bzexport from ~/mozilla/version-control-tools/hgext/bzexport: 'module' object has no attribute 'PROTOCOL_SSLv3'
/home/glandium/mozilla-central is my clone of m-c that I use to push to elm.
| Reporter | ||
Comment 1•11 years ago
|
||
That comes from the urllib3 copy that comes with requests:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770172
| Reporter | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Python 2.7.9 and SSL are still a crapshoot. I've been preaching to avoid 2.7.9 until other packages get their act together. There have been a few releases of urllib3 and requests since 2.7.9 came out. It might be OK if we're using up-to-date packages.
I've purposefully kept requests in version-control-tools pinned back because newer versions weren't playing well with e.g. docker-py. It's a giant mess.
You need to log in
before you can comment on or make changes to this bug.
Description
•