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

Skip to content

Commit a21a768

Browse files
committed
Remove optional requests [security] package.
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.
1 parent dffccb7 commit a21a768

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plotly/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.7.0'
1+
__version__ = '1.7.2'

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def readme():
4242
'plotly/matplotlylib/mplexporter',
4343
'plotly/matplotlylib/mplexporter/renderers'],
4444
package_data={'plotly': ['graph_reference/*.json', 'widgets/*.js']},
45-
install_requires=['requests[security]', 'six', 'pytz'],
45+
install_requires=['requests', 'six', 'pytz'],
4646
extras_require={"PY2.6": ['simplejson', 'ordereddict',
47-
'requests[security]']},
47+
'requests']},
4848
zip_safe=False)

0 commit comments

Comments
 (0)