Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: python-matrix-nio currently has a runtime dependency on python3-crypto, which I maintain in Fedora. Upstream of this package (https://www.pycrypto.org/) has long since stopped maintaining it and I would like to drop it from Fedora. Upstream of python-matrix-nio has already switched to python-pycryptodome but this cannot currently be packaged in Fedora because it would conflict with python-crypto due to it using the same namespace. However, python-pycryptodomex, which uses the "Cryptodome" rather than the "Crypto" namespace is available in Fedora and could be used. In fact the current spec already tweaks the pyproject.toml to specify pycryptodomex rather than pycryptodome. To actually use pycryptodomex, it would be necessary to change a few imports in the code, basically like this: sed -e 's/^from Crypto/from Cryptodome/' and change the dependencies from python3-crypto to python3-pycryptodomex. Please consider applying such a change in Fedora so that python-crypto gets nearer to being able to be retired.
Thanks for this, Paul. I'll update the package ASAP.
FEDORA-2022-7e171574e1 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7e171574e1
FEDORA-2022-7e171574e1 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.