Skip to content

update workflows to pin python-3.12 when installing conda-build #178

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

Merged
merged 1 commit into from
May 6, 2025

Conversation

vtavana
Copy link
Collaborator

@vtavana vtavana commented May 5, 2025

conda-build is not available for python-3.13. In this PR, python-3.12 is pinned to be used when installing conda-build.

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package conda-build-3.0.22-py27h62b9468_0 requires python >=2.7,<2.8.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ conda-build =* * is installable with the potential options
│  ├─ conda-build [24.1.0|24.1.1|...|3.28.4] would require
│  │  └─ python >=3.10,<3.11.0a0 *, which can be installed;
│  ├─ conda-build [24.1.0|24.1.1|...|3.28.4] would require
│  │  └─ python >=3.11,<3.12.0a0 *, which can be installed;
│  ├─ conda-build [24.1.0|24.1.1|...|25.4.2] would require
│  │  └─ python >=3.12,<3.13.0a0 *, which can be installed;
│  ├─ conda-build [24.1.0|24.1.1|...|3.28.4] would require
│  │  └─ python >=3.8,<3.9.0a0 *, which can be installed;
│  ├─ conda-build [24.1.0|24.1.1|...|3.28.4] would require
│  │  └─ python >=3.9,<3.10.0a0 *, which can be installed;
│  ├─ conda-build [3.0.[22]|3.0.23|...|3.9.2] would require
│  │  └─ python >=2.7,<2.8.0a0 *, which can be installed;
│  ├─ conda-build [3.0.22|3.0.[23]|...|3.9.2] would require
│  │  └─ python >=3.5,<3.6.0a0 *, which can be installed;
│  ├─ conda-build [3.0.22|3.0.23|...|3.9.2] would require
│  │  └─ python >=3.6,<3.7.0a0 *, which can be installed;
│  └─ conda-build [3.10.9|3.11.0|...|3.23.3] would require
│     └─ python >=3.7,<3.8.0a0 *, which can be installed;
└─ pin on python 3.13.* =* * is not installable because it requires
   └─ python =3.13 *, which conflicts with any installable versions previously reported.

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

@vtavana vtavana force-pushed the work-flow branch 30 times, most recently from 7e037e8 to 2c41478 Compare May 6, 2025 13:12
@vtavana vtavana force-pushed the work-flow branch 4 times, most recently from 6d8b166 to 8520d86 Compare May 6, 2025 14:09
@vtavana vtavana changed the title update workflows update workflows to pin python-3.12 when installing conda-build May 6, 2025
@vtavana vtavana self-assigned this May 6, 2025
@vtavana vtavana marked this pull request as ready for review May 6, 2025 15:17
@Copilot Copilot AI review requested due to automatic review settings May 6, 2025 15:17
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the GitHub Actions workflows to pin Python to version 3.12 when installing conda-build, addressing incompatibility issues with Python 3.13.

  • Pin Python version to 3.12 during conda-build installation
  • Updates made in both conda-package and conda-package-cf workflow files

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/conda-package.yml Updated conda install commands to include python=3.12
.github/workflows/conda-package-cf.yml Updated conda install commands to include python=3.12

@vtavana vtavana merged commit 35f2dbf into master May 6, 2025
57 checks passed
@vtavana vtavana deleted the work-flow branch May 6, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants