conda-forge / miniforge

A conda-forge distribution.
https://conda-forge.org/miniforge
Other
6.25k stars 323 forks source link

Update to conda 23.10 and mamba 1.5.3 #496

Closed hmaarrfk closed 10 months ago

hmaarrfk commented 1 year ago

Checklist

hmaarrfk commented 1 year ago

@conda-forge/boa I'm curious why the solver can't find a solution for boa and mamba 1.5.1

https://github.com/conda-forge/boa-feedstock/blob/main/recipe/meta.yaml#L27


+ mamba install mamba=1.5.1 'python=3.10.*=*_cpython' boa --yes

Looking for: ['mamba=1.5.1', 'python=3.10[build=*_cpython]', 'boa']

Could not solve for environment specs
The following packages are incompatible
├─ boa is installable with the potential options
│  ├─ boa [0.2.1|0.3.0] would require
│  │  └─ mamba >=0.6.4,<0.15.0a0 , which can be installed;
│  ├─ boa [0.3.1|0.3.2|...|0.4.3] would require
│  │  └─ mamba >=0.7,<0.15.0a0 , which can be installed;
│  ├─ boa 0.5.0 would require
│  │  └─ mamba >=0.11,<0.15.0a0 , which can be installed;
│  ├─ boa 0.6.0 would require
│  │  └─ mamba >=0.14,<0.16 , which can be installed;
│  ├─ boa [0.6.1|0.6.2] would require
│  │  └─ mamba >=0.15,<0.16 , which can be installed;
│  ├─ boa [0.1.0|0.1.2|0.1.3|0.1.4] would require
│  │  └─ mamba 0.5.* , which can be installed;
│  ├─ boa 0.10.0 would require
│  │  └─ mamba >=0.22.0,<0.23 , which can be installed;
│  ├─ boa 0.11.0 would require
│  │  └─ mamba >=0.23.0,<0.24 , which can be installed;
│  ├─ boa 0.11.0 would require
│  │  └─ mamba >=0.23.0,<0.25 , which can be installed;
│  ├─ boa 0.11.0 would require
│  │  └─ mamba >=0.23.0,<0.26 , which can be installed;
│  ├─ boa 0.11.0 would require
│  │  └─ mamba >=0.23.0,<0.28 , which can be installed;
│  ├─ boa 0.12.0 would require
│  │  └─ mamba >=0.27.0,<0.28 , which can be installed;
│  ├─ boa 0.13.0 would require
│  │  └─ mamba >=1.0,<1.1 , which can be installed;
│  ├─ boa 0.2.0 would require
│  │  └─ mamba 0.6.* , which can be installed;
│  ├─ boa [0.7.0|0.7.1] would require
│  │  └─ mamba >=0.16,<0.18 , which can be installed;
│  ├─ boa 0.8.0 would require
│  │  └─ mamba >=0.18,<0.19 , which can be installed;
│  ├─ boa [0.8.1|0.8.2] would require
│  │  └─ mamba >=0.19.1,<0.20 , which can be installed;
│  ├─ boa 0.9.0 would require
│  │  └─ mamba >=0.21.0,<0.22 , which can be installed;
│  ├─ boa 0.14.0 would require
│  │  └─ mamba >=1.0,<1.2 , which can be installed;
│  ├─ boa 0.14.0 would require
│  │  └─ mamba >=1.0,<1.4 , which can be installed;
│  ├─ boa 0.14.0 would require
│  │  └─ mamba >=1.0,<1.5 , which can be installed;
│  └─ boa 0.15.1 would require
│     └─ mamba >=1.0,<=1.4.2 , which can be installed;
└─ mamba 1.5.1**  is not installable because it conflicts with any installable versions previously reported.

let me know if you have ideas

hmaarrfk commented 1 year ago

hmm, this is why https://github.com/conda-forge/admin-requests/pull/811

h-vetinari commented 10 months ago

There's now a boa release that's compatible with mamba 1.5. I've restarted the failed CI jobs.

h-vetinari commented 10 months ago

The builds from https://anaconda.org/conda-forge/boa/files are not making it through the CDN at the moment...

h-vetinari commented 10 months ago

This looks good now on all platforms except osx, where we get:

ImportError: dlopen(/Users/runner/conda/lib/python3.10/site-packages/libmambapy/bindings.cpython-310-darwin.so, 0x0002): Symbol not found: (_solver_ruleinfo2str)
  Referenced from: '/Users/runner/conda/lib/libmamba.2.0.0.dylib'
  Expected in: '/Users/runner/conda/lib/libsolv.1.dylib'

CC @jaimergp @wolfv

jaimergp commented 10 months ago

Pin for latest libsolv 0.7.26. Let's see if that fixes it.

mbargull commented 10 months ago

This fails on macOS during setup after installing constructor. It doesn't use latest package versions overall. We may want to update https://github.com/conda-forge/miniforge/blob/c1cc90a5cef738c96eb791b7c87f8bf3934e4dd3/build_miniforge_osx.sh#L10-L15 to use newer versions for setup. We apparently already use setup-miniconda for Windows -- could we just use that for macOS too instead?

mbargull commented 10 months ago

@hmaarrfk, I've changed the macOS builds to use setup-miniconda and updated conda-libmamba-solver=23.11.1 in gh-518 -- feel free to merge or cherry-pick commits from that PR if they look sensible to you.

mbargull commented 10 months ago

Also, the decision on if/when we should release this should be made after deciding on https://github.com/conda-forge/miniforge/issues/511#issuecomment-1816199339 ( https://github.com/conda/conda-libmamba-solver/issues/386 ):

But some feedstocks are incompatible due to a bug I'm chasing in https://github.com/conda/conda-libmamba-solver/issues/386. These feedstocks need boa for mambabuild.

mbargull commented 10 months ago

Also, the decision on if/when we should release this should be made after deciding on #511 (comment) ( conda/conda-libmamba-solver#386 ):

But some feedstocks are incompatible due to a bug I'm chasing in conda/conda-libmamba-solver#386. These feedstocks need boa for mambabuild.

FYI, for anyone following along: gh-518 has been merge without addressing this at all.