FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

pull: run uv sync for Python projects using uv by jamiew · Pull Request #134 · git-friendly/git-friendly · GitHub

pull: run uv sync for Python projects using uv - #134

Merged
jamiew merged 1 commit into
mainfrom
add-uv-sync-on-pull
May 25, 2026
Merged

pull: run uv sync for Python projects using uv#134
jamiew merged 1 commit into
mainfrom
add-uv-sync-on-pull

Conversation

jamiew commented May 25, 2026

Copy link
Copy Markdown
Collaborator

adds uv to the list of package managers pull auto-installs, so python projects using uv get synced after a fetch like the js/ruby/php ones already do.

  • runs uv sync when uv.lock or pyproject.toml changes on pull
  • anchored on uv.lock existing so it never fires against a non-uv pyproject.toml (poetry/hatch/pip-tools all use one too)
  • opt out with GIT_FRIENDLY_NO_UV=true, documented in the readme

to test:

  • in a uv repo, pull a commit that touches uv.lock → should print "Installing packages with uv..." and run uv sync
  • in a pyproject-only repo with no uv.lock, pull → uv should not run

jamiew merged commit 75d012a into main May 25, 2026
1 check passed
jamiew deleted the add-uv-sync-on-pull branch May 25, 2026 02:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL