Skip to content

Commit 0df738e

Browse files
committed
Make CI resolve the Python 3.15 release candidate
3.15 is still a pre-release: conda-forge gates it behind the python_rc label and actions/setup-python has no stable 3.15 yet. - Add conda-forge/label/python_rc to the conda env channels and to the conda build/install channel lists (conda-package, conda-package-cf, build_pip). - Set allow-prereleases: true for setup-python in both clang workflows. - Add fail-fast: false to build_pip and the clang workflows so a 3.15 failure no longer cancels the other Python jobs. These RC accommodations should be reverted once 3.15 is final.
1 parent a7653e2 commit 0df738e

6 files changed

Lines changed: 18 additions & 8 deletions

File tree

‎.github/workflows/build-with-clang.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
strategy:
17+
fail-fast: false
1718
matrix:
1819
python: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15"]
1920

@@ -47,6 +48,8 @@ jobs:
4748
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
4849
with:
4950
python-version: ${{ matrix.python }}
51+
# allow the 3.15 release candidate until 3.15 is final
52+
allow-prereleases: true
5053
architecture: x64
5154

5255
- name: Checkout repo

‎.github/workflows/build-with-standard-clang.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
strategy:
16+
fail-fast: false
1617
matrix:
1718
python: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15"]
1819

@@ -38,6 +39,8 @@ jobs:
3839
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3940
with:
4041
python-version: ${{ matrix.python }}
42+
# allow the 3.15 release candidate until 3.15 is final
43+
allow-prereleases: true
4144
architecture: x64
4245

4346
- name: Checkout repo

‎.github/workflows/build_pip.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
shell: bash -el {0}
1818

1919
strategy:
20+
fail-fast: false
2021
matrix:
2122
python: ["3.10", "3.11", "3.12", "3.13"]
2223
include:
@@ -36,7 +37,8 @@ jobs:
3637
- uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
3738
with:
3839
miniforge-version: latest
39-
channels: conda-forge
40+
# python_rc label carries the 3.15 release candidate; drop once 3.15 is final
41+
channels: conda-forge,conda-forge/label/python_rc
4042
activate-environment: test
4143
python-version: ${{ matrix.python }}
4244

‎.github/workflows/conda-build-test.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ jobs:
8181
with:
8282
miniforge-version: latest
8383
activate-environment: ${{ env.build-env-name }}
84-
channels: conda-forge
84+
# python_rc label carries the 3.15 release candidate; drop once 3.15 is final
85+
channels: conda-forge,conda-forge/label/python_rc
8586
python-version: ${{ matrix.python }}
8687

8788
- name: Cache conda packages
@@ -173,7 +174,8 @@ jobs:
173174
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
174175
with:
175176
miniforge-version: latest
176-
channels: conda-forge
177+
# python_rc label carries the 3.15 release candidate; drop once 3.15 is final
178+
channels: conda-forge,conda-forge/label/python_rc
177179
activate-environment: ${{ env.test-env-name }}
178180
python-version: ${{ matrix.python }}
179181

‎.github/workflows/conda-package-cf.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
conda-subdir: linux-64
2323
pkgs-dir: /home/runner/conda_pkgs_dir
24-
channels-list: -c conda-forge --override-channels
24+
channels-list: -c conda-forge -c conda-forge/label/python_rc --override-channels
2525
recipe-dir: conda-recipe-cf
2626

2727
windows:
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: windows-latest
3232
conda-subdir: win-64
3333
pkgs-dir: D:\conda_pkgs_dir
34-
channels-list: -c conda-forge --override-channels
34+
channels-list: -c conda-forge -c conda-forge/label/python_rc --override-channels
3535
recipe-dir: conda-recipe-cf
3636

3737
osx:
@@ -41,5 +41,5 @@ jobs:
4141
runs-on: macos-26-intel
4242
conda-subdir: osx-64
4343
pkgs-dir: /Users/runner/conda_pkgs_dir
44-
channels-list: -c conda-forge --override-channels
44+
channels-list: -c conda-forge -c conda-forge/label/python_rc --override-channels
4545
recipe-dir: conda-recipe-cf

‎.github/workflows/conda-package.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
conda-subdir: linux-64
2323
pkgs-dir: /home/runner/conda_pkgs_dir
24-
channels-list: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
24+
channels-list: -c https://software.repos.intel.com/python/conda -c conda-forge -c conda-forge/label/python_rc --override-channels
2525
recipe-dir: conda-recipe
2626
build-wheels: true
2727

@@ -32,6 +32,6 @@ jobs:
3232
runs-on: windows-latest
3333
conda-subdir: win-64
3434
pkgs-dir: D:\conda_pkgs_dir
35-
channels-list: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
35+
channels-list: -c https://software.repos.intel.com/python/conda -c conda-forge -c conda-forge/label/python_rc --override-channels
3636
recipe-dir: conda-recipe
3737
build-wheels: true

0 commit comments

Comments
 (0)