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

Add conda build for ARM architectures #31

Open
camposandro opened this issue Oct 18, 2024 · 8 comments
Open

Add conda build for ARM architectures #31

camposandro opened this issue Oct 18, 2024 · 8 comments

Comments

@camposandro
Copy link

I noticed that conda is currently unable to resolve the latest hats v0.4.0 release in ARM-based architectures since no cds-healpix conda build exists for ARM Mac/Linux. From your previous releases on PyPI it seems like it's possible. Do you know if specifying those build platforms in conda-forge.yml would be enough to tackle this issue? Relates to #11.

@ManonMarchand
Copy link
Member

ManonMarchand commented Oct 18, 2024

Yes we got a ci failure during the release (see https://github.com/cds-astro/cds-healpix-python/actions/runs/11384977564). One of our dependencies (pyo3) took more than 6h to build.

It might potentially be fixed when PyO3/maturin#2256 is fixed.

@ManonMarchand
Copy link
Member

ManonMarchand commented Oct 18, 2024

Wait. You have an issue on MAC? This is unexpected, that part did not fail 😦
Can you confirm?

@camposandro
Copy link
Author

Yes, I'm testing on a Mac M2. Installing via pip works like a charm, while conda install conda-forge::cdshealpix is unable to resolve the package: PackagesNotFoundError: The following packages are not available from current channels: - conda-forge::cdshealpix.

@fxpineau
Copy link
Member

fxpineau commented Oct 18, 2024

No file corresponding to your needs here?
Which MacOS and Python versions do you have?
Oups ... with conda... thus here (not as easy to understand as pipy).

@fxpineau
Copy link
Member

True: contrary to pipy, we have never built conda packages (neither cdshealpix nor mocpy) for Mac with ARM processors,
check the list here.
We have to check how to include osx-arm64 to our conda-forge recipes...
Is it blocking for you (or not since you succeed with pypi)?

@fxpineau
Copy link
Member

Meanwhile, a (unsatisfactory) solution is to create a x64 conda environment, see this stackoverflow question.

@camposandro
Copy link
Author

It'd be great if we could have this on the short-term, but it isn't pressing. Thanks for having a look at it!

@fxpineau
Copy link
Member

As a first step, this PR on conda-forge must be accepted (not in my hands). So, wait and see....

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

No branches or pull requests

3 participants