[Python-modules-team] Bug#770246: python-urllib3: Import of package fails with error

Lee Begg lee at beggdigital.com
Thu Nov 20 00:23:35 UTC 2014

Package: python-urllib3
Version: 1.9.1-2
Severity: normal

Dear Maintainer,

The python-urllib3 package can't be used because it throws an exception. This also
affects requests since it uses urllib3. This could well be due to changes to pyopenssl.

Traceback follows:

File "/home/lee/personal/dev/inviddl/viddl/patterns.py", line 38, in <module>
    import requests
  File "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 68, in <module>
    _attach_namespace(urllib3, 'requests.packages')
  File "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 63, in _attach_namespace
    module = __import__(name)
  File "/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py", line 73, in <module>
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-urllib3 depends on:
ii  python-six  1.8.0-1
pn  python:any  <none>

Versions of packages python-urllib3 recommends:
ii  ca-certificates         20141019
ii  python-ndg-httpsclient  0.3.2-1
ii  python-openssl          0.14-1
ii  python-pyasn1           0.1.7-1

python-urllib3 suggests no packages.

-- no debconf information

More information about the Python-modules-team mailing list