Skip to content

Conversation

@K20shores
Copy link
Contributor

This provides wheels for Windows with ARM for python 3.11+, excluding 3.14t

There's a package I use which depends on netcdf4. With this PR, netcdf4 would be provided for ARM based Windows.

@jswhit
Copy link
Collaborator

jswhit commented Dec 13, 2025

I see you used vcpkg for the netcdf and hdf5 libs, I guess because conda does not yet support windows arm (although progress is being made). Unfortunately, the vcpkg netcdf-c doesn't have support for compression plugins, so windows arm wheels will lack support for those also. Do we also need cftime windows arm wheels?

@K20shores
Copy link
Contributor Author

@jswhit probably, yes. It seems cftime was built automatically when the wheel was created:

    ---------------------------------------- 1.2/1.2 MB 31.1 MB/s  0:00:00
  Building wheels for collected packages: cftime
    Building wheel for cftime (pyproject.toml): started
    Building wheel for cftime (pyproject.toml): finished with status 'done'
    Created wheel for cftime: filename=cftime-1.6.5-cp311-cp311-win_arm64.whl size=458999 sha256=2589bf71af5d1a4d2e5c25aafc66bb808a13b8505753a3f4d49d7cb3ae10d94e
    Stored in directory: c:\users\runneradmin\appdata\local\pip\cache\wheels\08\3e\73\82443cd80de8a2617a45cdef61b24b9efad08dd149b4fc8065
  Successfully built cftime

I'll add a wheel build for that as well

@K20shores
Copy link
Contributor Author

@jswhit added the cftime build, also updated the dependencies in this PR to list numpy 2.3.0 explicitly for windows arm builds. I always forget that you can use the platform markers to do this stuff (PEP 508)

@K20shores
Copy link
Contributor Author

@jswhit would you like me to speed up the linux arm build? If you use the ubuntu-24.04-arm it doesn't have to cross compile and it's much, much faster

@jswhit
Copy link
Collaborator

jswhit commented Dec 16, 2025

yes, please - speeding up the linux aarch64 build would be great

@K20shores
Copy link
Contributor Author

@jswhit pushed

@K20shores
Copy link
Contributor Author

@jswhit is there anything more I need to do for this?

@jswhit
Copy link
Collaborator

jswhit commented Dec 20, 2025

looks good, thanks @K20shores

@jswhit jswhit closed this Dec 20, 2025
@jswhit jswhit reopened this Dec 20, 2025
@jswhit jswhit merged commit 95d4a98 into Unidata:master Dec 20, 2025
39 checks passed
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

Successfully merging this pull request may close these issues.

2 participants