From 5275be8588f8ebc2063a72009499e621533b8d0a Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sun, 12 Apr 2026 00:10:45 -0400 Subject: [PATCH] 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. --- .forgejo/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index acf6524..bb12b70 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -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]"