Skip to content

Commit

Permalink
Downgrade to vanilla requests. (pantsbuild#4858)
Browse files Browse the repository at this point in the history
requests[security] has a dependency on pyopenssl, which is currently
triggering a depreaction due to an OpenSSL.rand call.

pyopenssl has fixed this issue in code, but is waiting for a maintainer
to return from vacation and cut a release.

In the meantime, the release cannot be completed with the current
dep due to the non-zero it raises.

      .7/site-packages/urllib3/contrib/pyopenssl.py:46: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead
  import OpenSSL.SSL
      **** Failed to install cryptography-2.0.3 (caused by: NonZeroExit("received exit code 1 during execution of

This was a CI-fix around ssl handshakes, and since the CI is currently having its own
issues, I figured we could unlock the release while we wait.

If this commit lands, it should be short-term and be undone once the
pyopenssl can be released.

References: pantsbuild#4856
  • Loading branch information
mateor authored Sep 12, 2017
1 parent 1f6029a commit c32ce82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3rdparty/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pystache==0.5.3
pytest-cov>=2.4,<2.5
pytest>=3.0.7,<4.0
pywatchman==1.3.0
requests[security]>=2.5.0,<2.19
requests==2.5.0,<2.19
scandir==1.2
setproctitle==1.1.10
setuptools==30.0.0
Expand Down

0 comments on commit c32ce82

Please sign in to comment.