Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove optional requests [security] package. #248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2015

Conversation

chriddyp
Copy link
Member

@chriddyp chriddyp commented Jul 3, 2015

requests[security] installs pyOpenSSL which installs the latest cryptography.
The latest cryptography fails to install on many mac environments with a traceback like:
dlopen(/Users/Chelsea/my_project_folder/venv/lib/python2.7/site-packages/cryptography/_Cryptography_cffi_a269d620xd5c405b7.so, 2): Library not loaded: libssl.1.0.0.dylib

When [security] is included, anyone upgrading plotly with the common:
$ pip install plotly --upgrade
or installing plotly fresh from a virtual environment will install the latest cryptography library
which has a high liklihood of breaking for mac users. Once cryptography is broken, everything
that depends on it, like pip, is also broken, which is difficult to get out of!

Hopefully the installation for cryptography on mac is remediable, and we can safely let users
upgrade their security when installing plotly.

cc @cldougl @theengineear @etpinard @aneda

requests[security] installs pyOpenSSL which installs the latest cryptography.
The latest cryptography fails to install on many mac environments with a traceback like:
dlopen(/Users/Chelsea/my_project_folder/venv/lib/python2.7/site-packages/cryptography/_Cryptography_cffi_a269d620xd5c405b7.so, 2): Library not loaded: libssl.1.0.0.dylib

When [security] is included, anyone upgrading plotly with the common:
$ pip install plotly --upgrade
or installing plotly fresh from a virtual environment will install the latest cryptography library
which has a high liklihood of breaking for mac users. Once cryptography is broken, everything
that depends on it, like pip, is also broken, which is difficult to get out of!

Hopefully the installation for cryptography on mac is remediable, and we can safely let users
upgrade their security when installing plotly.
@cldougl
Copy link
Member

cldougl commented Jul 3, 2015

💃

chriddyp added a commit that referenced this pull request Jul 3, 2015
Remove optional requests [security] package.
@chriddyp chriddyp merged commit 3d8c864 into master Jul 3, 2015
@chriddyp chriddyp deleted the dont_require_security branch July 3, 2015 21:05
@chriddyp
Copy link
Member Author

chriddyp commented Jul 3, 2015

** cryptography isn't actually the issue, looks like it is pyOpenSSL. Here is the issue: pyca/pyopenssl#290

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants