Skip to content

Commit 05c5425

Browse files
datumboxfmassa
andauthored
Remove python3.5 typing dependency. (#3288)
Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
1 parent 7dfd8dc commit 05c5425

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

packaging/conda/build_vision.sh

-6
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,6 @@ for py_ver in "${DESIRED_PYTHON[@]}"; do
163163
rm -rf "$output_folder"
164164
mkdir "$output_folder"
165165

166-
if [[ "$py_ver" == 3.5 ]]; then
167-
export CONDA_TYPING_CONSTRAINT="- typing"
168-
else
169-
export CONDA_TYPING_CONSTRAINT=""
170-
fi
171-
172166
export VSTOOLCHAIN_PACKAGE=vs2017
173167

174168
# We need to build the compiler activation scripts first on Windows

packaging/pkg_helpers.bash

-9
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,6 @@ setup_macos() {
143143
fi
144144
}
145145

146-
# set variable to determine whether the typing library needs to be built in
147-
setup_typing() {
148-
if [[ "$PYTHON_VERSION" == 3.5 ]]; then
149-
export CONDA_TYPING_CONSTRAINT="- typing"
150-
else
151-
export CONDA_TYPING_CONSTRAINT=""
152-
fi
153-
}
154146

155147
# Top-level entry point for things every package will need to do
156148
#
@@ -159,7 +151,6 @@ setup_env() {
159151
setup_cuda
160152
setup_build_version "$1"
161153
setup_macos
162-
setup_typing
163154
}
164155

165156
# Function to retry functions that sometimes timeout or have flaky failures

packaging/torchvision/meta.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ test:
5252
- scipy
5353
- av =8.0.1
5454
- ca-certificates
55-
{{ environ.get('CONDA_TYPING_CONSTRAINT') }}
5655

5756

5857
about:

0 commit comments

Comments
 (0)