Skip to content

Commit 08eb5be

Browse files
committed
try with rc channel
1 parent b1c2e60 commit 08eb5be

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

.ci/azure/setup_env.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -ex #echo on and exit if any line fails
55
is_azure=$(echo "${TF_BUILD:-false}" | tr '[:upper:]' '[:lower:]')
66
do_doc=$(echo "${DOC_BUILD:-false}" | tr '[:upper:]' '[:lower:]')
77
is_free_threaded=$(echo "${PYTHON_FREETHREADING:-false}" | tr '[:upper:]' '[:lower:]')
8+
is_rc=$(echo "${PYTHON_RELEASE_CANDIDATE:-false}" | tr '[:upper:]' '[:lower:]')
89

910
if ${is_azure}
1011
then
@@ -19,11 +20,21 @@ then
1920
cp .ci/environment_test_bare.yml environment_test_with_pyversion.yml
2021
echo " - python-freethreading="$PYTHON_VERSION >> environment_test_with_pyversion.yml
2122
else
22-
cp .ci/environment_test.yml environment_test_with_pyversion.yml
23+
if ${is_rc}
24+
then
25+
cp .ci/environment_test_bare.yml environment_test_with_pyversion.yml
26+
else
27+
cp .ci/environment_test.yml environment_test_with_pyversion.yml
28+
fi
2329
echo " - python="$PYTHON_VERSION >> environment_test_with_pyversion.yml
2430
fi
2531

32+
if ${is_rc}
33+
then
34+
conda env create --file environment_test_with_pyversion.yml -c conda-forge -c conda-forge/label/python_rc --override-channels
35+
else
2636
conda env create --file environment_test_with_pyversion.yml
37+
fi
2738
rm environment_test_with_pyversion.yml
2839

2940
if ${is_azure}

.ci/azure/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
coverage: True
2020
linux-Python314:
2121
image: ubuntu-latest
22-
python.version: '3.14.0.rc3'
22+
python.version: '3.14'
23+
python.release_candidate: True
2324
osx-Python311:
2425
image: macOS-latest
2526
python.version: '3.11'
@@ -35,7 +36,8 @@ jobs:
3536
python.freethreading: True
3637
osx-Python314:
3738
image: macOS-latest
38-
python.version: '3.14.0.rc3'
39+
python.version: '3.14'
40+
python.release_candidate: True
3941
win-Python311:
4042
image: windows-latest
4143
python.version: '3.11'
@@ -51,7 +53,8 @@ jobs:
5153
python.freethreading: True
5254
win-Python314:
5355
image: windows-latest
54-
python.version: '3.14.0.rc3'
56+
python.version: '3.14.0'
57+
python.release_candidate: True
5558
displayName: "${{ variables.image }} ${{ variables.python.version }}"
5659
pool:
5760
vmImage: $(image)

0 commit comments

Comments
 (0)