Skip to content

Commit 16a051d

Browse files
committed
test
1 parent a6570b9 commit 16a051d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ jobs:
103103
# which raises the error: AttributeError: module 'distutils' has no attribute 'version' for setuptools>59
104104
bad_pth_version=$(python -c "import torch; print('.'.join(torch.__version__.split('.')[:2]) in ['1.9', '1.10'])")
105105
if [ "${bad_pth_version}" == "True" ]; then
106-
uv pip install --upgrade "setuptools<59"
107-
uv run python -c "from setuptools import distutils; distutils.version.LooseVersion"
106+
uv pip install "setuptools<59"
107+
python -c "from setuptools import distutils; distutils.version.LooseVersion"
108108
fi
109109
110110
- name: Download MNIST

0 commit comments

Comments
 (0)