diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index bde5f03..d661ebf 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -70,6 +70,9 @@ jobs: apt-get update apt-get install -y --no-install-recommends python3 python3-venv python3 -m venv /opt/venv + # bookworm's pip 23.0 rejects the PyTorch index's typing_extensions + # wheel over its name's spelling, then cannot build it from source + /opt/venv/bin/pip install --retries 5 --upgrade pip echo /opt/venv/bin >> "$GITHUB_PATH" # The CPU build first: torch from PyPI is the CUDA build, several GB of