-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Missing arm build for linux #2673
Comments
There are prebuilt binaries. Also for linux maybe your timing was unlycky and the binary was not pushed yet but the source was? |
So, I tried removing the version specification in the Dockerfile (removing I've tried pulling the regular I can't check on my personal mac to see what would happen there, since I have rust installed. I do observe that when I |
Are you doing this on a Mac? @ghuls didn't we have this discussion on discord last week? |
I assume pip is too old and does not support binary wheels or does not use them by default.
|
I am going to add this one to the README! |
I think I realised the issue: I'm doing this on an arm mac. There are only prebuilt binaries for x86. Edit: You may be better off recommending me to build it myself by first installing rust. |
Just to backup my request with reasons: |
And for reference, the image is running pip 21.2.4, which is definitely new enough :) (just to be certain, I did try updating pip, and got the same result)
I think you want this instead :) The above one raises an error.
|
This github action lets you run on arm (aarch74) via emulation. Might be helpful for building. |
I have found the discussion I meant earlier. As I understand it you run docker on a https://forums.docker.com/t/run-x86-intel-and-arm-based-images-on-apple-silicon-m1-macs/117123 Now I am not really known of all target types. Do and can we precompile manylinux for arm chips? |
For mac we have already target |
I posted from mobile, so couldn't really test. But indeed that pip version is more than recent enough. It probably would be a problem for the previous version of debian. This also exists: Cross compiling with maturin does not seem to work yet (using zig): |
I believe it should work with: https://github.com/messense/maturin-action |
Here it is: From now on they will be included in every release. |
Wow! That was fast! Thank you!! |
@ghuls It does now! Implemented in PyO3/maturin#817. |
@messense So it will work in the next release of maturin? |
Yes, it's already released in a pre-release version so you can try it now: |
It does not seeem to work by default:
As it is missing some MacOS header files. Seems like zig fetch headers does not have them in: |
What header files are missing? Maybe we should report the issue to zig? |
At least this one:
|
Are you using Python or Rust?
Python
What version of polars are you using?
latest, 0.13.3
What operating system are you using polars on?
Debian 10
Describe your bug.
I'm trying to install polars in a python docker container, where rust/cargo is not installed.
We use these docker images regularly at work. During
pip install polars
, it raises the following error, that it requires rust. Is this correct?From the github readme, I do not get the impression that rust is a dependency, though I understand it is built using rust. My colleague was very surprised when I told him, and suggested I post here.
Error:
What are the steps to reproduce the behavior?
Save the following file as
Dockerfile
in a directory on your computer.From the above directory, call
docker build -t test-polars .
What is the actual behavior?
Error, as above
What is the expected behavior?
Either it should be made clear that rust is a dependency, or it should install without error :)
The text was updated successfully, but these errors were encountered: