You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
On Fri, Jul 5, 2024 at 8:44 AM Paul Kehrer ***@***.***> wrote:
That’s not quite correct. They did announce both Linux and windows , but nomOSS 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.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
--
All that is necessary for evil to succeed is for good people to do nothing.
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!
Reacted by Kagami Sascha Rosylight and Paul Kehrer
We, as a general policy, do not build wheels for platforms we don't test. There have been (very rare) exceptions to this, but we'll be waiting for GitHub (which, as a reminder, is a Microsoft-owned company!) to ship OSS Windows arm64 builders before we add wheels.
The new ARM runners are live as of yesterday. I think you have to cross-compile, though, as there's no binaries for rustup for windows ARM. I think you'll want to cross-compile for Windows ARM (which is easy), then test the wheels on the native runner.
(Because of the problems compiling Rust directly, this makes it really hard to use cryptography without pre-compiled wheels). I think I've managed to work around needed cryptography in pypa/cibuildwheel#2362.
Ah, that's good to know. In my use case I shouldn't be using HTTPS or SSL at all.. just http://localhost communication. Hopefully that'll avoid running into that crash issue.
Activity
alex commentedon 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 commentedon 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 commentedon Jul 5, 2024
The-Aurora commentedon Sep 22, 2024
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 commentedon Sep 22, 2024
As long as you have the requisite dependencies installed (OpenSSL and rust),
pip install cryptographywill automatically build from source.saschanaz commentedon Sep 22, 2024
You'll need vcpkg installation and
vcpkg install openssl --target arm64-windows-static-md, that should allow local build.The-Aurora commentedon Sep 22, 2024
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_ROOTvariable toC:\vcpkgand that also didn't work. After usingOPENSSL_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!
CanePlayz commentedon Oct 28, 2024
Here we can keep track:
github/roadmap#970
CanePlayz commentedon Jan 2, 2025
Runners are now planned for Q1 2025
alex commentedon Jan 2, 2025
I'm very excited, and will believe it when I see it :-)
ofek commentedon Mar 4, 2025
Is cross compilation infeasible?
reaperhulk commentedon Mar 4, 2025
We, as a general policy, do not build wheels for platforms we don't test. There have been (very rare) exceptions to this, but we'll be waiting for GitHub (which, as a reminder, is a Microsoft-owned company!) to ship OSS Windows arm64 builders before we add wheels.
alex commentedon Mar 24, 2025
This has (unsurprisingly) been deferred to Q2: github/roadmap#1098
henryiii commentedon Apr 15, 2025
The new ARM runners are live as of yesterday. I think you have to cross-compile, though, as there's no binaries for rustup for windows ARM. I think you'll want to cross-compile for Windows ARM (which is easy), then test the wheels on the native runner.
(Because of the problems compiling Rust directly, this makes it really hard to use cryptography without pre-compiled wheels). I think I've managed to work around needed cryptography in pypa/cibuildwheel#2362.
3 remaining items
refs #11199 attempt to test on windows arm64
alex commentedon Apr 15, 2025
Let's get this train rolling. Step 1, build OpenSSL: pyca/infra#686
henryiii commentedon Apr 15, 2025
FYI, I believe 3.9 is the oldest CPython supporting Windows on ARM (noticed 3.7 in the CI).
alex commentedon Apr 15, 2025
https://github.com/actions/partner-runner-images/issues/77 tracks getting rustup in the images themseles
refs #11199 attempt to test on windows arm64
juj commentedon Jun 25, 2025
I found myself blocked on this problem, when trying to set up Windows 11 ARM buildbot CI test runners for the Emscripten project.
Just wanted to comment that the following worked out as a workaround:
The steps here being
Maybe that can be of help to anyone googling their way into this error message.
saschanaz commentedon Jun 25, 2025
That way the build works, but eventually will give you openssl/openssl#27030
juj commentedon Jun 25, 2025
Ah, that's good to know. In my use case I shouldn't be using HTTPS or SSL at all.. just
http://localhostcommunication. Hopefully that'll avoid running into that crash issue.refs #11199 attempt to test on windows arm64
refs #11199 attempt to test on windows arm64
refs #11199 attempt to test on windows arm64
refs #11199 attempt to test on windows arm64 (#12770)