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

Possible to release wheel for python 3.13/macos 13/arm? #1385

Open
jameswilburlewis opened this issue Nov 12, 2024 · 6 comments
Open

Possible to release wheel for python 3.13/macos 13/arm? #1385

jameswilburlewis opened this issue Nov 12, 2024 · 6 comments

Comments

@jameswilburlewis
Copy link

NetCDF4 version 1.7.2 does not include a python 3.13 wheel for Mac OS 13/ARM. Would it be possible to add this to the release, to make it easily pip-installable for this platform?

@jswhit
Copy link
Collaborator

jswhit commented Nov 12, 2024

@jswhit
Copy link
Collaborator

jswhit commented Nov 12, 2024

Note that we cannot provide macosx 13 arm wheels since github actions only has macox 14 arm platform support (https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners)

@jameswilburlewis
Copy link
Author

Oh, I see! Wow, macosx 14 has only been out a little over a year, so I'm surprised github dropped support already for 13. Is there a reason that wheel can't be uploaded to pypi? Anyway, thanks for pointing me toward pythonhosted.org -- I can at least refer to that in our package's installation guide. (Installing from conda-forge also worked, but some users are reluctant to mix pip and conda....)

@jameswilburlewis jameswilburlewis changed the title Possible to release wheel for python 3.13/macos 13/amd? Possible to release wheel for python 3.13/macos 13/arm? Nov 12, 2024
@dopplershift
Copy link
Member

I was looking and it seems like numpy has arm64 wheels targetting macos >= 11. I was wondering how, and it looks like they build those on Cirrus: https://github.com/numpy/numpy/blob/main/tools/ci/cirrus_wheels.yml. Not sure who has the appetite to reproduce, let alone maintain, that, but there is a possibility for a motivated individual.

Is there a reason that wheel can't be uploaded to pypi? Anyway, thanks for pointing me toward pythonhosted.org

I'm confused, pythonhosted.org is just the link on the main PyPI page? I see it there:

Image

Installing from conda-forge also worked, but some users are reluctant to mix pip and conda....

It's a really bad idea to mix packages compiled for PyPI with those compiled with conda-forge. Best to use all or nothing, except in very specific circumstances (like a pure python package using pip).

@jameswilburlewis
Copy link
Author

The macosx_13 wheel is on pythonhosted.org, but I'm not seeing it on https://pypi.org/project/netCDF4/#files , and "pip install" on that platform can't find it, so tries to build locally from source.

@dopplershift
Copy link
Member

@jameswilburlewis The link posted by @jswhit above doesn't say macosx_13? it says macosx_14.

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

3 participants