File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ set -ex #echo on and exit if any line fails
55is_azure=$( echo " ${TF_BUILD:- false} " | tr ' [:upper:]' ' [:lower:]' )
66do_doc=$( echo " ${DOC_BUILD:- false} " | tr ' [:upper:]' ' [:lower:]' )
77is_free_threaded=$( echo " ${PYTHON_FREETHREADING:- false} " | tr ' [:upper:]' ' [:lower:]' )
8+ is_rc=$( echo " ${PYTHON_RELEASE_CANDIDATE:- false} " | tr ' [:upper:]' ' [:lower:]' )
89
910if ${is_azure}
1011then
1920 cp .ci/environment_test_bare.yml environment_test_with_pyversion.yml
2021 echo " - python-freethreading=" $PYTHON_VERSION >> environment_test_with_pyversion.yml
2122else
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
2430fi
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
2636conda env create --file environment_test_with_pyversion.yml
37+ fi
2738rm environment_test_with_pyversion.yml
2839
2940if ${is_azure}
Original file line number Diff line number Diff line change 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'
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'
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)
You can’t perform that action at this time.
0 commit comments