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

Prebuilt wheels for arm64 #341

Closed
exciteabletom opened this issue May 6, 2021 · 7 comments
Closed

Prebuilt wheels for arm64 #341

exciteabletom opened this issue May 6, 2021 · 7 comments

Comments

@exciteabletom
Copy link

Hello,

It would be awesome to have prebuilt binaries for arm64, compiling the wheel on old Raspberry Pis is a hassle.

I have no experience with Azure pipelines so I won't make a PR, but I think the solution is simply changing architectures: [x64, x86] to architectures: [x64, x86, arm64] in azure-pipelines.yml.

Cheers

@asottile
Copy link
Member

asottile commented May 6, 2021

unfortunately before there is a specified standard for arm wheels in manylinux I won't be providing potentially non-complaint wheels (I understand that pypi allows you to upload them, but there isn't proper auditwheel tooling for arm yet)

you may be able to use piwheels though which builds specifically for your usecase: https://www.piwheels.org/simple/libsass/

@asottile asottile closed this as completed May 6, 2021
@asottile
Copy link
Member

asottile commented May 6, 2021

also azure pipelines does not support anything but x86_64 at the moment

@exciteabletom
Copy link
Author

Thanks for the help Anthony!

@kraptor
Copy link

kraptor commented Nov 7, 2024

I think people keep opening new bugs related to this one (as I did) because this one is closed and doesn't appear when searching for open bugs (why closing if not solved/implemented?).

In any case, the two mentioned issues, @asottile, seem to be sorted out as of today:

What I'm not aware is... does Azure not provide ARM64 runners for opensource projects? Is it paid? How can we help to add the pipeline for ARM64 on your behalf?

Thanks!

@billcrook
Copy link

billcrook commented Nov 8, 2024

FTR, another workaround is to install sass as a system package and set an env flag (SYSTEM_SASS=1) for libsass to use it. This worked for me:

apt-get install libsass1 libsass-dev
env SYSTEM_SASS=1 pip wheel --no-cache-dir --no-deps --wheel-dir=/wheels libsass

libsass-dev is probably not needed, but I haven't tested it yet.

@aek
Copy link

aek commented Nov 26, 2024

I have made a wheel for 0.22.0 since it was taking too long to install it from source and I need it for use it in a Docker Alpine image with arch64 so it must be compatible with musl tags and target platform

You could use it from:
https://pypi.org/project/libsass-wheel/

pip install libsass-wheel

this one works for me:
https://files.pythonhosted.org/packages/f6/51/b8c5e44aecb8789d2ac5d57dc6fd0b788ee3dd93d131a29a723ed581dea9/libsass_wheel-0.22.0-cp312-abi3-musllinux_1_2_aarch64.whl

@aek
Copy link

aek commented Nov 27, 2024

I also have go and build several more versions that are dependencies with other softwares that I deploy on different versions. If you need any other particular wheel around this just ping me

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