With cryptography 3.4 Tox task fails on Azure Pipelines:
py3 run-test: commands[0] | /__w/1/s/.tox/py3/bin/ipa --help Traceback (most recent call last): File "/__w/1/s/.tox/py3/bin/ipa", line 5, in <module> from ipaclient.__main__ import main File "/__w/1/s/.tox/py3/lib/python3/site-packages/ipaclient/__main__.py", line 7, in <module> from ipalib import api, cli File "/__w/1/s/.tox/py3/lib/python3/site-packages/ipalib/__init__.py", line 921, in <module> from ipalib.frontend import Command, LocalOrRemote, Updater File "/__w/1/s/.tox/py3/lib/python3/site-packages/ipalib/frontend.py", line 31, in <module> from ipalib.parameters import create_param, Param, Str, Flag File "/__w/1/s/.tox/py3/lib/python3/site-packages/ipalib/parameters.py", line 125, in <module> from ipalib.x509 import ( File "/__w/1/s/.tox/py3/lib/python3/site-packages/ipalib/x509.py", line 88, in <module> class IPACertificate: File "/__w/1/s/.tox/py3/lib64/python3/site-packages/cryptography/utils.py", line 45, in register_decorator verify_interface(iface, klass) File "/__w/1/s/.tox/py3/lib64/python3/site-packages/cryptography/utils.py", line 84, in verify_interface raise InterfaceNotImplemented( cryptography.utils.InterfaceNotImplemented: <class 'ipalib.x509.IPACertificate'>.__ne__'s signature differs from the expected. Expected: <Signature (self, other: object) -> bool>. Received: <Signature (self, other)> ERROR: InvocationError for command /__w/1/s/.tox/py3/bin/ipa --help (exited with code 1)
https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst#34---2021-02-07
The problem is that IPA has to support both.
I have created upstream issue https://github.com/pyca/cryptography/issues/5774
Metadata Update from @cheimes: - Issue assigned to cheimes
I think this can be closed.
Problem is fixed by cryptography release 3.4.2.
Metadata Update from @cheimes: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.