-
Notifications
You must be signed in to change notification settings - Fork 247
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
Wrong PyPy Windows wheel version number #817
Comments
To me it looks like you have a dirty directory when building PyPy, causing the version to be 0.2.7.dev0 instead of 0.2.6. Can you check a git status, or enable verbose and turn on debugging mode for your versioning tool (setuptools_scm)? You have [build_ext]
inplace=1 Which doesn't look great, but probably not the issue here. Do you really need |
Workaround for pypa/cibuildwheel#817
This looks to be more of a setuptools_scm issue, unless you can find something that cibuildwheel is doing to cause a dirty directory? Feel free to reopen if you have more information @dofuuz (git status, or enable verbose and turn on debugging mode for your versioning tool) |
I spent a long time trying to figure this out for Matplotlib. The Comparing the Python 3.9 vs PyPy 7.3.5 builds, the output appears to differ in creating the temporary directories. On Python, the normal directory path is used, but with PyPy, the path uses the DOS 8.3 name. I assume running a copy or git clone to that directory doesn't support symlinks somehow, but I was not able to reproduce in a Windows VM. pip is soon going to stop doing out-of-source building (pypa/pip#10495), so maybe enabling that will fix things? As I said, the source directory is clean, so building there should not mess with the version. |
You could try if this feature will solve this problem using |
I had already started that build in fact, and it looks to be successful: https://github.com/QuLogic/matplotlib/runs/3801482344?check_suite_focus=true#step:11:131 (no more |
@QuLogic Thanks for investigating this issue. 👍 pip 21.3 was released few days ago. And in-tree builds are now the default. |
No, manylinux is stuck in pypa/manylinux#1207 because TravisCI's saopaulo workers are broken and have been for about a week, and you can't pick what cluster you run on (if you find a way, then we could move forward). I've got conda-forge packages stuck too because the saopaulo workers are basically all free, because they die as soon as they need to access the internet, which then frees them up to take more jobs. (That's my guess, anyway). The bump action has been run twice, see #881, but we need to get manylinux updated and have a consistent pip version across all platforms. Same issue with PyPy too, that needs a bump to 7.3.6. PS: "No" as in it's already been run, and that's not the issue, that is. :) |
Apply fix of pypa/cibuildwheel#817
cibuildwheel generates PyPy Windows wheel with wrong version number.
https://github.com/dofuuz/python-soxr/runs/3535830912?check_suite_focus=true
expected:
soxr-0.2.6-pp37-pypy37_pp73-win_amd64.whl
It cause error when uploading to PyPI.
https://github.com/dofuuz/python-soxr/runs/3536447175?check_suite_focus=true
Github action .yaml is here:
https://github.com/dofuuz/python-soxr/blob/v0.2.6/.github/workflows/build-dist.yml
The text was updated successfully, but these errors were encountered: