requests 2.5.1 error during pip install

RESOLVED FIXED

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: nikola, Assigned: nikola)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150513174244

Steps to reproduce:

Followed instructions on http://kitsune.readthedocs.org/en/latest/hacking_howto.html


Actual results:

When installing requirements

  pip install -r requirements/default.txt

Traceback (most recent call last):
  File "/home/nikola/projects/mozilla/kitsune/venv/bin/pip", line 7, in <module>
    from pip import main
  File "/home/nikola/projects/mozilla/kitsune/venv/local/lib/python2.7/site-packages/pip/__init__.py", line 11, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/home/nikola/projects/mozilla/kitsune/venv/local/lib/python2.7/site-packages/pip/vcs/mercurial.py", line 9, in <module>
    from pip.download import path_to_url
  File "/home/nikola/projects/mozilla/kitsune/venv/local/lib/python2.7/site-packages/pip/download.py", line 22, in <module>
    from pip._vendor import requests, six
  File "/home/nikola/projects/mozilla/kitsune/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py", line 53, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/home/nikola/projects/mozilla/kitsune/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py", line 70, in <module>
    ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'



Expected results:

Dependencies should be installed without error.
(Assignee)

Comment 1

3 years ago
Created attachment 8609744 [details] [review]
Github pull request

Bumping requests to 2.5.3 fixes this issue: https://github.com/beenje/script.module.requests/issues/5
Deployed into Production
Assignee: nobody → nikola
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.