-
Notifications
You must be signed in to change notification settings - Fork 124
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 python 3.10 pip install pycapnp failed #364
Comments
kvelicka
added a commit
to kvelicka/pycapnp
that referenced
this issue
Sep 24, 2024
This fixes build issues for installations that cannot use wheels published on PyPI. Issue capnproto#364 would be fixed by this. Python build tools like `python -m build` first build a source distribuiton (sdist) and then use it (and only it) to build a binary wheel from. This doesn't work if one of the build scripts isn't in the sdist however, which was the case prior to this patch.
haata
pushed a commit
that referenced
this issue
Sep 25, 2024
This fixes build issues for installations that cannot use wheels published on PyPI. Issue #364 would be fixed by this. Python build tools like `python -m build` first build a source distribuiton (sdist) and then use it (and only it) to build a binary wheel from. This doesn't work if one of the build scripts isn't in the sdist however, which was the case prior to this patch.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The pypy version is PyPy 7.3.16 for python 3.10, pip version is 24.2
I did some experiments and find following:
Problems:
_custom_build
is not in tarball, so pyproject.toml cannot import itpython -m build .
will failed to build wheelpython setup.py bdist_wheel
will work as expected and I think setup,py is still the valid way to building wheel, but user even dopip install --no-use-pep517 pycapnp
will still not work. so user with any python will need git clone and compile and build wheel by themselves.Below is the error log for problem 1, select a python version that doesn't have wheel and upgrade to latest pip, and do below:
Below is the error log when git clone and do
python -m build .
Here is the error log when doing
pip install --no-use-pep517 pycapnp
:The text was updated successfully, but these errors were encountered: