-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make importable from Crypto and Cryptodome by default #613
Comments
Relevant issues in my packages: |
Any thoughts on this? |
@Evidlo Simply making it available under two namespaces might be difficult, as it will not allow the parallel usage of PyCrtypto and Pycryotodome. I could imagine the following: The Pycryptodomex continues to exist as before, but Pycryptodome changes to be a simple shim depending on Pycryptodomex. This ensures the Anyway I don't know if this is an issue at all. Debian does indeed use the |
What is the valid use case of continuing to support parallel installation of PyCrypto? It is unmaintained since 2014, does not run correctly on multiple counts with modern versions of python, does not build at all with current versions of setuptools, has various security vulnerabilities which will never be fixed, and as of the beginning of this year, has received the first commits in nearly a decade... which are an update to the README pointing people at pycryptodome, followed by archiving the repository. It's official. PyCrypto is so dead it's telling people that it is dead and should not be used. Victory has been achieved; all uses of It makes sense to take over that import namespace, have both versions provide both imports, and make one of the PyPI names into a "legacy name". |
Many modern packages depend on
pycryptodome
, which is recommended as the 'default' replacement forpycrypto
.As
pycryptodome
is a superset of the algorithms featured inpycrypto
, it's important for these packages that we don't accidentally importpycrypto
, otherwise things may break unexpectedly at runtime.This is normally what
pycryptodomex
package is for. However, most distributions don't bother packaging it:If
use_separate_namespace
is made True in setup.py, then the default package will provide both theCrypto
andCryptodome
modules, obviating the need forpycryptodomex
.The text was updated successfully, but these errors were encountered: