rattler
rattler copied to clipboard
libsolv-rs is choosing slightly older libgfortran5 (on macos-arm64)
When installing numpy on macOS ARM64, the new libsolv implementation picks libgfortran5-12.2.0-h0eea778_32.
Conda and mamba choose libgfortran5-12.3.0-ha3a6a3e_0.
I wonder if that has to do with libgfortran-5.0.0-12_3_0_hd922786_0 vs. libgfortran-5.0.0-12_2_0_hd922786_32. If we compare / sort by build number vs. build string we might pick the older one (because it has a much higer build number).
I think what happens is that first libgfortran-5.0.0-12_2_0_hXXX_32 is picked (also with micromamba).
With micromamba, the following happens:
- libgfortran-5.0.0 depends on
libgfortran5 >=11.3, and then libgfortran5-12.3.0 is selected (which has a constraint onlibgfortran *_0). Since we selected_32before, it backtracks, and selects the appropriate12_3_0_hXXX_0version. However, the rattler solver picks12.2immediately and doesn't do another round of backtracking.
A test-case that shows this behavior was added in #267
This issue has become quite stale, especially since we use resolvo most of the time. Would you mind if I close this?