fix(ci): install setuptools before http-ece for uv

uv creates bare venvs without setuptools (unlike pip). http-ece
doesn't declare setuptools as a build dependency but needs it when
built with --no-build-isolation.
This commit is contained in:
2026-04-12 00:10:45 -04:00
parent 8d07b6c79e
commit 5275be8588
+4 -3
View File
@@ -104,9 +104,10 @@ jobs:
- name: Install package with dev deps
run: |
# http-ece's build-time dep on cryptography fails under PEP 517
# isolation on this runner image — install it without isolation
# first so the editable install below finds it already built.
# http-ece doesn't declare setuptools as a build dep, and uv
# creates bare venvs without it. Install setuptools first so
# --no-build-isolation can find it.
uv pip install --python /opt/venv/bin/python setuptools wheel
uv pip install --python /opt/venv/bin/python --no-build-isolation http-ece
uv pip install --python /opt/venv/bin/python -e ".[dev]"