File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,8 @@ jobs:
130130 uv pip install ".[${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]" \
131131 --upgrade \
132132 --find-links="${TORCH_URL}"
133- if [ "${{ matrix.config.requires }}" == "oldest" ]; then
134- uv pip install "setuptools<80.10.3" # ensure pkg_resources is available for older Python versions
135- fi
133+ # ensure pkg_resources is available for older python versions & packages like onnxruntime that require it
134+ uv pip install "setuptools<80.10.3"
136135 uv pip list
137136
138137 - name : Adjust tests
Original file line number Diff line number Diff line change @@ -133,9 +133,8 @@ jobs:
133133 --upgrade \
134134 --find-links="${TORCH_URL}" \
135135 --find-links="https://download.pytorch.org/whl/torch-tensorrt"
136- if [ "${{ matrix.config.requires }}" == "oldest" ]; then
137- uv pip install "setuptools<80.10.3" # ensure pkg_resources is available for older Python versions
138- fi
136+ # ensure pkg_resources is available for older python versions & packages like onnxruntime that require it
137+ uv pip install "setuptools<80.10.3"
139138 uv pip list
140139
141140 - name : Drop LAI from extensions
Original file line number Diff line number Diff line change @@ -123,7 +123,8 @@ run: |
123123 extra=$(python -c "print({'lightning': 'fabric-'}.get('${PACKAGE_NAME}', ''))")
124124 uv pip install ".[${extra}dev]" --upgrade
125125
126- uv pip install "setuptools<80.10.3" # ensure pkg_resources is available for older Python versions
126+ # ensure pkg_resources is available for older python versions & packages like onnxruntime that require it
127+ uv pip install "setuptools<80.10.3"
127128
128129 python requirements/collect_env_details.py
129130 python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu >= 2, f'GPU: {mgpu}'"
Original file line number Diff line number Diff line change @@ -137,7 +137,8 @@ run: |
137137 uv pip uninstall pytorch-lightning
138138 fi
139139
140- uv pip install "setuptools<80.10.3" # ensure pkg_resources is available for older Python versions
140+ # ensure pkg_resources is available for older python versions & packages like onnxruntime that require it
141+ uv pip install "setuptools<80.10.3"
141142
142143 python requirements/collect_env_details.py
143144 python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu >= 2, f'GPU: {mgpu}'"
You can’t perform that action at this time.
0 commit comments