Skip to content

conda + py314: libmamba Could not solve for environment specs #342

@pllim

Description

@pllim

I really want to a grab a C program from conda-forge for this test. The Python version should not have mattered and yet it is not working. Is this a bug in OpenAstronomy workflow? Am I missing something?

tox.ini

[tox]
env_list =
    py{311,312,313,314}
isolated_build = True

[testenv]
description =
    run tests
extras = tests
conda_deps =
    hstcal
conda_channels =
    conda-forge
commands_pre =
    pip freeze
commands =
    pytest -v {posargs}

GitHub job:

jobs:
  test:
    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@9f1fedda61294df4c004c05519a3fbf3b8e1f32f  # v2.3.1
    with:
      conda: true
      envs: |
        - linux: py314

The error:

  error    libmamba Could not solve for environment specs
      The following packages are incompatible
      ├─ conda =* * is installable with the potential options
      │  ├─ conda [4.1.11|4.1.12|...|4.8.2] would require
      │  │  └─ python_abi =* *_cp27mu, which can be installed;
      │  ├─ conda [22.11.1|22.9.0|...|4.14.0] would require
      │  │  └─ python >=3.10,<3.11.0a0 *, which can be installed;
      │  ├─ conda [22.11.1|22.9.0|...|25.9.1] would require
      │  │  └─ python >=3.11,<3.12.0a0 *, which can be installed;
      │  ├─ conda [22.11.1|22.9.0|...|4.14.0] would require
      │  │  └─ python_abi ==3.8 *_pypy38_pp73, which requires
      │  │     └─ python =3.8 *_73_pypy, which can be installed;
      │  ├─ conda [22.11.1|22.9.0|...|4.9.2] would require
      │  │  └─ python >=3.8,<3.9.0a0 *, which can be installed;
      │  ├─ conda [22.11.1|22.9.0|...|4.14.0] would require
      │  │  └─ python_abi ==3.9 *_pypy39_pp73, which requires
      │  │     └─ python =3.9 *_73_pypy, which can be installed;
      │  ├─ conda [22.11.1|22.9.0|...|4.9.2] would require
      │  │  └─ python >=3.9,<3.10.0a0 *, which can be installed;
      │  ├─ conda [23.10.0|23.11.0|...|25.9.1] would require
      │  │  └─ python_abi =3.12 *_cp312, which requires
      │  │     └─ python =3.12 *_cpython, which can be installed;
      │  ├─ conda [25.1.1|25.11.0|...|25.9.1] would require
      │  │  └─ python_abi =3.13 *_cp313 with the potential options
      │  │     ├─ python_abi 3.13 would require
      │  │     │  └─ python =3.13 *_cpython, which can be installed;
      │  │     └─ python_abi 3.13 would require
      │  │        └─ python =3.13 *_cp313, which can be installed;
      │  ├─ conda [22.9.0|4.10.0|...|4.9.2] would require
      │  │  └─ python >=3.7,<3.8.0a0 *, which can be installed;
      │  ├─ conda [4.1.11|4.1.12|4.2.13] would require
      │  │  └─ python_abi =* *_cp34m, which can be installed;
      │  ├─ conda [4.1.11|4.1.12|...|4.5.9] would require
      │  │  └─ python_abi =* *_cp35m, which can be installed;
      │  ├─ conda [4.10.0|4.10.1|...|4.9.2] would require
      │  │  └─ python >=3.6,<3.7.0a0 * with the potential options
      │  │     ├─ python [3.6.0|3.6.1|...|3.6.9], which can be installed;
      │  │     └─ python 3.6.12 would require
      │  │        └─ pypy3.6 =7.3.3 *, which requires
      │  │           └─ python =3.6 *_73_pypy, which can be installed;
      │  ├─ conda [4.10.0|4.10.1|...|4.9.2] would require
      │  │  ├─ pypy3.6 >=7.3.3 *, which can be installed (as previously explained);
      │  │  └─ python_abi ==3.6 *_pypy36_pp73, which requires
      │  │     └─ python =3.6 *_73_pypy, which can be installed;
      │  ├─ conda [4.10.1|4.10.2|...|4.13.0] would require
      │  │  └─ python_abi ==3.7 *_pypy37_pp73, which requires
      │  │     └─ python =3.7 *_73_pypy, which can be installed;
      │  ├─ conda [4.2.13|4.3.21|...|4.8.2] would require
      │  │  └─ python_abi =* *_cp36m, which can be installed;
      │  ├─ conda [4.5.11|4.5.12|...|4.8.2] would require
      │  │  └─ python_abi =* *_cp37m, which can be installed;
      │  ├─ conda [4.7.12|4.8.0|4.8.2] would require
      │  │  └─ python_abi =* *_cp38, which can be installed;
      │  └─ conda 4.8.3 would require
      │     └─ python >=2.7,<2.8.0a0 *, which can be installed;
      └─ python =3.14 * is not installable because there are no viable options
         ├─ python [3.14.0|3.14.1|3.14.2] would require
         │  └─ python_abi =3.14 *_cp314, which conflicts with any installable versions previously reported;
         ├─ python [3.14.0|3.14.1|3.14.2] would require
         │  └─ python_abi =3.14 *_cp314t, which conflicts with any installable versions previously reported;
         └─ python [3.14.0rc1|3.14.0rc2|3.14.0rc3] would require
            └─ _python_rc =* *, which does not exist (perhaps a missing channel).
  critical libmamba Could not solve for environment specs
  Error: The process '/home/runner/micromamba-bin/micromamba' failed with exit code 1

Also see:

Metadata

Metadata

Assignees

No one assigned

    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