Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ commands:
name: Adding CONDA_CHANNEL_FLAGS to BASH_ENV
command: |
CONDA_CHANNEL_FLAGS=""
if [[ "${PYTHON_VERSION}" = *3.9* ]]; then
echo "export CONDA_CHANNEL_FLAGS=-c=conda-forge" >> ${BASH_ENV}
fi
# formerly used to add conda-forge flags for Python 3.9, reserving the mechanism for future python upgrades

binary_common: &binary_common
parameters:
Expand Down
4 changes: 1 addition & 3 deletions .circleci/config.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ commands:
name: Adding CONDA_CHANNEL_FLAGS to BASH_ENV
command: |
CONDA_CHANNEL_FLAGS=""
if [[ "${PYTHON_VERSION}" = *3.9* ]]; then
echo "export CONDA_CHANNEL_FLAGS=-c=conda-forge" >> ${BASH_ENV}
fi
# formerly used to add conda-forge flags for Python 3.9, reserving the mechanism for future python upgrades

binary_common: &binary_common
parameters:
Expand Down
1 change: 0 additions & 1 deletion .circleci/torchscript_bc_test/environment.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
channels:
- conda-forge
- defaults
dependencies:
- flake8
Expand Down
1 change: 0 additions & 1 deletion .circleci/unittest/windows/scripts/environment.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
channels:
- conda-forge
- defaults
dependencies:
- flake8
Expand Down
4 changes: 0 additions & 4 deletions packaging/pkg_helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,6 @@ setup_conda_pytorch_constraint() {
else
export CONDA_CHANNEL_FLAGS="${CONDA_CHANNEL_FLAGS} -c pytorch -c pytorch-test -c pytorch-nightly"
fi
# Some dependencies for Python 3.9 are only on conda-forge
if [[ "${PYTHON_VERSION}" = "3.9" ]]; then
export CONDA_CHANNEL_FLAGS="${CONDA_CHANNEL_FLAGS} -c conda-forge"
fi
if [[ "$CU_VERSION" == cpu ]]; then
export CONDA_PYTORCH_BUILD_CONSTRAINT="- pytorch==$PYTORCH_VERSION${PYTORCH_VERSION_SUFFIX}"
export CONDA_PYTORCH_CONSTRAINT="- pytorch==$PYTORCH_VERSION"
Expand Down