Skip to content

Commit 2e75a0b

Browse files
committed
prob
1 parent 981c0b5 commit 2e75a0b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci-tests-fabric.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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

.lightning/workflows/fabric.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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}'"

.lightning/workflows/pytorch.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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}'"

0 commit comments

Comments
 (0)