[tor-bugs] #23598 [Obfuscation/BridgeDB]: Bump pyOpenSSL in BridgeDB to 16.2.0

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 26 19:03:26 UTC 2017


#23598: Bump pyOpenSSL in BridgeDB to 16.2.0
----------------------------------+---------------------------
 Reporter:  gk                    |          Owner:  isis
     Type:  defect                |         Status:  closed
 Priority:  Medium                |      Milestone:
Component:  Obfuscation/BridgeDB  |        Version:
 Severity:  Normal                |     Resolution:  duplicate
 Keywords:                        |  Actual Points:  .1
Parent ID:                        |         Points:  .1
 Reviewer:                        |        Sponsor:  SponsorM
----------------------------------+---------------------------
Changes (by isis):

 * status:  needs_review => closed
 * points:   => .1
 * resolution:   => duplicate
 * sponsor:   => SponsorM
 * actualpoints:   => .1


Comment:

 Replying to [ticket:23598 gk]:
 > When doing e.g. `pip install -r .test.requirements.txt` (with OpenSSL
 1.1.0f) one gets

 Hi! Thanks for reporting this! I'm a little bit confused because
 `.test.requirements.txt` doesn't list `PyOpenSSL` as a dependency (the
 whole point of that file is so that the Travis CI setup can test a matrix
 of different versions of Twisted and PyOpenSSL, see the `install:` stanza
 in `.travis.yml` and the script at `scripts/install-dependencies` that it
 executes).

 > {{{
 > Traceback (most recent call last):
 >   File "/home/thomas/.virtualenvs/bridgedb/bin/pip", line 7, in <module>
 >     from pip import main
 >   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
 packages/pip/__init__.py", line 21, in <module>
 >     from pip._vendor.requests.packages.urllib3.exceptions import
 DependencyWarning
 >   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
 packages/pip/_vendor/__init__.py", line 64, in <module>
 >     vendored("cachecontrol")
 >   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
 packages/pip/_vendor/__init__.py", line 36, in vendored
 >     __import__(modulename, globals(), locals(), level=0)
 >   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/__init__.py",
 line 9, in <module>
 >   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/wrapper.py",
 line 1, in <module>
 >   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py",
 line 4, in <module>
 >   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/requests-2.12.4-py2.py3-none-any.whl/requests/__init__.py", line
 52, in <module>
 >   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/requests-2.12.4-py2.py3-none-
 any.whl/requests/packages/__init__.py", line 59, in <module>
 >   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/requests-2.12.4-py2.py3-none-
 any.whl/requests/packages/__init__.py", line 32, in vendored
 >   File "/home/thomas/.virtualenvs/bridgedb/share/python-
 wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/contrib/pyopenssl.py",
 line 47, in <module>
 >   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
 packages/OpenSSL/__init__.py", line 8, in <module>
 >     from OpenSSL import rand, crypto, SSL
 >   File "/home/thomas/.virtualenvs/bridgedb/lib/python2.7/site-
 packages/OpenSSL/SSL.py", line 105, in <module>
 >     SSL_ST_INIT = _lib.SSL_ST_INIT
 > AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
 > }}}
 > This is essentially https://github.com/pyca/pyopenssl/issues/525.

 The other thing is that the `PyOpenSSL` dependency listed in
 `requirements.txt` was updated as part of #22998 in commit `0ae12639c`.
 Sorry for the trouble! I'm closing as a duplicate, but feel free to reopen
 if I misunderstood.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23598#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list