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

Pre-built arm64 wheels for the PyPy interpreter #100

Open
wmtdru8xip opened this issue Aug 24, 2023 · 8 comments
Open

Pre-built arm64 wheels for the PyPy interpreter #100

wmtdru8xip opened this issue Aug 24, 2023 · 8 comments

Comments

@wmtdru8xip
Copy link

No description provided.

@YannickJadoul
Copy link
Owner

@wmtdru8xip, can you actually expand, please?

I do have pre-built wheels for PyPy uploaded to PyPI: https://pypi.org/project/praat-parselmouth/#files

@wmtdru8xip
Copy link
Author

wmtdru8xip commented Aug 24, 2023

(Sorry, I didn't notice there are pre-built wheels for other platforms.)
The pre-built binaries for PyPy on Darwin arm64 are absent.

@YannickJadoul YannickJadoul changed the title Pre-built wheels for the PyPy interpreter Pre-built arm64 wheels for the PyPy interpreter Aug 24, 2023
@YannickJadoul
Copy link
Owner

Hah, thanks for the update! Now it makes more sense.

I do unfortunately have bad news, regarding this. https://cibuildwheel.readthedocs.io/en/stable/ says

Cross-compilation not supported with PyPy - to build these wheels you need to run cibuildwheel on an Apple Silicon machine.

So unless GitHub Actions starts offering arm64-hosted machines (or someone gives me one!), I cannot build these, I'm afraid.

Do you know of other projects that offer binary wheels for PyPy, and how they do it?

I know there is one CI provider, Cirrus CI, which provides native ARM64, but this would cost some effort to setup, and they recently started limiting their free usage, so I do not think I can systematically compile and test there: https://cirrus-ci.org/blog/2023/07/17/limiting-free-usage-of-cirrus-ci/

@qimlisky
Copy link

In the Ubuntu container in termux, the Python 3.10 installation gets stuck in the Building wheel for praat-Parselmouth, can this be solved? ARM64.

@YannickJadoul
Copy link
Owner

In the Ubuntu container in termux, the Python 3.10 installation gets stuck in the Building wheel for praat-Parselmouth, can this be solved? ARM64.

Do you have any more details, @qimlisky? Which operating system, how are you building, where are things getting stuck?

@Levitate-CN
Copy link

In the Ubuntu container in termux, the Python 3.10 installation gets stuck in the Building wheel for praat-Parselmouth, can this be solved? ARM64.

(sorry for my bad English)I also got stuck when building wheel on raspberry pi os (arm64). But after I waited for half an hour, it finally built successfully.So I suggest you wait patiently for a while.

@YannickJadoul
Copy link
Owner

Thanks, @Levitate-CN! Good to know. I still hope to get the prebuilt wheels out at some point. GitHub actions does now have some native runners, so I should try that at some point.

(also, I could perfectly understand you, so no worries about the English!)

@Nick088Official
Copy link

Thanks, @Levitate-CN! Good to know. I still hope to get the prebuilt wheels out at some point. GitHub actions does now have some native runners, so I should try that at some point.

(also, I could perfectly understand you, so no worries about the English!)

About this, recently I had the same issue of it taking 40 mins for building (It's one of the requirements for my RVC on Termux Guide),
I made a pre-built wheel for Python 3.10 Aarch64 that could help people who are on termux,
I explained how I did it here and uploaded the wheel on huggingface (for some reason I couldn't on a GitHub Repository), and was able to download it via wget -O praat_parselmouth-0.4.4-cp310-cp310-linux_aarch64.whl "https://huggingface.co/Nick088/praat_parselmouth-termux/resolve/main/praat_parselmouth-0.4.4-cp310-cp310-linux_aarch64.whl?download=true" && pip3.10 install praat_parselmouth-0.4.4-cp310-cp310-linux_aarch64.whl
A friend of mine tested it too and seems to work fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants