Skip to content

Commit ebb6c93

Browse files
committed
try using sed command
1 parent 08eb5be commit ebb6c93

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.ci/azure/setup_env.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ else
3030
fi
3131

3232
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
36-
conda env create --file environment_test_with_pyversion.yml
33+
sed -i '/^channels:/,/^dependencies:/ { /^ - /h; }; ${x;s/.*/ - conda-forge/label/python_rc/;p}' environment_test_with_pyversion.yml
3734
fi
35+
conda env create --file environment_test_with_pyversion.yml
3836
rm environment_test_with_pyversion.yml
3937

4038
if ${is_azure}

.ci/azure/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
python.freethreading: True
5454
win-Python314:
5555
image: windows-latest
56-
python.version: '3.14.0'
56+
python.version: '3.14'
5757
python.release_candidate: True
5858
displayName: "${{ variables.image }} ${{ variables.python.version }}"
5959
pool:

0 commit comments

Comments
 (0)