Skip to content

Commit b0efa64

Browse files
ci: Place upper bound on min supported setuptools (#2479)
* Place an upper bound on setuptools of <70.0.0 for the 'minimum supported dependencies' workflow as setuptools v70.0.0 reduces pkg_resources useage. - Avoids a "cannot import name 'packaging' from 'pkg_resources'" ImportError caused by PyTorch. - c.f. https://setuptools.pypa.io/en/latest/pkg_resources.html
1 parent 8543fe5 commit b0efa64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/lower-bound-requirements.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install dependencies and force lowest bound
2828
run: |
2929
python -m pip install uv
30-
uv pip install --system --upgrade pip setuptools wheel
30+
uv pip install --system --upgrade pip 'setuptools<70.0.0' wheel
3131
uv pip --no-cache install --system --constraint tests/constraints.txt ".[all,test]"
3232
3333
- name: List installed Python packages

0 commit comments

Comments
 (0)