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

conda create -n test conda-forge::jax conda-forge::jaxlib skips jax (using libmamba solver only) #221

Closed
2 tasks done
ryan-williams opened this issue Jun 25, 2023 · 3 comments · Fixed by #222
Closed
2 tasks done
Labels
locked [bot] locked due to inactivity type::bug describes erroneous operation, use severity::* to classify the type

Comments

@ryan-williams
Copy link

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

Repro: jax package spec is skipped in conda create

docker run --rm --entrypoint bash continuumio/miniconda3 -c '
conda install -n base conda-libmamba-solver && \
conda config --set solver libmamba && \
conda create -n test -d conda-forge::jax conda-forge::jaxlib
'

skips jax, only installs jaxlib:

  added / updated specs:
    - conda-forge::jaxlib
Full output
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /opt/conda

  added / updated specs:
    - conda-libmamba-solver


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    c-ares-1.19.0              |       h5eee18b_0         118 KB
    ca-certificates-2023.05.30 |       h06a4308_0         120 KB
    certifi-2023.5.7           |  py310h06a4308_0         152 KB
    conda-23.5.0               |  py310h06a4308_0         1.0 MB
    conda-libmamba-solver-23.5.0|  py310h06a4308_0          66 KB
    fmt-9.1.0                  |       hdb19cb5_0         194 KB
    icu-58.2                   |       he6710b0_3        10.5 MB
    krb5-1.20.1                |       h568e23c_1         1.3 MB
    libarchive-3.6.2           |       hb4bd9a0_1         900 KB
    libcurl-8.1.1              |       h91b91d3_1         396 KB
    libedit-3.1.20221030       |       h5eee18b_0         181 KB
    libev-4.33                 |       h7f8727e_1         111 KB
    libmamba-1.4.1             |       hdb19cb5_0         1.7 MB
    libmambapy-1.4.1           |  py310hdb19cb5_0         289 KB
    libnghttp2-1.52.0          |       ha637b67_1         671 KB
    libsolv-0.7.22             |       he621ea3_0         436 KB
    libssh2-1.10.0             |       h37d81fd_2         292 KB
    libxml2-2.10.3             |       hcbfbd50_0         755 KB
    lz4-c-1.9.4                |       h6a678d5_0         154 KB
    openssl-1.1.1u             |       h7f8727e_0         3.7 MB
    pcre2-10.37                |       he7ceb23_1         839 KB
    pybind11-abi-4             |       hd3eb1b0_1          14 KB
    reproc-14.2.4              |       h295c915_1          30 KB
    reproc-cpp-14.2.4          |       h295c915_1          22 KB
    yaml-cpp-0.7.0             |       h295c915_1         543 KB
    zstd-1.5.5                 |       hc292b87_0         647 KB
    ------------------------------------------------------------
                                           Total:        25.0 MB

The following NEW packages will be INSTALLED:

  c-ares             pkgs/main/linux-64::c-ares-1.19.0-h5eee18b_0
  conda-libmamba-so~ pkgs/main/linux-64::conda-libmamba-solver-23.5.0-py310h06a4308_0
  fmt                pkgs/main/linux-64::fmt-9.1.0-hdb19cb5_0
  icu                pkgs/main/linux-64::icu-58.2-he6710b0_3
  krb5               pkgs/main/linux-64::krb5-1.20.1-h568e23c_1
  libarchive         pkgs/main/linux-64::libarchive-3.6.2-hb4bd9a0_1
  libcurl            pkgs/main/linux-64::libcurl-8.1.1-h91b91d3_1
  libedit            pkgs/main/linux-64::libedit-3.1.20221030-h5eee18b_0
  libev              pkgs/main/linux-64::libev-4.33-h7f8727e_1
  libmamba           pkgs/main/linux-64::libmamba-1.4.1-hdb19cb5_0
  libmambapy         pkgs/main/linux-64::libmambapy-1.4.1-py310hdb19cb5_0
  libnghttp2         pkgs/main/linux-64::libnghttp2-1.52.0-ha637b67_1
  libsolv            pkgs/main/linux-64::libsolv-0.7.22-he621ea3_0
  libssh2            pkgs/main/linux-64::libssh2-1.10.0-h37d81fd_2
  libxml2            pkgs/main/linux-64::libxml2-2.10.3-hcbfbd50_0
  lz4-c              pkgs/main/linux-64::lz4-c-1.9.4-h6a678d5_0
  pcre2              pkgs/main/linux-64::pcre2-10.37-he7ceb23_1
  pybind11-abi       pkgs/main/noarch::pybind11-abi-4-hd3eb1b0_1
  reproc             pkgs/main/linux-64::reproc-14.2.4-h295c915_1
  reproc-cpp         pkgs/main/linux-64::reproc-cpp-14.2.4-h295c915_1
  yaml-cpp           pkgs/main/linux-64::yaml-cpp-0.7.0-h295c915_1
  zstd               pkgs/main/linux-64::zstd-1.5.5-hc292b87_0

The following packages will be UPDATED:

  ca-certificates                     2023.01.10-h06a4308_0 --> 2023.05.30-h06a4308_0
  certifi                         2022.12.7-py310h06a4308_0 --> 2023.5.7-py310h06a4308_0
  conda                              23.3.1-py310h06a4308_0 --> 23.5.0-py310h06a4308_0
  openssl                                 1.1.1t-h7f8727e_0 --> 1.1.1u-h7f8727e_0


Proceed ([y]/n)?

Downloading and Extracting Packages

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Channels:
 - defaults
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /opt/conda/envs/test

  added / updated specs:
    - conda-forge::jaxlib


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _libgcc_mutex-0.1          |      conda_forge           3 KB  conda-forge
    _openmp_mutex-4.5          |            2_gnu          23 KB  conda-forge
    appdirs-1.4.4              |     pyhd3eb1b0_0          12 KB
    blas-1.0                   |         openblas          46 KB
    brotlipy-0.7.0             |py311h5eee18b_1002         307 KB
    bzip2-1.0.8                |       h7b6447c_0          78 KB
    certifi-2023.5.7           |  py311h06a4308_0         153 KB
    cffi-1.15.1                |  py311h5eee18b_3         283 KB
    charset-normalizer-2.0.4   |     pyhd3eb1b0_0          35 KB
    cryptography-39.0.1        |  py311h9ce1e76_2         1.5 MB
    idna-3.4                   |  py311h06a4308_0          96 KB
    jaxlib-0.4.12              |cpu_py311h7b5b818_0        43.7 MB  conda-forge
    ld_impl_linux-64-2.38      |       h1181459_1         654 KB
    libabseil-20230125.2       | cxx17_h59595ed_2         1.2 MB  conda-forge
    libffi-3.4.4               |       h6a678d5_0         142 KB
    libgcc-ng-13.1.0           |       he5830b7_0         758 KB  conda-forge
    libgfortran-ng-11.2.0      |       h00389a5_1          20 KB
    libgfortran5-11.2.0        |       h1234567_1         2.0 MB
    libgomp-13.1.0             |       he5830b7_0         409 KB  conda-forge
    libgrpc-1.54.2             |       hb20ce57_2         5.4 MB  conda-forge
    libopenblas-0.3.21         |       h043d6bf_0         5.4 MB
    libprotobuf-3.21.12        |       h3eb15da_0         2.1 MB  conda-forge
    libstdcxx-ng-13.1.0        |       hfd8a6a1_0         3.7 MB  conda-forge
    libuuid-1.41.5             |       h5eee18b_0          27 KB
    libzlib-1.2.13             |       hd590300_5          60 KB  conda-forge
    ml_dtypes-0.2.0            |  py311h320fe9a_1         686 KB  conda-forge
    ncurses-6.4                |       h6a678d5_0         914 KB
    numpy-1.25.0               |  py311h24aa872_0          12 KB
    numpy-base-1.25.0          |  py311hbfb1bba_0         8.1 MB
    openssl-3.1.1              |       hd590300_1         2.5 MB  conda-forge
    packaging-23.0             |  py311h06a4308_0          88 KB
    pip-23.1.2                 |  py311h06a4308_0         3.2 MB
    pooch-1.4.0                |     pyhd3eb1b0_0          41 KB
    pycparser-2.21             |     pyhd3eb1b0_0          94 KB
    pyopenssl-23.0.0           |  py311h06a4308_0         122 KB
    pysocks-1.7.1              |  py311h06a4308_0          35 KB
    python-3.11.3              |       h955ad1f_1        32.6 MB
    python_abi-3.11            |          2_cp311           5 KB  conda-forge
    re2-2023.03.02             |       h8c504da_0         196 KB  conda-forge
    readline-8.2               |       h5eee18b_0         357 KB
    requests-2.29.0            |  py311h06a4308_0         123 KB
    scipy-1.10.1               |  py311h24aa872_1        25.4 MB
    setuptools-67.8.0          |  py311h06a4308_0         1.4 MB
    sqlite-3.41.2              |       h5eee18b_0         1.2 MB
    tk-8.6.12                  |       h1ccaba5_0         3.0 MB
    tzdata-2023c               |       h04d1e81_0         116 KB
    urllib3-1.26.16            |  py311h06a4308_0         256 KB
    wheel-0.38.4               |  py311h06a4308_0          79 KB
    xz-5.4.2                   |       h5eee18b_0         642 KB
    zlib-1.2.13                |       hd590300_5          91 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       149.3 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-2_gnu
  appdirs            pkgs/main/noarch::appdirs-1.4.4-pyhd3eb1b0_0
  blas               pkgs/main/linux-64::blas-1.0-openblas
  brotlipy           pkgs/main/linux-64::brotlipy-0.7.0-py311h5eee18b_1002
  bzip2              pkgs/main/linux-64::bzip2-1.0.8-h7b6447c_0
  c-ares             pkgs/main/linux-64::c-ares-1.19.0-h5eee18b_0
  ca-certificates    pkgs/main/linux-64::ca-certificates-2023.05.30-h06a4308_0
  certifi            pkgs/main/linux-64::certifi-2023.5.7-py311h06a4308_0
  cffi               pkgs/main/linux-64::cffi-1.15.1-py311h5eee18b_3
  charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0
  cryptography       pkgs/main/linux-64::cryptography-39.0.1-py311h9ce1e76_2
  idna               pkgs/main/linux-64::idna-3.4-py311h06a4308_0
  jaxlib             conda-forge/linux-64::jaxlib-0.4.12-cpu_py311h7b5b818_0
  ld_impl_linux-64   pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1
  libabseil          conda-forge/linux-64::libabseil-20230125.2-cxx17_h59595ed_2
  libffi             pkgs/main/linux-64::libffi-3.4.4-h6a678d5_0
  libgcc-ng          conda-forge/linux-64::libgcc-ng-13.1.0-he5830b7_0
  libgfortran-ng     pkgs/main/linux-64::libgfortran-ng-11.2.0-h00389a5_1
  libgfortran5       pkgs/main/linux-64::libgfortran5-11.2.0-h1234567_1
  libgomp            conda-forge/linux-64::libgomp-13.1.0-he5830b7_0
  libgrpc            conda-forge/linux-64::libgrpc-1.54.2-hb20ce57_2
  libopenblas        pkgs/main/linux-64::libopenblas-0.3.21-h043d6bf_0
  libprotobuf        conda-forge/linux-64::libprotobuf-3.21.12-h3eb15da_0
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-13.1.0-hfd8a6a1_0
  libuuid            pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0
  libzlib            conda-forge/linux-64::libzlib-1.2.13-hd590300_5
  ml_dtypes          conda-forge/linux-64::ml_dtypes-0.2.0-py311h320fe9a_1
  ncurses            pkgs/main/linux-64::ncurses-6.4-h6a678d5_0
  numpy              pkgs/main/linux-64::numpy-1.25.0-py311h24aa872_0
  numpy-base         pkgs/main/linux-64::numpy-base-1.25.0-py311hbfb1bba_0
  openssl            conda-forge/linux-64::openssl-3.1.1-hd590300_1
  packaging          pkgs/main/linux-64::packaging-23.0-py311h06a4308_0
  pip                pkgs/main/linux-64::pip-23.1.2-py311h06a4308_0
  pooch              pkgs/main/noarch::pooch-1.4.0-pyhd3eb1b0_0
  pycparser          pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0
  pyopenssl          pkgs/main/linux-64::pyopenssl-23.0.0-py311h06a4308_0
  pysocks            pkgs/main/linux-64::pysocks-1.7.1-py311h06a4308_0
  python             pkgs/main/linux-64::python-3.11.3-h955ad1f_1
  python_abi         conda-forge/linux-64::python_abi-3.11-2_cp311
  re2                conda-forge/linux-64::re2-2023.03.02-h8c504da_0
  readline           pkgs/main/linux-64::readline-8.2-h5eee18b_0
  requests           pkgs/main/linux-64::requests-2.29.0-py311h06a4308_0
  scipy              pkgs/main/linux-64::scipy-1.10.1-py311h24aa872_1
  setuptools         pkgs/main/linux-64::setuptools-67.8.0-py311h06a4308_0
  sqlite             pkgs/main/linux-64::sqlite-3.41.2-h5eee18b_0
  tk                 pkgs/main/linux-64::tk-8.6.12-h1ccaba5_0
  tzdata             pkgs/main/noarch::tzdata-2023c-h04d1e81_0
  urllib3            pkgs/main/linux-64::urllib3-1.26.16-py311h06a4308_0
  wheel              pkgs/main/linux-64::wheel-0.38.4-py311h06a4308_0
  xz                 pkgs/main/linux-64::xz-5.4.2-h5eee18b_0
  zlib               conda-forge/linux-64::zlib-1.2.13-hd590300_5



DryRunExit: Dry run. Exiting.

Reversing the order of specs fixes the issue

Reversing the order of the conda-forge::jax and conda-forge::jaxlib specs makes them both get installed:

docker run --rm --entrypoint bash continuumio/miniconda3 -c '
conda install -n base conda-libmamba-solver && \
conda config --set solver libmamba && \
conda create -n test -d conda-forge::jaxlib conda-forge::jax
'

Both jax and jaxlib are correctly added this time:

  added / updated specs:
    - conda-forge::jax
    - conda-forge::jaxlib
Full output
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /opt/conda

  added / updated specs:
    - conda-libmamba-solver


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    c-ares-1.19.0              |       h5eee18b_0         118 KB
    ca-certificates-2023.05.30 |       h06a4308_0         120 KB
    certifi-2023.5.7           |  py310h06a4308_0         152 KB
    conda-23.5.0               |  py310h06a4308_0         1.0 MB
    conda-libmamba-solver-23.5.0|  py310h06a4308_0          66 KB
    fmt-9.1.0                  |       hdb19cb5_0         194 KB
    icu-58.2                   |       he6710b0_3        10.5 MB
    krb5-1.20.1                |       h568e23c_1         1.3 MB
    libarchive-3.6.2           |       hb4bd9a0_1         900 KB
    libcurl-8.1.1              |       h91b91d3_1         396 KB
    libedit-3.1.20221030       |       h5eee18b_0         181 KB
    libev-4.33                 |       h7f8727e_1         111 KB
    libmamba-1.4.1             |       hdb19cb5_0         1.7 MB
    libmambapy-1.4.1           |  py310hdb19cb5_0         289 KB
    libnghttp2-1.52.0          |       ha637b67_1         671 KB
    libsolv-0.7.22             |       he621ea3_0         436 KB
    libssh2-1.10.0             |       h37d81fd_2         292 KB
    libxml2-2.10.3             |       hcbfbd50_0         755 KB
    lz4-c-1.9.4                |       h6a678d5_0         154 KB
    openssl-1.1.1u             |       h7f8727e_0         3.7 MB
    pcre2-10.37                |       he7ceb23_1         839 KB
    pybind11-abi-4             |       hd3eb1b0_1          14 KB
    reproc-14.2.4              |       h295c915_1          30 KB
    reproc-cpp-14.2.4          |       h295c915_1          22 KB
    yaml-cpp-0.7.0             |       h295c915_1         543 KB
    zstd-1.5.5                 |       hc292b87_0         647 KB
    ------------------------------------------------------------
                                           Total:        25.0 MB

The following NEW packages will be INSTALLED:

  c-ares             pkgs/main/linux-64::c-ares-1.19.0-h5eee18b_0
  conda-libmamba-so~ pkgs/main/linux-64::conda-libmamba-solver-23.5.0-py310h06a4308_0
  fmt                pkgs/main/linux-64::fmt-9.1.0-hdb19cb5_0
  icu                pkgs/main/linux-64::icu-58.2-he6710b0_3
  krb5               pkgs/main/linux-64::krb5-1.20.1-h568e23c_1
  libarchive         pkgs/main/linux-64::libarchive-3.6.2-hb4bd9a0_1
  libcurl            pkgs/main/linux-64::libcurl-8.1.1-h91b91d3_1
  libedit            pkgs/main/linux-64::libedit-3.1.20221030-h5eee18b_0
  libev              pkgs/main/linux-64::libev-4.33-h7f8727e_1
  libmamba           pkgs/main/linux-64::libmamba-1.4.1-hdb19cb5_0
  libmambapy         pkgs/main/linux-64::libmambapy-1.4.1-py310hdb19cb5_0
  libnghttp2         pkgs/main/linux-64::libnghttp2-1.52.0-ha637b67_1
  libsolv            pkgs/main/linux-64::libsolv-0.7.22-he621ea3_0
  libssh2            pkgs/main/linux-64::libssh2-1.10.0-h37d81fd_2
  libxml2            pkgs/main/linux-64::libxml2-2.10.3-hcbfbd50_0
  lz4-c              pkgs/main/linux-64::lz4-c-1.9.4-h6a678d5_0
  pcre2              pkgs/main/linux-64::pcre2-10.37-he7ceb23_1
  pybind11-abi       pkgs/main/noarch::pybind11-abi-4-hd3eb1b0_1
  reproc             pkgs/main/linux-64::reproc-14.2.4-h295c915_1
  reproc-cpp         pkgs/main/linux-64::reproc-cpp-14.2.4-h295c915_1
  yaml-cpp           pkgs/main/linux-64::yaml-cpp-0.7.0-h295c915_1
  zstd               pkgs/main/linux-64::zstd-1.5.5-hc292b87_0

The following packages will be UPDATED:

  ca-certificates                     2023.01.10-h06a4308_0 --> 2023.05.30-h06a4308_0
  certifi                         2022.12.7-py310h06a4308_0 --> 2023.5.7-py310h06a4308_0
  conda                              23.3.1-py310h06a4308_0 --> 23.5.0-py310h06a4308_0
  openssl                                 1.1.1t-h7f8727e_0 --> 1.1.1u-h7f8727e_0


Proceed ([y]/n)?

Downloading and Extracting Packages

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Channels:
 - defaults
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /opt/conda/envs/test

  added / updated specs:
    - conda-forge::jax
    - conda-forge::jaxlib


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _libgcc_mutex-0.1          |      conda_forge           3 KB  conda-forge
    _openmp_mutex-4.5          |            2_gnu          23 KB  conda-forge
    appdirs-1.4.4              |     pyhd3eb1b0_0          12 KB
    blas-1.0                   |         openblas          46 KB
    brotlipy-0.7.0             |py311h5eee18b_1002         307 KB
    bzip2-1.0.8                |       h7b6447c_0          78 KB
    certifi-2023.5.7           |  py311h06a4308_0         153 KB
    cffi-1.15.1                |  py311h5eee18b_3         283 KB
    charset-normalizer-2.0.4   |     pyhd3eb1b0_0          35 KB
    cryptography-39.0.1        |  py311h9ce1e76_2         1.5 MB
    idna-3.4                   |  py311h06a4308_0          96 KB
    importlib-metadata-6.0.0   |  py311h06a4308_0          46 KB
    importlib_metadata-6.0.0   |       hd3eb1b0_0           8 KB
    jax-0.4.12                 |     pyhd8ed1ab_0         977 KB  conda-forge
    jaxlib-0.4.12              |cpu_py311h7b5b818_0        43.7 MB  conda-forge
    ld_impl_linux-64-2.38      |       h1181459_1         654 KB
    libabseil-20230125.2       | cxx17_h59595ed_2         1.2 MB  conda-forge
    libffi-3.4.4               |       h6a678d5_0         142 KB
    libgcc-ng-13.1.0           |       he5830b7_0         758 KB  conda-forge
    libgfortran-ng-11.2.0      |       h00389a5_1          20 KB
    libgfortran5-11.2.0        |       h1234567_1         2.0 MB
    libgomp-13.1.0             |       he5830b7_0         409 KB  conda-forge
    libgrpc-1.54.2             |       hb20ce57_2         5.4 MB  conda-forge
    libopenblas-0.3.21         |       h043d6bf_0         5.4 MB
    libprotobuf-3.21.12        |       h3eb15da_0         2.1 MB  conda-forge
    libstdcxx-ng-13.1.0        |       hfd8a6a1_0         3.7 MB  conda-forge
    libuuid-1.41.5             |       h5eee18b_0          27 KB
    libzlib-1.2.13             |       hd590300_5          60 KB  conda-forge
    ml_dtypes-0.2.0            |  py311h320fe9a_1         686 KB  conda-forge
    ncurses-6.4                |       h6a678d5_0         914 KB
    numpy-1.25.0               |  py311h24aa872_0          12 KB
    numpy-base-1.25.0          |  py311hbfb1bba_0         8.1 MB
    openssl-3.1.1              |       hd590300_1         2.5 MB  conda-forge
    opt_einsum-3.3.0           |     pyhd3eb1b0_1          57 KB
    packaging-23.0             |  py311h06a4308_0          88 KB
    pip-23.1.2                 |  py311h06a4308_0         3.2 MB
    pooch-1.4.0                |     pyhd3eb1b0_0          41 KB
    pycparser-2.21             |     pyhd3eb1b0_0          94 KB
    pyopenssl-23.0.0           |  py311h06a4308_0         122 KB
    pysocks-1.7.1              |  py311h06a4308_0          35 KB
    python-3.11.3              |       h955ad1f_1        32.6 MB
    python_abi-3.11            |          2_cp311           5 KB  conda-forge
    re2-2023.03.02             |       h8c504da_0         196 KB  conda-forge
    readline-8.2               |       h5eee18b_0         357 KB
    requests-2.29.0            |  py311h06a4308_0         123 KB
    scipy-1.10.1               |  py311h24aa872_1        25.4 MB
    setuptools-67.8.0          |  py311h06a4308_0         1.4 MB
    sqlite-3.41.2              |       h5eee18b_0         1.2 MB
    tk-8.6.12                  |       h1ccaba5_0         3.0 MB
    tzdata-2023c               |       h04d1e81_0         116 KB
    urllib3-1.26.16            |  py311h06a4308_0         256 KB
    wheel-0.38.4               |  py311h06a4308_0          79 KB
    xz-5.4.2                   |       h5eee18b_0         642 KB
    zipp-3.11.0                |  py311h06a4308_0          21 KB
    zlib-1.2.13                |       hd590300_5          91 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       150.4 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-2_gnu
  appdirs            pkgs/main/noarch::appdirs-1.4.4-pyhd3eb1b0_0
  blas               pkgs/main/linux-64::blas-1.0-openblas
  brotlipy           pkgs/main/linux-64::brotlipy-0.7.0-py311h5eee18b_1002
  bzip2              pkgs/main/linux-64::bzip2-1.0.8-h7b6447c_0
  c-ares             pkgs/main/linux-64::c-ares-1.19.0-h5eee18b_0
  ca-certificates    pkgs/main/linux-64::ca-certificates-2023.05.30-h06a4308_0
  certifi            pkgs/main/linux-64::certifi-2023.5.7-py311h06a4308_0
  cffi               pkgs/main/linux-64::cffi-1.15.1-py311h5eee18b_3
  charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0
  cryptography       pkgs/main/linux-64::cryptography-39.0.1-py311h9ce1e76_2
  idna               pkgs/main/linux-64::idna-3.4-py311h06a4308_0
  importlib-metadata pkgs/main/linux-64::importlib-metadata-6.0.0-py311h06a4308_0
  importlib_metadata pkgs/main/noarch::importlib_metadata-6.0.0-hd3eb1b0_0
  jax                conda-forge/noarch::jax-0.4.12-pyhd8ed1ab_0
  jaxlib             conda-forge/linux-64::jaxlib-0.4.12-cpu_py311h7b5b818_0
  ld_impl_linux-64   pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1
  libabseil          conda-forge/linux-64::libabseil-20230125.2-cxx17_h59595ed_2
  libffi             pkgs/main/linux-64::libffi-3.4.4-h6a678d5_0
  libgcc-ng          conda-forge/linux-64::libgcc-ng-13.1.0-he5830b7_0
  libgfortran-ng     pkgs/main/linux-64::libgfortran-ng-11.2.0-h00389a5_1
  libgfortran5       pkgs/main/linux-64::libgfortran5-11.2.0-h1234567_1
  libgomp            conda-forge/linux-64::libgomp-13.1.0-he5830b7_0
  libgrpc            conda-forge/linux-64::libgrpc-1.54.2-hb20ce57_2
  libopenblas        pkgs/main/linux-64::libopenblas-0.3.21-h043d6bf_0
  libprotobuf        conda-forge/linux-64::libprotobuf-3.21.12-h3eb15da_0
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-13.1.0-hfd8a6a1_0
  libuuid            pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0
  libzlib            conda-forge/linux-64::libzlib-1.2.13-hd590300_5
  ml_dtypes          conda-forge/linux-64::ml_dtypes-0.2.0-py311h320fe9a_1
  ncurses            pkgs/main/linux-64::ncurses-6.4-h6a678d5_0
  numpy              pkgs/main/linux-64::numpy-1.25.0-py311h24aa872_0
  numpy-base         pkgs/main/linux-64::numpy-base-1.25.0-py311hbfb1bba_0
  openssl            conda-forge/linux-64::openssl-3.1.1-hd590300_1
  opt_einsum         pkgs/main/noarch::opt_einsum-3.3.0-pyhd3eb1b0_1
  packaging          pkgs/main/linux-64::packaging-23.0-py311h06a4308_0
  pip                pkgs/main/linux-64::pip-23.1.2-py311h06a4308_0
  pooch              pkgs/main/noarch::pooch-1.4.0-pyhd3eb1b0_0
  pycparser          pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0
  pyopenssl          pkgs/main/linux-64::pyopenssl-23.0.0-py311h06a4308_0
  pysocks            pkgs/main/linux-64::pysocks-1.7.1-py311h06a4308_0
  python             pkgs/main/linux-64::python-3.11.3-h955ad1f_1
  python_abi         conda-forge/linux-64::python_abi-3.11-2_cp311
  re2                conda-forge/linux-64::re2-2023.03.02-h8c504da_0
  readline           pkgs/main/linux-64::readline-8.2-h5eee18b_0
  requests           pkgs/main/linux-64::requests-2.29.0-py311h06a4308_0
  scipy              pkgs/main/linux-64::scipy-1.10.1-py311h24aa872_1
  setuptools         pkgs/main/linux-64::setuptools-67.8.0-py311h06a4308_0
  sqlite             pkgs/main/linux-64::sqlite-3.41.2-h5eee18b_0
  tk                 pkgs/main/linux-64::tk-8.6.12-h1ccaba5_0
  tzdata             pkgs/main/noarch::tzdata-2023c-h04d1e81_0
  urllib3            pkgs/main/linux-64::urllib3-1.26.16-py311h06a4308_0
  wheel              pkgs/main/linux-64::wheel-0.38.4-py311h06a4308_0
  xz                 pkgs/main/linux-64::xz-5.4.2-h5eee18b_0
  zipp               pkgs/main/linux-64::zipp-3.11.0-py311h06a4308_0
  zlib               conda-forge/linux-64::zlib-1.2.13-hd590300_5


