-
Notifications
You must be signed in to change notification settings - Fork 25
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 and Mamba is grabbing wrong versions of package when install with version constraint #115
Comments
@daico007 I can replicate this, very weird, thanks for reporting, will investigate further |
Might have to do with the stuck |
Here is another example, in this case mamba
conda
Detailsconda info
conarc
conda list
|
This comment was marked as duplicate.
This comment was marked as duplicate.
@ipcoder - in which environment are you trying to install those packages? I am trying to reproduce but taking your |
@jaimergp I believe its an empty python 3.9 environment which I populate with the commands above. It was awhile ago, and I could forget, but I usually work in separate environment, not in the base. |
@daico007 - I took your environment (no dev) from this PR (mosdef-hub/gmso#689), reverted the pydantic dependency to $ CONDA_SUBDIR=linux-64 conda env create -f daico007.yaml --solver=libmamba --dry-run
conda-forge/noarch Using cache
conda-forge/linux-64 29.6MB @ 2.3MB/s 21.0s
Collect all metadata (repodata.json): done
Solving environment: done
name: daico007
channels:
- conda-forge
dependencies:
- conda-forge/linux-64::_libgcc_mutex==0.1=conda_forge
- conda-forge/linux-64::ca-certificates==2022.12.7=ha878542_0
- conda-forge/linux-64::ld_impl_linux-64==2.40=h41732ed_0
- conda-forge/linux-64::libgfortran5==12.2.0=h337968e_19
- conda-forge/linux-64::libstdcxx-ng==12.2.0=h46fd767_19
- conda-forge/linux-64::python_abi==3.11=3_cp311
- conda-forge/noarch::tzdata==2022g=h191b570_0
- conda-forge/linux-64::libgfortran-ng==12.2.0=h69a702a_19
- conda-forge/linux-64::libgomp==12.2.0=h65d4601_19
- conda-forge/linux-64::_openmp_mutex==4.5=2_gnu
- conda-forge/linux-64::libgcc-ng==12.2.0=h65d4601_19
- conda-forge/linux-64::bzip2==1.0.8=h7f98852_4
- conda-forge/linux-64::cudatoolkit==11.8.0=h37601d7_11
- conda-forge/linux-64::gmp==6.2.1=h58526e2_0
- conda-forge/linux-64::icu==70.1=h27087fc_0
- conda-forge/linux-64::libffi==3.4.2=h7f98852_5
- conda-forge/linux-64::libiconv==1.17=h166bdaf_0
- conda-forge/linux-64::libnsl==2.0.0=h7f98852_0
- conda-forge/linux-64::libopenblas==0.3.21=pthreads_h78a6416_3
- conda-forge/linux-64::libuuid==2.32.1=h7f98852_1000
- conda-forge/linux-64::libzlib==1.2.13=h166bdaf_4
- conda-forge/linux-64::ncurses==6.3=h27087fc_1
- conda-forge/linux-64::ocl-icd==2.3.1=h7f98852_0
- conda-forge/linux-64::openssl==3.0.8=h0b41bf4_0
- conda-forge/linux-64::xz==5.2.6=h166bdaf_0
- conda-forge/linux-64::libblas==3.9.0=16_linux64_openblas
- conda-forge/linux-64::libprotobuf==3.21.12=h3eb15da_0
- conda-forge/linux-64::libsqlite==3.40.0=h753d276_0
- conda-forge/linux-64::libxml2==2.10.3=h7463322_0
- conda-forge/linux-64::mpfr==4.1.0=h9202a9a_1
- conda-forge/linux-64::ocl-icd-system==1.0.0=1
- conda-forge/linux-64::readline==8.1.2=h0f457ee_0
- conda-forge/linux-64::tk==8.6.12=h27826a3_0
- conda-forge/linux-64::libcblas==3.9.0=16_linux64_openblas
- conda-forge/linux-64::liblapack==3.9.0=16_linux64_openblas
- conda-forge/linux-64::libxslt==1.1.37=h873f0b0_0
- conda-forge/linux-64::mpc==1.3.1=hfe3b2da_0
- conda-forge/linux-64::python==3.11.0=he550d4f_1_cpython
- conda-forge/noarch::boltons==21.0.0=pyhd8ed1ab_0
- conda-forge/noarch::certifi==2022.12.7=pyhd8ed1ab_0
- conda-forge/noarch::charset-normalizer==2.1.1=pyhd8ed1ab_0
- conda-forge/noarch::dataclasses==0.8=pyhc8e2a94_3
- conda-forge/noarch::ele==0.2.0=pyhd8ed1ab_0
- conda-forge/linux-64::gmpy2==2.1.2=py311h6a5fa03_1
- conda-forge/noarch::idna==3.4=pyhd8ed1ab_0
- conda-forge/noarch::lark-parser==0.12.0=pyhd8ed1ab_0
- conda-forge/linux-64::lxml==4.9.2=py311h14a6109_0
- conda-forge/noarch::mpmath==1.2.1=pyhd8ed1ab_0
- conda-forge/noarch::networkx==3.0=pyhd8ed1ab_0
- conda-forge/linux-64::numpy==1.24.2=py311h8e6699e_0
- conda-forge/noarch::pycparser==2.21=pyhd8ed1ab_0
- conda-forge/noarch::pysocks==1.7.1=pyha2e5f31_6
- conda-forge/noarch::pytz==2022.7.1=pyhd8ed1ab_0
- conda-forge/noarch::setuptools==67.1.0=pyhd8ed1ab_0
- conda-forge/noarch::six==1.16.0=pyh6c4a22f_0
- conda-forge/noarch::wheel==0.38.4=pyhd8ed1ab_0
- conda-forge/linux-64::cffi==1.15.1=py311h409f033_3
- conda-forge/linux-64::openmm==8.0.0=py311h59c6c42_0
- conda-forge/noarch::pip==23.0=pyhd8ed1ab_0
- conda-forge/linux-64::protobuf==4.21.12=py311hcafe171_0
- conda-forge/noarch::pydantic==0.18.2=py_0
- conda-forge/noarch::python-dateutil==2.8.2=pyhd8ed1ab_0
- conda-forge/linux-64::sympy==1.11.1=py311h38be061_2
- conda-forge/linux-64::brotlipy==0.7.0=py311hd4cff14_1005
- conda-forge/linux-64::cryptography==39.0.1=py311h9b4c7bb_0
- conda-forge/linux-64::pandas==1.5.3=py311h2872171_0
- conda-forge/noarch::unyt==2.8.0=py_0
- conda-forge/noarch::gmso==0.9.0=pyhd8ed1ab_0
- conda-forge/linux-64::parmed==4.0.0=py311hcafe171_0
- conda-forge/noarch::pyopenssl==23.0.0=pyhd8ed1ab_0
- conda-forge/noarch::urllib3==1.26.14=pyhd8ed1ab_0
- conda-forge/noarch::requests==2.28.2=pyhd8ed1ab_0
- conda-forge/noarch::foyer==0.11.3=pyhd8ed1ab_0
- conda-forge/noarch::forcefield-utilities==0.2.1=pyhd8ed1ab_0
classic
|
Hi @jaimergp, when I am constraining the |
@ipcoder - my results for the following input: name: ipcoder
channels:
- conda-forge
- defaults
dependencies:
- python=3.9
- pytorch==1.10.2
- torchvision==0.11.3
- cudatoolkit=11.3 There are some differences in the MKL/openblas stack, but libmamba$ CONDA_SUBDIR=linux-64 conda env create -f ipcoder.yaml --dry-run --solver=libmamba
warning libmamba Could not parse mod/etag header
warning libmamba Could not parse mod/etag header
warning libmamba Could not parse mod/etag header
pkgs/main/noarch No change
pkgs/r/linux-64 No change
pkgs/r/noarch No change
pkgs/main/linux-64 5.2MB @ 2.5MB/s 2.7s
conda-forge/noarch 11.2MB @ 3.5MB/s 4.3s
conda-forge/linux-64 29.6MB @ 3.3MB/s 12.4s
Collect all metadata (repodata.json): done
Solving environment: done
name: ipcoder
channels:
- conda-forge
- defaults
dependencies:
- conda-forge/linux-64::_libgcc_mutex==0.1=conda_forge
- conda-forge/linux-64::ca-certificates==2022.12.7=ha878542_0
- conda-forge/linux-64::ld_impl_linux-64==2.40=h41732ed_0
- conda-forge/linux-64::libstdcxx-ng==12.2.0=h46fd767_19
- conda-forge/linux-64::python_abi==3.9=3_cp39
- conda-forge/noarch::tzdata==2022g=h191b570_0
- conda-forge/linux-64::libgomp==12.2.0=h65d4601_19
- conda-forge/linux-64::_openmp_mutex==4.5=2_gnu
- conda-forge/linux-64::libgcc-ng==12.2.0=h65d4601_19
- conda-forge/linux-64::bzip2==1.0.8=h7f98852_4
- conda-forge/linux-64::cudatoolkit==11.3.1=h9edb442_11
- conda-forge/linux-64::gmp==6.2.1=h58526e2_0
- conda-forge/linux-64::jpeg==9e=h166bdaf_2
- conda-forge/linux-64::lame==3.100=h166bdaf_1003
- conda-forge/linux-64::lerc==4.0.0=h27087fc_0
- conda-forge/linux-64::libdeflate==1.17=h0b41bf4_0
- conda-forge/linux-64::libffi==3.4.2=h7f98852_5
- conda-forge/linux-64::libnsl==2.0.0=h7f98852_0
- conda-forge/linux-64::libuuid==2.32.1=h7f98852_1000
- conda-forge/linux-64::libwebp-base==1.2.4=h166bdaf_0
- conda-forge/linux-64::libzlib==1.2.13=h166bdaf_4
- conda-forge/linux-64::ncurses==6.3=h27087fc_1
- conda-forge/linux-64::nettle==3.6=he412f7d_0
- conda-forge/linux-64::ninja==1.11.0=h924138e_0
- conda-forge/linux-64::openssl==3.0.8=h0b41bf4_0
- conda-forge/linux-64::pthread-stubs==0.4=h36c2ea0_1001
- conda-forge/linux-64::sleef==3.5.1=h9b69904_2
- conda-forge/linux-64::x264==1!161.3030=h7f98852_1
- conda-forge/linux-64::xorg-libxau==1.0.9=h7f98852_0
- conda-forge/linux-64::xorg-libxdmcp==1.1.3=h7f98852_0
- conda-forge/linux-64::xz==5.2.6=h166bdaf_0
- conda-forge/linux-64::gnutls==3.6.13=h85f3911_1
- conda-forge/linux-64::libpng==1.6.39=h753d276_0
- conda-forge/linux-64::libsqlite==3.40.0=h753d276_0
- conda-forge/linux-64::libxcb==1.13=h7f98852_1004
- conda-forge/linux-64::readline==8.1.2=h0f457ee_0
- conda-forge/linux-64::tk==8.6.12=h27826a3_0
- conda-forge/linux-64::zlib==1.2.13=h166bdaf_4
- conda-forge/linux-64::zstd==1.5.2=h3eb15da_6
- conda-forge/linux-64::freetype==2.12.1=hca18f0e_1
- defaults/linux-64::intel-openmp==2022.1.0=h9e868ea_3769
- conda-forge/linux-64::libprotobuf==3.19.4=h780b84a_0
- conda-forge/linux-64::libtiff==4.5.0=h6adf6a1_2
- conda-forge/linux-64::openh264==2.1.1=h780b84a_0
- conda-forge/linux-64::python==3.9.16=h2782a2a_0_cpython
- conda-forge/linux-64::ffmpeg==4.3.2=h37c90e5_3
- conda-forge/noarch::future==0.18.3=pyhd8ed1ab_0
- conda-forge/linux-64::lcms2==2.14=hfd0df8a_1
- defaults/linux-64::mkl==2022.1.0=hc2b9512_224
- conda-forge/linux-64::openjpeg==2.5.0=hfec8fc6_2
- conda-forge/noarch::pycparser==2.21=pyhd8ed1ab_0
- conda-forge/linux-64::setuptools==59.5.0=py39hf3d152e_0
- conda-forge/noarch::typing_extensions==4.4.0=pyha770c72_0
- conda-forge/noarch::wheel==0.38.4=pyhd8ed1ab_0
- conda-forge/linux-64::cffi==1.15.1=py39he91dace_3
- conda-forge/linux-64::libblas==3.9.0=16_linux64_mkl
- conda-forge/linux-64::pillow==9.4.0=py39h2320bf1_1
- conda-forge/noarch::pip==23.0=pyhd8ed1ab_0
- conda-forge/linux-64::libcblas==3.9.0=16_linux64_mkl
- conda-forge/linux-64::liblapack==3.9.0=16_linux64_mkl
- conda-forge/linux-64::numpy==1.24.2=py39h7360e5f_0
- conda-forge/linux-64::pytorch==1.10.2=cpu_py39h5e9ed0b_1
- conda-forge/linux-64::torchvision==0.11.3=cpu_py39hfc47f1b_2 classic$ CONDA_SUBDIR=linux-64 conda env create -f ipcoder.yaml --dry-run
Collecting package metadata (repodata.json): done
Solving environment: done
name: ipcoder
channels:
- conda-forge
- defaults
dependencies:
- conda-forge/linux-64::_libgcc_mutex==0.1=conda_forge
- conda-forge/linux-64::ca-certificates==2022.12.7=ha878542_0
- conda-forge/linux-64::ld_impl_linux-64==2.40=h41732ed_0
- conda-forge/linux-64::libstdcxx-ng==12.2.0=h46fd767_19
- conda-forge/linux-64::python_abi==3.9=3_cp39
- conda-forge/noarch::tzdata==2022g=h191b570_0
- conda-forge/linux-64::_openmp_mutex==4.5=2_kmp_llvm
- conda-forge/linux-64::libgcc-ng==12.2.0=h65d4601_19
- conda-forge/linux-64::bzip2==1.0.8=h7f98852_4
- conda-forge/linux-64::cudatoolkit==11.3.1=h9edb442_11
- conda-forge/linux-64::gmp==6.2.1=h58526e2_0
- conda-forge/linux-64::icu==70.1=h27087fc_0
- conda-forge/linux-64::jpeg==9e=h166bdaf_2
- conda-forge/linux-64::lame==3.100=h166bdaf_1003
- conda-forge/linux-64::lerc==4.0.0=h27087fc_0
- conda-forge/linux-64::libdeflate==1.17=h0b41bf4_0
- conda-forge/linux-64::libffi==3.4.2=h7f98852_5
- conda-forge/linux-64::libiconv==1.17=h166bdaf_0
- conda-forge/linux-64::libnsl==2.0.0=h7f98852_0
- conda-forge/linux-64::libuuid==2.32.1=h7f98852_1000
- conda-forge/linux-64::libwebp-base==1.2.4=h166bdaf_0
- conda-forge/linux-64::libzlib==1.2.13=h166bdaf_4
- conda-forge/linux-64::ncurses==6.3=h27087fc_1
- conda-forge/linux-64::nettle==3.6=he412f7d_0
- conda-forge/linux-64::ninja==1.11.0=h924138e_0
- conda-forge/linux-64::openssl==3.0.8=h0b41bf4_0
- conda-forge/linux-64::pthread-stubs==0.4=h36c2ea0_1001
- conda-forge/linux-64::sleef==3.5.1=h9b69904_2
- conda-forge/linux-64::x264==1!161.3030=h7f98852_1
- conda-forge/linux-64::xorg-libxau==1.0.9=h7f98852_0
- conda-forge/linux-64::xorg-libxdmcp==1.1.3=h7f98852_0
- conda-forge/linux-64::xz==5.2.6=h166bdaf_0
- conda-forge/linux-64::gnutls==3.6.13=h85f3911_1
- conda-forge/linux-64::libpng==1.6.39=h753d276_0
- conda-forge/linux-64::libsqlite==3.40.0=h753d276_0
- conda-forge/linux-64::libxcb==1.13=h7f98852_1004
- conda-forge/linux-64::libxml2==2.10.3=h7463322_0
- conda-forge/linux-64::llvm-openmp==15.0.7=h0cdce71_0
- conda-forge/linux-64::readline==8.1.2=h0f457ee_0
- conda-forge/linux-64::tk==8.6.12=h27826a3_0
- conda-forge/linux-64::zlib==1.2.13=h166bdaf_4
- conda-forge/linux-64::zstd==1.5.2=h3eb15da_6
- conda-forge/linux-64::freetype==2.12.1=hca18f0e_1
- conda-forge/linux-64::libhwloc==2.8.0=h32351e8_1
- conda-forge/linux-64::libprotobuf==3.19.4=h780b84a_0
- conda-forge/linux-64::libtiff==4.5.0=h6adf6a1_2
- conda-forge/linux-64::openh264==2.1.1=h780b84a_0
- conda-forge/linux-64::python==3.9.16=h2782a2a_0_cpython
- conda-forge/linux-64::ffmpeg==4.3.2=h37c90e5_3
- conda-forge/noarch::future==0.18.3=pyhd8ed1ab_0
- conda-forge/linux-64::lcms2==2.14=hfd0df8a_1
- conda-forge/linux-64::openjpeg==2.5.0=hfec8fc6_2
- conda-forge/noarch::pycparser==2.21=pyhd8ed1ab_0
- conda-forge/linux-64::setuptools==59.5.0=py39hf3d152e_0
- conda-forge/linux-64::tbb==2021.7.0=h924138e_1
- conda-forge/noarch::typing_extensions==4.4.0=pyha770c72_0
- conda-forge/noarch::wheel==0.38.4=pyhd8ed1ab_0
- conda-forge/linux-64::cffi==1.15.1=py39he91dace_3
- conda-forge/linux-64::mkl==2022.2.1=h84fe81f_16997
- conda-forge/linux-64::pillow==9.4.0=py39h2320bf1_1
- conda-forge/noarch::pip==23.0=pyhd8ed1ab_0
- conda-forge/linux-64::libblas==3.9.0=16_linux64_mkl
- conda-forge/linux-64::libcblas==3.9.0=16_linux64_mkl
- conda-forge/linux-64::liblapack==3.9.0=16_linux64_mkl
- conda-forge/linux-64::numpy==1.24.2=py39h7360e5f_0
- conda-forge/linux-64::pytorch==1.10.2=cpu_py39h5e9ed0b_1
- conda-forge/linux-64::torchvision==0.11.3=cpu_py39h955d6d4_2 |
Wow you are right @daico007. I saw |
Hi @daico007, I have looked a bit further into your reproducer. I just realized you are not specifying any particular IOW, If you specify any Python version, you do get 1.8.2. This works even with More details:
|
Checklist
What happened?
One of our users bump into an issue when trying to install a package using conda, specifically conda is grabbing an incorrect version of a dependent package. He tried again with
mamba
and everything works fine.I was able to narrow down the issue to be with the version constraint in our
environment.yml
, specifically,conda
was trying to grab a very old version, whilemamba
the most recent one less the constraint.To reproduce the issue:
Conda
Result
Mamba
Result
This might be relate to this #64, but since both are grabbing the same
openssl
make me unsure. Also, the way the two version differentiate (1.8.2 vs 0.18.2) make we think it may be a parsing issue?Conda Details
conda info
conda config
conda list
The text was updated successfully, but these errors were encountered: