control: clone -1 -2 control: reassign -2 pyopenssl control: retitle -2 AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
gaah actually cloning On Tue, Nov 8, 2016 at 9:08 AM, Sandro Tosi <mo...@debian.org> wrote: > control: clone -1 > control: reassign -1 python-cryptography > control: retitle -1 STOP BREAKING PYOPENSSL WHEN UPLOADING CRYPTOGRAPHY > >> from OpenSSL import rand, crypto, SSL >> File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 112, in >> <module> >> SSL_ST_INIT = _lib.SSL_ST_INIT >> AttributeError: 'module' object has no attribute 'SSL_ST_INIT' > > _lib in SSL.py comes from _utils.lib, which is: > > ``` > from cryptography.hazmat.bindings.openssl.binding import Binding > > binding = Binding() > binding.init_static_locks() > ffi = binding.ffi > lib = binding.lib > ``` > > and not surprisingly there was an update to python-cryptography > yesterday. my mirror still has the old version (1.5.2-1) and works > fine, you have installed 1.5.3-1 and it's broken. George, i'll try to > upgrade pyopenssl soon and taht will hopefully fix this. > > Tristan, this is the third or forth time you updated > python-cryptography and broke pyopenssl. This has to stop. now. and > forever. You've proved you're unable to deal with cryptography without > causing a huge about of issues to downstream packages, so learn to > test your reverse dependencies, even more in this case since > cryptography and pyopenssl are so tightly coupled, or orphan > cryptography and let a skillful maintainer pick it up. > > -- > Sandro "morph" Tosi > My website: http://sandrotosi.me/ > Me at Debian: http://wiki.debian.org/SandroTosi > G+: https://plus.google.com/u/0/+SandroTosi -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi G+: https://plus.google.com/u/0/+SandroTosi