DryRunExit: Dry run. Exiting.

Other conda create invocations don't exhibit the issue

I tried similar, and didn't see the issue with:

  • -c conda-forge jax jaxlib (instead of conda-forge::jax conda-forge::jaxlib)
  • the default solver (without libmamba-solver)
  • micromamba

Conda Info

active environment : None
       user config file : /root/.condarc
 populated config files : /root/.condarc
          conda version : 23.5.0
    conda-build version : not installed
         python version : 3.10.10.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.31=0
                          __linux=5.10.179=0
                          __unix=0=0
       base environment : /opt/conda  (writable)
      conda av data dir : /opt/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/conda/pkgs
                          /root/.conda/pkgs
       envs directories : /opt/conda/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/23.5.0 requests/2.28.1 CPython/3.10.10 Linux/5.10.179-166.674.amzn2.x86_64 debian/11 glibc/2.31 solver/libmamba conda-libmamba-solver/23.5.0 libmambapy/1.4.1
                UID:GID : 0:0
             netrc file : None
           offline mode : False

Conda Config

==> /root/.condarc <==
solver: libmamba

Conda list

# packages in environment at /opt/conda:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main    defaults
_openmp_mutex             5.1                       1_gnu    defaults
boltons                   23.0.0          py310h06a4308_0    defaults
brotlipy                  0.7.0           py310h7f8727e_1002    defaults
bzip2                     1.0.8                h7b6447c_0    defaults
c-ares                    1.19.0               h5eee18b_0    defaults
ca-certificates           2023.05.30           h06a4308_0    defaults
certifi                   2023.5.7        py310h06a4308_0    defaults
cffi                      1.15.1          py310h5eee18b_3    defaults
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
conda                     23.5.0          py310h06a4308_0    defaults
conda-content-trust       0.1.3           py310h06a4308_0    defaults
conda-libmamba-solver     23.5.0          py310h06a4308_0    defaults
conda-package-handling    2.0.2           py310h06a4308_0    defaults
conda-package-streaming   0.7.0           py310h06a4308_0    defaults
cryptography              39.0.1          py310h9ce1e76_0    defaults
fmt                       9.1.0                hdb19cb5_0    defaults
icu                       58.2                 he6710b0_3    defaults
idna                      3.4             py310h06a4308_0    defaults
jsonpatch                 1.32               pyhd3eb1b0_0    defaults
jsonpointer               2.1                pyhd3eb1b0_0    defaults
krb5                      1.20.1               h568e23c_1    defaults
ld_impl_linux-64          2.38                 h1181459_1    defaults
libarchive                3.6.2                hb4bd9a0_1    defaults
libcurl                   8.1.1                h91b91d3_1    defaults
libedit                   3.1.20221030         h5eee18b_0    defaults
libev                     4.33                 h7f8727e_1    defaults
libffi                    3.4.2                h6a678d5_6    defaults
libgcc-ng                 11.2.0               h1234567_1    defaults
libgomp                   11.2.0               h1234567_1    defaults
libmamba                  1.4.1                hdb19cb5_0    defaults
libmambapy                1.4.1           py310hdb19cb5_0    defaults
libnghttp2                1.52.0               ha637b67_1    defaults
libsolv                   0.7.22               he621ea3_0    defaults
libssh2                   1.10.0               h37d81fd_2    defaults
libstdcxx-ng              11.2.0               h1234567_1    defaults
libuuid                   1.41.5               h5eee18b_0    defaults
libxml2                   2.10.3               hcbfbd50_0    defaults
lz4-c                     1.9.4                h6a678d5_0    defaults
ncurses                   6.4                  h6a678d5_0    defaults
openssl                   1.1.1u               h7f8727e_0    defaults
packaging                 23.0            py310h06a4308_0    defaults
pcre2                     10.37                he7ceb23_1    defaults
pip                       23.0.1          py310h06a4308_0    defaults
pluggy                    1.0.0           py310h06a4308_1    defaults
pybind11-abi              4                    hd3eb1b0_1    defaults
pycosat                   0.6.4           py310h5eee18b_0    defaults
pycparser                 2.21               pyhd3eb1b0_0    defaults
pyopenssl                 23.0.0          py310h06a4308_0    defaults
pysocks                   1.7.1           py310h06a4308_0    defaults
python                    3.10.10              h7a1cb2a_2    defaults
readline                  8.2                  h5eee18b_0    defaults
reproc                    14.2.4               h295c915_1    defaults
reproc-cpp                14.2.4               h295c915_1    defaults
requests                  2.28.1          py310h06a4308_1    defaults
ruamel.yaml               0.17.21         py310h5eee18b_0    defaults
ruamel.yaml.clib          0.2.6           py310h5eee18b_1    defaults
setuptools                65.6.3          py310h06a4308_0    defaults
six                       1.16.0             pyhd3eb1b0_1    defaults
sqlite                    3.41.1               h5eee18b_0    defaults
tk                        8.6.12               h1ccaba5_0    defaults
toolz                     0.12.0          py310h06a4308_0    defaults
tqdm                      4.65.0          py310h2f386ee_0    defaults
tzdata                    2023c                h04d1e81_0    defaults
urllib3                   1.26.15         py310h06a4308_0    defaults
wheel                     0.38.4          py310h06a4308_0    defaults
xz                        5.2.10               h5eee18b_1    defaults
yaml-cpp                  0.7.0                h295c915_1    defaults
zlib                      1.2.13               h5eee18b_0    defaults
zstandard                 0.19.0          py310h5eee18b_0    defaults
zstd                      1.5.5                hc292b87_0    defaults

