-
Notifications
You must be signed in to change notification settings - Fork 162
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
Linux ARM support #240
Comments
Hi @thomasaarholt , thanks for the issue. The source file on pypi is not ready yet so we have removed it from our new alpha version. We are working on it. |
Feel free to ping me if you need any help. |
Hi @messense , can you please help to check this error (build wheel for arm linux): https://github.com/sfu-db/connector-x/runs/5337702956?check_suite_focus=true ? I have no idea how to fix it. The yaml file can be found here. Thank you! |
@wangxiaoying Try add |
This is harder than we thought since you have system dependencies which aren't present in maturin-action's cross compilation docker images(they are based on Ubuntu 20.04). connector-x/.github/workflows/release.yml Line 46 in fd7a61d
And connector-x/.github/workflows/release.yml Line 12 in fd7a61d
forces x86_64 so you may need to change to use QEMU and switch to the official aarch64 manylinux docker image instead, but it's gonna be at least 6x slow on CI. It will be much easier if we're statically link system dependencies. |
For now the easiest way forward is to use a CI with native ARM support for example https://www.drone.io/ |
Thank you so much! I will take a look at this. |
Has anyone taken a look at this since February? I just met this again now - installing connectorx succeeds on aarch64, but it is not importable, resulting in the same error as in the first post. |
Hi @thomasaarholt , we are now successfully supporting apple m1 with wheel files. But still having issue to cross compile for linux arm. Currently the only way to install connector-x on linux arm is to build it from source: https://sfu-db.github.io/connector-x/install.html#build-from-source-code |
Sorry for bumping this, but I find it more adequate than creating yet another issue (in addition to #186, #386, and #240). I understand there was an attempt to build ARM releases, but it was removed at 739b8b5, but I can't really tell why. Do you need help figuring out the ARM gh action @wangxiaoying? Is there something we can do? |
Yes, the previous PR for supporting aarch platform was failed (more details here). We are still looking for help on this one. Unfortunately, the logs for the previous actions are already expired. But I think you can fork the repo and test the gihub action ( |
Hey @wangxiaoying, I've tried to get CI workflow up for Linux ARM and so far I am able to do so when I completely remove I've tried many different strategies (using features functionality, installing pre-requisite tools, conditional dependencies etc.) but unfortunately when cross-compiling for Linux ARM, I was able to build the wheel and verify it successfully using manylinux2_28 without So technically it is possible to get something up for Linux ARM running on more recent OSes if we were to forgo the system authentication feature for MSSQL, however given that I can't get the conditional dependencies definitions in |
This is same as #237, but for linux.
Polars added linux arm support a few days ago (issue) (PR), which will also be wanted here, since Docker images running on M1 macs will be running arm architecture as well.
connectorx successfully installs in my arm docker image when I run
pip install connectorx
, but then fails when I try to import it:If I require it to use the binary from pypi, then it does not find a match:
pip install -U connectorx --only-binary connectorx ERROR: Could not find a version that satisfies the requirement connectorx (from versions: none) ERROR: No matching distribution found for connectorx
The text was updated successfully, but these errors were encountered: