We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebb6c93 commit d69121bCopy full SHA for d69121b
1 file changed
.ci/azure/setup_env.sh
@@ -20,16 +20,12 @@ then
20
cp .ci/environment_test_bare.yml environment_test_with_pyversion.yml
21
echo " - python-freethreading="$PYTHON_VERSION >> environment_test_with_pyversion.yml
22
else
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
+ cp .ci/environment_test.yml environment_test_with_pyversion.yml
29
echo " - python="$PYTHON_VERSION >> environment_test_with_pyversion.yml
30
fi
31
32
if ${is_rc}
+then
33
sed -i '/^channels:/,/^dependencies:/ { /^ - /h; }; ${x;s/.*/ - conda-forge/label/python_rc/;p}' environment_test_with_pyversion.yml
34
35
conda env create --file environment_test_with_pyversion.yml
0 commit comments