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
π€ This is a Repo Assist automated pull request.
Summary
Replaces the manual pipx install uv + pipx install maturin steps in the build-python CI job with:
astral-sh/setup-uv@v5 β the official GitHub Action from the uv team, with enable-cache: true to cache the uv package cache (keyed to uv.lock)
uv tool install maturin β consistent with using uv as the tool installer, replacing pipx install maturin
Benefits
Faster CI: The uv binary itself is downloaded quickly via the action, and enable-cache: true caches downloaded packages so uv sync in the build scripts benefits from a warm cache.
Official action: Using astral-sh/setup-uv keeps the setup in sync with uv's recommended installation method and will automatically benefit from future improvements to the action (e.g., better caching strategies).
Consistency: Using uv tool install instead of pipx install keeps all Python tooling under the uv umbrella.
Notes
actions/setup-python@v6 is retained for the version matrix β setup-uv is used alongside it rather than replacing it.
The enable-cache: true caches uv's package download cache. On cache hit, subsequent uv sync calls (run inside the build scripts) will restore packages from cache instead of downloading them.
Maturin is in the project's dev dependencies (pyproject.toml), but is also needed globally on the PATH for the Fable build scripts, hence still installing it as a tool.
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 24698568270 -n agent -D /tmp/agent-24698568270
# Create a new branch
git checkout -b repo-assist/eng-setup-uv-action-1be73161748869ab main
# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-24698568270/aw-repo-assist-eng-setup-uv-action.patch
# Push the branch and create the pull request
git push origin repo-assist/eng-setup-uv-action-1be73161748869ab
gh pr create --title '[Repo Assist] ci: use astral-sh/setup-uv action for Python CI' --base main --head repo-assist/eng-setup-uv-action-1be73161748869ab --repo fable-compiler/Fable
π€ This is a Repo Assist automated pull request.
Summary
Replaces the manual
pipx install uv+pipx install maturinsteps in thebuild-pythonCI job with:astral-sh/setup-uv@v5β the official GitHub Action from the uv team, withenable-cache: trueto cache the uv package cache (keyed touv.lock)uv tool install maturinβ consistent with using uv as the tool installer, replacingpipx install maturinBenefits
enable-cache: truecaches downloaded packages souv syncin the build scripts benefits from a warm cache.astral-sh/setup-uvkeeps the setup in sync with uv's recommended installation method and will automatically benefit from future improvements to the action (e.g., better caching strategies).uv tool installinstead ofpipx installkeeps all Python tooling under the uv umbrella.Notes
actions/setup-python@v6is retained for the version matrix βsetup-uvis used alongside it rather than replacing it.enable-cache: truecaches uv's package download cache. On cache hit, subsequentuv synccalls (run inside the build scripts) will restore packages from cache instead of downloading them.pyproject.toml), but is also needed globally on the PATH for the Fable build scripts, hence still installing it as a tool.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
The push was rejected because GitHub Actions does not have
workflowspermission 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