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
6 changes: 0 additions & 6 deletions packaging/conda/build_vision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,6 @@ for py_ver in "${DESIRED_PYTHON[@]}"; do
rm -rf "$output_folder"
mkdir "$output_folder"

if [[ "$py_ver" == 3.5 ]]; then
export CONDA_TYPING_CONSTRAINT="- typing"
else
export CONDA_TYPING_CONSTRAINT=""
fi

export VSTOOLCHAIN_PACKAGE=vs2017

# We need to build the compiler activation scripts first on Windows
Expand Down
9 changes: 0 additions & 9 deletions packaging/pkg_helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,6 @@ setup_macos() {
fi
}

# set variable to determine whether the typing library needs to be built in
setup_typing() {
if [[ "$PYTHON_VERSION" == 3.5 ]]; then
export CONDA_TYPING_CONSTRAINT="- typing"
else
export CONDA_TYPING_CONSTRAINT=""
fi
}

# Top-level entry point for things every package will need to do
#
Expand All @@ -159,7 +151,6 @@ setup_env() {
setup_cuda
setup_build_version "$1"
setup_macos
setup_typing
}

# Function to retry functions that sometimes timeout or have flaky failures
Expand Down
1 change: 0 additions & 1 deletion packaging/torchvision/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ test:
- scipy
- av =8.0.1
- ca-certificates
{{ environ.get('CONDA_TYPING_CONSTRAINT') }}


about:
Expand Down