Closed Bug 1167853 Opened 10 years ago Closed 10 years ago

requests 2.5.1 error during pip install

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nikola, Assigned: nikola)

Details

Attachments

(1 file)

44 bytes, text/x-github-pull-request
Details | Review
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.
Attached file 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
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: