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

Wheel for Windows on arm64 #11199

Open
wezm opened this issue Jul 5, 2024 · 7 comments
Open

Wheel for Windows on arm64 #11199

wezm opened this issue Jul 5, 2024 · 7 comments

Comments

@wezm
Copy link

wezm commented Jul 5, 2024

There was previous discussion in #8148 regarding a Windows on ARM wheel. That was closed with these comments:

We won't ship a wheel for a platform we can't test in CI and GitHub does not currently offer arm64 windows runners. When they do we'll revisit this though! (see: pyca/pynacl#775 for some past discussion in another repo we own)

and

In the absence of some indication from gh that this is even on their roadmap, this is pretty inacationable for us, so I'm going toclose.

GitHub have announced arm runners: https://github.blog/2024-06-03-arm64-on-github-actions-powering-faster-more-efficient-build-systems/ and as an owner of one of the new Snapdragon X ARM laptops I'm keen to simplify installation on this system.

@alex
Copy link
Member

alex commented Jul 5, 2024

Github has arm64 Linux runners. They have not made any arm64 Windows runners available here, so there's nothing for us to do yet.

@reaperhulk
Copy link
Member

reaperhulk commented Jul 5, 2024

That’s not quite correct. They did announce both Linux and windows , but no OSS access for either.

If/when they extend support to OSS we’ll potentially revisit this. It is unfortunate that one part of MS is pushing a new architecture so heavily while another isn’t ready.

@alex
Copy link
Member

alex commented Jul 5, 2024 via email

@The-Aurora
Copy link

Hi, I am not well versed to installing packages for Python outside of using pip install.

Is there a way to install cryptography on a WoA machine with manual work involved?

Thanks.

@alex
Copy link
Member

alex commented Sep 22, 2024

As long as you have the requisite dependencies installed (OpenSSL and rust), pip install cryptography will automatically build from source.

@saschanaz
Copy link

You'll need vcpkg installation and vcpkg install openssl --target arm64-windows-static-md, that should allow local build.

@The-Aurora
Copy link

Thanks,

I have installed openssl manually and apparently I somehow clicked on "cancel" instead of "OK" when setting the OPENSSL_DIR env variable. As I noticed it was missing.

I then tried using vcpkg and set the VCPKG_ROOT variable to C:\vcpkg and that also didn't work. After using OPENSSL_DIR = "C:\vcpkg\installed\arm64-windows-static" (meant to use VCPKG_ROOT), it installed.

A rookie mistake I am sure that comes with not using something.

However, confirmation that going through the vcpkg route should work, made me to go through everything so thanks!

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

No branches or pull requests

5 participants