Additional Context

No response

@ryan-williams ryan-williams added the type::bug describes erroneous operation, use severity::* to classify the type label Jun 25, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Jun 25, 2023
@ryan-williams
Copy link
Author

Seems like an instance of #198, since the issue only occurs with libmamba solver (not with the default solver, or mamba CLI)

@jaimergp
Copy link
Contributor

Thanks for the report! I can reproduce locally. It looks like the matchspec is not even reaching the solver (which is good news, because that'd be trickier to inspect, debug and fix):

DEBUG conda.gateways.logging:set_verbosity(217): verbosity set to 3
DEBUG conda.conda_libmamba_solver.solver:__init__(100): Ignoring repodata_fn='current_repodata.json', defaulting to repodata.json
INFO conda.conda_libmamba_solver.solver:_log_info(285): Using libmamba solver
INFO conda.conda_libmamba_solver.solver:_log_info(286): Conda version: 23.5.0
INFO conda.conda_libmamba_solver.solver:_log_info(287): Mamba version: 1.4.1
INFO conda.conda_libmamba_solver.solver:_log_info(288): Target prefix: '/Users/jrodriguez/.local/anaconda/envs/unused'
INFO conda.conda_libmamba_solver.solver:_log_info(289): Command: ['/Users/jrodriguez/.local/anaconda/bin/conda', 'create', '-n', 'unused', '-d', 'conda-forge::jax', 'conda-forge::jaxlib', '--dry-run', '-vvv']
INFO conda.conda_libmamba_solver.solver:_log_info(290): Specs to add: IndexedSet([MatchSpec("conda-forge::jaxlib")])
INFO conda.conda_libmamba_solver.solver:_log_info(291): Specs to remove: frozenset()

See how jax is not mentioned in specs_to_add! Very intriguing.

@costrouc
Copy link
Contributor

costrouc commented Jul 1, 2023

I was able to reproduce this locally as well. @jaimergp I am looking in the PR #222 that you opened.

@github-project-automation github-project-automation bot moved this from 🆕 New to 🏁 Done in 🧭 Planning Jul 17, 2023
@jaimergp jaimergp added this to the July 2023 release milestone Jul 18, 2023
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Jul 18, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity type::bug describes erroneous operation, use severity::* to classify the type
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants