Skip to content
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

Pypy 7.3.3 does not install cryptography module (Dependancy of Paramiko) #5696

Closed
dhepherd1965 opened this issue Jan 15, 2021 · 8 comments
Closed

Comments

@dhepherd1965
Copy link

On using pip to install cryptography we get the following

ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly

This did and does work with the versions of pypy that were python 3.6 based.

Any help to a relative newbie would be appreciated.

platform is SLES12 SP4 with latest patches.

@alex
Copy link
Member

alex commented Jan 15, 2021

Are you using the latest pip version?

@mattip
Copy link

mattip commented Jan 19, 2021

What is the error? pypy3.7 -m pip install -v cryptography may give a little more information

@mattip
Copy link

mattip commented Jan 19, 2021

Would cryptography be open to adding a pypy3.7 wheel?

@alex
Copy link
Member

alex commented Jan 19, 2021 via email

@mattip
Copy link

mattip commented Jan 19, 2021

We will continue to support the pp73 ABI version for the visible future for python3. However PyPy does not support the stable ABI, so we would need a wheel for each python version of pypy. PyPI supports pypy uploads: see the numpy files (the second to last one).

@alex
Copy link
Member

alex commented Jan 19, 2021 via email

@mattip
Copy link

mattip commented Jan 19, 2021

We haven't talked about a stable API at all. I think it would be hard since that would freeze the current macro/function implementation to whatever is in place when we declare support for it, and there is still some cleanup to be done to bring us into line with CPython.

As for needing a wheel per PyPy release: that was not my intention, rather a wheel per python version. The pp73 abi has remained stable for quite a while,and we have no plans to change it. So until we get a stable API, you would need to make a new wheel for each python version. 3.7 is the only one worth supporting right now, 3.8 support will hopefully happen during 2021. Maybe by then we will have a stable API. In the mean time, it would be nice to offer a python 3.7 pypy73 wheel for mac, linux. For windows, perhaps hold off a bit as I intend to release a 64-bit version in March.

@alex
Copy link
Member

alex commented Feb 21, 2021

I'm going to close this in favor of #5806, which more directly speaks to the dresired outcome.

@alex alex closed this as completed Feb 21, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants