aviso-fes icon indicating copy to clipboard operation
aviso-fes copied to clipboard

Conda package for osx-arm64?

Open peanutfun opened this issue 1 year ago • 3 comments

I cannot install pyfes because the package is only available for osx-64 architecture, but not osx-arm64. Unfortunately, this issue is obscured by the error message, which always reports that the package cannot be found:

$ mamba install pyfes -c fbriol

Looking for: ['pyfes']

conda-forge/osx-arm64                                       Using cache
conda-forge/noarch                                          Using cache
pkgs/r/osx-arm64                                              No change
pkgs/main/noarch                                              No change
pkgs/r/noarch                                                 No change
pkgs/main/osx-arm64                                           No change
fbriol/noarch                                                 No change
fbriol/osx-arm64                                              No change

Pinned packages:
  - python 3.10.*


Could not solve for environment specs
The following package could not be installed
└─ pyfes does not exist (perhaps a typo or a missing channel).

Since Apple switched to the arm64 architecture for its computers, there is a growing number of users that require software built for this architecture. Are there any plans to release pyfes packages compatible to arm64 on conda?

peanutfun avatar Sep 25 '23 13:09 peanutfun

Any updates on this issue? We would be very glad incorporate the FES14 tide model in our teaching material, but currently this Mac osx-arm64 issue is breaking our build.

FlorisCalkoen avatar Jan 30 '24 14:01 FlorisCalkoen

I found this information on cross-compiling packages for conda-forge, but I am not familiar enough with neither the setup of this repository nor conda-forge to come up with a PR: https://conda-forge.org/blog/2020/10/29/macos-arm64/

peanutfun avatar Jan 31 '24 11:01 peanutfun

I'm afraid the same holds for me. I'll see if I can do a little read up in the next days. Also I contacted someone I know at CNES to ask who is currently managing the PyFES builds. From somebody else I heard rumors that they are preparing a PyFES22 library, which is supposed to be more robust.

FlorisCalkoen avatar Feb 01 '24 18:02 FlorisCalkoen

This question is out of date. Please use the most recent version of this software. You can install it from Conda. The ARM package should be available soon.

fbriol avatar Jul 01 '24 13:07 fbriol

The new version of pyfes on osx/arm64 is available on conda-forge: https://anaconda.org/conda-forge/pyfes

fbriol avatar Jul 01 '24 15:07 fbriol

conda install -c conda-forge pyfes works as expected for Python 3.10+. Thanks a lot for the update @fbriol!

peanutfun avatar Jul 02 '24 08:07 peanutfun