Description of problem: python-cryptography started to FTBFS with latest OpenSSL 1.1.1-pre8. TestOpenSSL.test_openssl_assert_error_on_stack fails because there is an additional error on the error stack Version-Release number of selected component (if applicable): python-cryptography-2.3-1.fc29 openssl-1.1.1-0.pre8.2.fc29 How reproducible: Always Steps to Reproduce: 1. Run test suite 2. 3. Actual results: ________________ TestOpenSSL.test_openssl_assert_error_on_stack ________________ self = <test_openssl.TestOpenSSL object at 0x3ffd08e7160> def test_openssl_assert_error_on_stack(self): b = Binding() b.lib.ERR_put_error( b.lib.ERR_LIB_EVP, b.lib.EVP_F_EVP_ENCRYPTFINAL_EX, b.lib.EVP_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH, b"", -1 ) with pytest.raises(InternalError) as exc_info: _openssl_assert(b.lib, False) error = exc_info.value.err_code[0] > assert error.code == 101183626 E AssertionError: assert 337146240 == 101183626 E + where 337146240 = _OpenSSLErrorWithText(code=337146240, lib=20, func=391, reason=384, reason_text=b'error:14187180:SSL routines:ssl_do_config:bad value').code tests/hazmat/bindings/test_openssl.py:98: AssertionError Expected results: No error Additional info:
Upstream has added workarounds for the issue. Tests are now using the auto-negotiate SSLv23_method (aka TLS_method). The method does not trigger bug RHBZ#1615098. https://github.com/pyca/cryptography/pull/4389 https://github.com/pyca/cryptography/pull/4392
FTBFS fixed in build https://koji.fedoraproject.org/koji/taskinfo?taskID=29040784
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
python-cryptography no longer fails to build from source.