Bug 1761081
Summary: | python-cryptography: Remove (sub)packages from Fedora 32+: python2-cryptography | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-cryptography | Assignee: | Jeremy Cline <jeremy> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cheimes, cstratak, igor.raits, itamar, jeremy, lbalhar, mhroncok, ngompa13, nick, npmccallum, pviktori, rbarlow, terrycwk1994, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-cryptography-2.6.1-3.fc32 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-14 08:32:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1760139, 1761194 | ||
Bug Blocks: | 1625773, 1698500, 1761082, 1761083, 1761084, 1761085 |
Description
Miro Hrončok
2019-10-12 10:20:36 UTC
python-cryptography-2.7-2.fc32.src.rpm FTBFS, see scratch build https://koji.fedoraproject.org/koji/taskinfo?taskID=38243094 Two tests are failing on F32, I'll investigate on Monday: =================================== FAILURES =================================== _____________________ TestDH.test_dh_parameters_supported ______________________ self = <tests.hazmat.primitives.test_dh.TestDH object at 0x7f14a6900730> backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x7f14c8dca100> def test_dh_parameters_supported(self, backend): assert backend.dh_parameters_supported(23, 5) > assert not backend.dh_parameters_supported(23, 18) E assert not True E + where True = <bound method Backend.dh_parameters_supported of <cryptography.hazmat.backends.openssl.backend.Backend object at 0x7f14c8dca100>>(23, 18) E + where <bound method Backend.dh_parameters_supported of <cryptography.hazmat.backends.openssl.backend.Backend object at 0x7f14c8dca100>> = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x7f14c8dca100>.dh_parameters_supported tests/hazmat/primitives/test_dh.py:161: AssertionError _____________ TestECDSACertificate.test_load_ecdsa_no_named_curve ______________ self = <tests.x509.test_x509.TestECDSACertificate object at 0x7f14a37a26a0> backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x7f14c8dca100> def test_load_ecdsa_no_named_curve(self, backend): _skip_curve_unsupported(backend, ec.SECP256R1()) cert = _load_cert( os.path.join("x509", "custom", "ec_no_named_curve.pem"), x509.load_pem_x509_certificate, backend ) with pytest.raises(NotImplementedError): > cert.public_key() E Failed: DID NOT RAISE <class 'NotImplementedError'> tests/x509/test_x509.py:3731: Failed test_load_ecdsa_no_named_curve is a known issue with OpenSSL 1.1.1d, https://github.com/pyca/cryptography/issues/4998 I can confirm that in the latest build, Python 2 subpackage has been removed. Fixed in python-cryptography-2.6.1-3.fc31, which also addresses FTBFS from #1761194 https://bodhi.fedoraproject.org/updates/FEDORA-2019-c69eb4cdb1 |