Skip to content

requirements can't be installed #323

@ajmay81

Description

@ajmay81

Perhaps relates to #319. When attempting to build the following Dockerfile:

FROM opensuse/leap:16.0

RUN zypper in -y curl

RUN export MINICONDA="Miniforge3-Linux-x86_64.sh" && \
    curl -LsO https://github.com/conda-forge/miniforge/releases/latest/download/${MINICONDA} && \
    chmod +x ${MINICONDA} && ./${MINICONDA} -b && \
    . ${HOME}/miniforge3/etc/profile.d/conda.sh && conda init && \
    conda activate && conda update -y --all && \
    rm ${MINICONDA}

RUN . ~/.bashrc && \
    curl -LsO https://raw.githubusercontent.com/molpro/iMolpro/master/requirements.txt && \
    conda install -y --file=requirements.txt && \
    rm requirements.txt

I get for the last step:

Step 13/17 : RUN . ~/.bashrc &&     curl -LsO https://raw.githubusercontent.com/molpro/iMolpro/master/requirements.txt &&     conda install -y --file=requirements.txt &&     rm requirements.txt
 ---> Running in c208409d5c03
Channels:
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package git-2.49.0-pl5321h59d505e_0 requires pcre2 >=10.44,<10.45.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ git ==2.49 * is installable with the potential options
│  ├─ git 2.49.0 would require
│  │  └─ pcre2 >=10.44,<10.45.0a0 *, which can be installed;
│  └─ git 2.49.0 would require
│     └─ pcre2 >=10.45,<10.46.0a0 *, which can be installed;
├─ mamba ==2.3.3 * is installable and it requires
│  └─ libmamba [==2.3.3 h09abcb8_2|==2.3.3 hae34dd5_0|>=2.3.3,<2.4.0a0 *] with the potential options
│     ├─ libmamba 2.3.3 would require
│     │  └─ libarchive >=3.8.2,<3.9.0a0 *, which requires
│     │     └─ libxml2-16 >=2.14.6 * with the potential options
│     │        ├─ libxml2-16 2.14.6 would require
│     │        │  ├─ icu >=75.1,<76.0a0 *, which can be installed;
│     │        │  └─ libxml2 ==2.14.6 *, which can be installed;
│     │        ├─ libxml2-16 [2.14.6|2.15.0|2.15.1] would require
│     │        │  └─ icu <0.0a0 *, which conflicts with any installable versions previously reported;
│     │        ├─ libxml2-16 2.15.0 would require
│     │        │  ├─ icu >=75.1,<76.0a0 *, which can be installed;
│     │        │  └─ libxml2 ==2.15.0 *, which can be installed;
│     │        └─ libxml2-16 2.15.1 would require
│     │           ├─ icu >=75.1,<76.0a0 *, which can be installed;
│     │           └─ libxml2 ==2.15.1 *, which can be installed;
│     └─ libmamba 2.3.3 would require
│        └─ libarchive >=3.8.2,<3.9.0a0 *, which can be installed (as previously explained);
├─ pin on python =3.12 * is installable and it requires
│  └─ python =3.12 *, which can be installed;
├─ pyqtwebengine >=5.15 * is not installable because there are no viable options
│  ├─ pyqtwebengine 5.15.9 would require
│  │  └─ qt-main >=5.15.8,<5.16.0a0 * but there are no viable options
│  │     ├─ qt-main 5.15.15 would require
│  │     │  └─ harfbuzz >=12.1.0 *, which requires
│  │     │     └─ libglib >=2.86.0,<3.0a0 *, which requires
│  │     │        └─ pcre2 >=10.46,<10.47.0a0 *, which conflicts with any installable versions previously reported;
│  │     ├─ qt-main [5.15.15|5.15.8] would require
│  │     │  └─ libxml2 >=2.12.7,<2.14.0a0 * but there are no viable options
│  │     │     ├─ libxml2 [2.12.7|2.13.3|2.13.4] conflicts with any installable versions previously reported;
│  │     │     ├─ libxml2 [2.13.8|2.13.9] conflicts with any installable versions previously reported;
│  │     │     ├─ libxml2 [2.13.3|2.13.4|...|2.13.9] would require
│  │     │     │  └─ icu <0.0a0 *, which conflicts with any installable versions previously reported;
│  │     │     ├─ libxml2 2.13.7 conflicts with any installable versions previously reported;
│  │     │     ├─ libxml2 [2.13.5|2.13.6] conflicts with any installable versions previously reported;
│  │     │     └─ libxml2 2.12.7 would require
│  │     │        └─ icu >=73.2,<74.0a0 *, which conflicts with any installable versions previously reported;
│  │     ├─ qt-main 5.15.15 would require
│  │     │  ├─ libxcb >=1.17.0,<2.0a0 *, which can be installed;
│  │     │  └─ libxml2 >=2.13.8,<2.14.0a0 * but there are no viable options
│  │     │     ├─ libxml2 [2.13.8|2.13.9] conflicts with any installable versions previously reported;
│  │     │     └─ libxml2 [2.13.3|2.13.4|...|2.13.9], which cannot be installed (as previously explained);
│  │     ├─ qt-main 5.15.15 would require
│  │     │  ├─ libxcb >=1.17.0,<2.0a0 *, which can be installed;
│  │     │  └─ libxml2 >=2.13.5,<2.14.0a0 * but there are no viable options
│  │     │     ├─ libxml2 [2.13.8|2.13.9] conflicts with any installable versions previously reported;
│  │     │     ├─ libxml2 [2.13.3|2.13.4|...|2.13.9], which cannot be installed (as previously explained);
│  │     │     ├─ libxml2 2.13.7 conflicts with any installable versions previously reported;
│  │     │     └─ libxml2 [2.13.5|2.13.6] conflicts with any installable versions previously reported;
│  │     ├─ qt-main 5.15.15 would require
│  │     │  ├─ libxcb >=1.17.0,<2.0a0 *, which can be installed;
│  │     │  └─ libxml2 >=2.13.7,<2.14.0a0 * but there are no viable options
│  │     │     ├─ libxml2 [2.13.8|2.13.9] conflicts with any installable versions previously reported;
│  │     │     ├─ libxml2 [2.13.3|2.13.4|...|2.13.9], which cannot be installed (as previously explained);
│  │     │     └─ libxml2 2.13.7 conflicts with any installable versions previously reported;
│  │     ├─ qt-main 5.15.8 would require
│  │     │  ├─ icu >=72.1,<73.0a0 *, which conflicts with any installable versions previously reported;
│  │     │  └─ libxcb >=1.15,<1.16.0a0 *, which conflicts with any installable versions previously reported;
│  │     ├─ qt-main 5.15.8 would require
│  │     │  ├─ icu >=73.2,<74.0a0 *, which conflicts with any installable versions previously reported;
│  │     │  └─ libxcb >=1.15,<1.16.0a0 *, which conflicts with any installable versions previously reported;
│  │     ├─ qt-main 5.15.8 would require
│  │     │  └─ icu >=73.2,<74.0a0 *, which conflicts with any installable versions previously reported;
│  │     ├─ qt-main 5.15.8 would require
│  │     │  ├─ icu >=72.1,<73.0a0 *, which conflicts with any installable versions previously reported;
│  │     │  └─ libxcb >=1.13,<1.14.0a0 *, which conflicts with any installable versions previously reported;
│  │     └─ qt-main 5.15.8 would require
│  │        ├─ icu >=70.1,<71.0a0 *, which conflicts with any installable versions previously reported;
│  │        └─ libxcb >=1.13,<1.14.0a0 *, which conflicts with any installable versions previously reported;
│  ├─ pyqtwebengine [5.15.10|5.15.11|5.15.4|5.15.7|5.15.9] would require
│  │  └─ python >=3.10,<3.11.0a0 *, which conflicts with any installable versions previously reported;
│  ├─ pyqtwebengine [5.15.10|5.15.11|5.15.7|5.15.9] would require
│  │  └─ python >=3.11,<3.12.0a0 *, which conflicts with any installable versions previously reported;
│  ├─ pyqtwebengine [5.15.10|5.15.11] would require
│  │  ├─ qt-main >=5.15.15,<5.16.0a0 *, which cannot be installed (as previously explained);
│  │  └─ qt-webengine >=5.15.15,<5.16.0a0 * but there are no viable options
│  │     ├─ qt-webengine 5.15.15 would require
│  │     │  ├─ libxml2 >=2.12.7,<2.14.0a0 * but there are no viable options
│  │     │  │  ├─ libxml2 [2.12.7|2.13.3|2.13.4] conflicts with any installable versions previously reported;
│  │     │  │  ├─ libxml2 [2.13.8|2.13.9] conflicts with any installable versions previously reported;
│  │     │  │  ├─ libxml2 [2.13.3|2.13.4|...|2.13.9], which cannot be installed (as previously explained);
│  │     │  │  ├─ libxml2 2.13.7 conflicts with any installable versions previously reported;
│  │     │  │  ├─ libxml2 [2.13.5|2.13.6] conflicts with any installable versions previously reported;
│  │     │  │  └─ libxml2 2.12.7, which cannot be installed (as previously explained);
│  │     │  └─ qt-main >=5.15.15,<5.16.0a0 *, which cannot be installed (as previously explained);
│  │     └─ qt-webengine 5.15.15 would require
│  │        └─ libxml2 >=2.13.7,<2.14.0a0 * but there are no viable options
│  │           ├─ libxml2 [2.13.8|2.13.9] conflicts with any installable versions previously reported;
│  │           ├─ libxml2 [2.13.3|2.13.4|...|2.13.9], which cannot be installed (as previously explained);
│  │           └─ libxml2 2.13.7 conflicts with any installable versions previously reported;
│  ├─ pyqtwebengine [5.15.10|5.15.11] would require
│  │  └─ python >=3.13,<3.14.0a0 *, which conflicts with any installable versions previously reported;
│  ├─ pyqtwebengine [5.15.10|5.15.11|5.15.4|5.15.7|5.15.9] would require
│  │  └─ python >=3.9,<3.10.0a0 *, which conflicts with any installable versions previously reported;
│  ├─ pyqtwebengine 5.15.11 would require
│  │  └─ python >=3.14.0rc3,<3.15.0a0 * but there are no viable options
│  │     ├─ python 3.14.0 conflicts with any installable versions previously reported;
│  │     └─ python 3.14.0rc3 would require
│  │        └─ _python_rc =* *, which does not exist (perhaps a missing channel);
│  ├─ pyqtwebengine [5.15.4|5.15.7|5.15.9] would require
│  │  └─ python >=3.8,<3.9.0a0 *, which conflicts with any installable versions previously reported;
│  └─ pyqtwebengine [5.15.4|5.15.7] would require
│     └─ python >=3.7,<3.8.0a0 *, which conflicts with any installable versions previously reported;
└─ pysjef >=1.41.2 * is installable with the potential options
   ├─ pysjef [1.41.2|1.42.0|1.42.1|1.42.2|1.42.3] would require
   │  └─ libboost [>=1.84.0,<1.85.0a0 *|>=1.86.0,<1.87.0a0 *] with the potential options
   │     ├─ libboost [1.84.0|1.86.0] would require
   │     │  └─ icu >=75.1,<76.0a0 *, which can be installed;
   │     └─ libboost [1.84.0|1.86.0] would require
   │        └─ icu >=73.2,<74.0a0 *, which conflicts with any installable versions previously reported;
   ├─ pysjef [1.41.2|1.42.0|1.42.1|1.42.2|1.42.3] would require
   │  └─ python >=3.10,<3.11.0a0 *, which conflicts with any installable versions previously reported;
   ├─ pysjef [1.41.2|1.42.0|1.42.1|1.42.2|1.42.3] would require
   │  └─ python >=3.11,<3.12.0a0 *, which conflicts with any installable versions previously reported;
   ├─ pysjef [1.41.2|1.42.0|1.42.1|1.42.2|1.42.3] would require
   │  └─ python >=3.13,<3.14.0a0 *, which conflicts with any installable versions previously reported;
   ├─ pysjef 1.41.2 would require
   │  └─ python >=3.9,<3.10.0a0 *, which conflicts with any installable versions previously reported;
   └─ pysjef 1.42.3 would require
      └─ python >=3.14,<3.15.0a0 *, which conflicts with any installable versions previously reported.

Pins seem to be involved in the conflict. Currently pinned specs:
 - python=3.12

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions