File tree 5 files changed +2
-12
lines changed 5 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,7 @@ commands:
46
46
name : Adding CONDA_CHANNEL_FLAGS to BASH_ENV
47
47
command : |
48
48
CONDA_CHANNEL_FLAGS=""
49
- if [[ "${PYTHON_VERSION}" = *3.9* ]]; then
50
- echo "export CONDA_CHANNEL_FLAGS=-c=conda-forge" >> ${BASH_ENV}
51
- fi
49
+ # formerly used to add conda-forge flags for Python 3.9, reserving the mechanism for future python upgrades
52
50
53
51
binary_common : &binary_common
54
52
parameters :
Original file line number Diff line number Diff line change @@ -46,9 +46,7 @@ commands:
46
46
name: Adding CONDA_CHANNEL_FLAGS to BASH_ENV
47
47
command: |
48
48
CONDA_CHANNEL_FLAGS=""
49
- if [[ "${PYTHON_VERSION}" = *3.9* ]]; then
50
- echo "export CONDA_CHANNEL_FLAGS=-c=conda-forge" >> ${BASH_ENV}
51
- fi
49
+ # formerly used to add conda-forge flags for Python 3.9, reserving the mechanism for future python upgrades
52
50
53
51
binary_common: &binary_common
54
52
parameters:
Original file line number Diff line number Diff line change 1
1
channels :
2
- - conda-forge
3
2
- defaults
4
3
dependencies :
5
4
- flake8
Original file line number Diff line number Diff line change 1
1
channels :
2
- - conda-forge
3
2
- defaults
4
3
dependencies :
5
4
- flake8
Original file line number Diff line number Diff line change @@ -231,10 +231,6 @@ setup_conda_pytorch_constraint() {
231
231
else
232
232
export CONDA_CHANNEL_FLAGS=" ${CONDA_CHANNEL_FLAGS} -c pytorch -c pytorch-test -c pytorch-nightly"
233
233
fi
234
- # Some dependencies for Python 3.9 are only on conda-forge
235
- if [[ " ${PYTHON_VERSION} " = " 3.9" ]]; then
236
- export CONDA_CHANNEL_FLAGS=" ${CONDA_CHANNEL_FLAGS} -c conda-forge"
237
- fi
238
234
if [[ " $CU_VERSION " == cpu ]]; then
239
235
export CONDA_PYTORCH_BUILD_CONSTRAINT=" - pytorch==$PYTORCH_VERSION ${PYTORCH_VERSION_SUFFIX} "
240
236
export CONDA_PYTORCH_CONSTRAINT=" - pytorch==$PYTORCH_VERSION "
You can’t perform that action at this time.
0 commit comments