Skip to content

Commit da2fbbc

Browse files
committed
distutils
1 parent 663f127 commit da2fbbc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/pytorch-version-tests.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ jobs:
7474
# Patch setuptools for old PyTorch versions
7575
version=$(python -c "import torch; print('.'.join(torch.__version__.split('.')[:2]))")
7676
if [[ "$version" == "1.9" || "$version" == "1.10" ]]; then
77-
pip install "setuptools<59"
78-
python -c "from setuptools import distutils; distutils.version.LooseVersion"
77+
pip install "setuptools<59" "distutils==0.3"
7978
fi
8079
8180
- name: Download MNIST

0 commit comments

Comments
 (0)