You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Set up uvuses: astral-sh/setup-uv@v6with:
python-version: ${{ matrix.python-version }}enable-cache: true
Benefits
Caching: astral-sh/setup-uv with enable-cache: true caches the uv installation and Python downloads, speeding up CI.
Fewer steps: One action replaces two steps (setup-python + manual pipx install).
Removes redundant pipx install maturin: maturin is already declared as a dev dependency in the root pyproject.toml, so uv run maturin develop --release (used in the build scripts) installs it automatically via uv sync. The manual pipx install maturin was never necessary.
The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.
Create the pull request manually
# Download the patch from the workflow run
gh run download 24746558940 -n agent -D /tmp/agent-24746558940
# Create a new branch
git checkout -b repo-assist/eng-setup-uv-action-20260421-0b06f8f6eab2a34f main
# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-24746558940/aw-repo-assist-eng-setup-uv-action-20260421.patch
# Push the branch and create the pull request
git push origin repo-assist/eng-setup-uv-action-20260421-0b06f8f6eab2a34f
gh pr create --title '[Repo Assist] ci: use astral-sh/setup-uv instead of setup-python + pipx install uv' --base main --head repo-assist/eng-setup-uv-action-20260421-0b06f8f6eab2a34f --repo fable-compiler/Fable
🤖 Created by Repo Assist, an automated AI assistant.
Summary
Replaces the two-step Python/uv setup in both
build.ymlandpython-type-checking.yml:Before:
After:
Benefits
astral-sh/setup-uvwithenable-cache: truecaches the uv installation and Python downloads, speeding up CI.setup-python+ manualpipx install).pipx install maturin:maturinis already declared as a dev dependency in the rootpyproject.toml, souv run maturin develop --release(used in the build scripts) installs it automatically viauv sync. The manualpipx install maturinwas never necessary.Files changed
.github/workflows/build.yml— Python matrix build job (ubuntu × windows × Python 3.12/3.13/3.14).github/workflows/python-type-checking.yml— Pyright type-checking jobValidation
CI will validate that the Python build and tests continue to pass with this change. No F# compiler code is modified.
Warning
Protected Files — Push Permission Denied
This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.
Protected files
Create the pull request manually