CNES / aviso-fes

FES is the last version of the FES (Finite Element Solution) tide model.
https://cnes.github.io/aviso-fes
BSD 3-Clause "New" or "Revised" License
59 stars 24 forks source link

Conda package for osx-arm64? #20

Closed peanutfun closed 3 weeks ago

peanutfun commented 10 months ago

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?

FlorisCalkoen commented 5 months ago

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.

peanutfun commented 5 months ago

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/

FlorisCalkoen commented 5 months ago

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.

fbriol commented 3 weeks ago

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 commented 3 weeks ago

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

peanutfun commented 3 weeks ago

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