Skip to content

ci: fix nested quoting in CUDA wheel dependency installation - #43

Merged
cyyever merged 1 commit into
trimfrom
fix/gitea-wheel-build-requirements
Nov 16, 2026
Merged

cyyever merged 1 commit into
trimfrom
fix/gitea-wheel-build-requirements

Conversation

@cyyever

@cyyever cyyever commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Agent details

Fixes the wheel build failure in Gitea run 8011: Python string quotes were consumed by the enclosing single-quoted bash -euc argument, causing NameError: name 'pyproject' is not defined.

Move build requirement installation into .ci/pytorch/install_build_requirements.py and invoke that script from the workflow. It reads the repository's pyproject.toml relative to the script and installs requirements with the selected Python interpreter, propagating pip failures.

Validation: Python 3.14 checks for exact pip arguments, execution from an unrelated working directory, and failure propagation; shell syntax and embedded Python checks for both active Gitea CUDA workflows; git diff --check. Full CUDA wheel build remains for Gitea CD.

BC-breaking?

No.

@cyyever
cyyever marked this pull request as ready for review November 16, 2026 07:20
@cyyever
cyyever merged commit 6dba861 into trim Nov 16, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant