Skip to content

fix: prevent uv version from triggering full dependency sync in publish workflow#51

Open
acere wants to merge 1 commit intoawslabs:mainfrom
acere:fix/pypi-no-sync-on-version
Open

fix: prevent uv version from triggering full dependency sync in publish workflow#51
acere wants to merge 1 commit intoawslabs:mainfrom
acere:fix/pypi-no-sync-on-version

Conversation

@acere
Copy link
Copy Markdown
Collaborator

@acere acere commented Mar 30, 2026

Problem

uv version modifies pyproject.toml, which triggers uv to automatically sync the full dependency tree (280+ packages including numpy, pandas, scikit-learn, etc.) — none of which are needed for building and publishing.

Fix

Add --no-sync to uv version so it only updates the version string without resolving/installing dependencies.

This makes the publish workflow significantly faster and avoids pulling unnecessary packages.

uv version without --no-sync modifies pyproject.toml and triggers an
automatic sync, resolving and installing all 280+ dependencies
unnecessarily in the publish workflow.
@acere acere self-assigned this Mar 30, 2026
@acere acere requested a review from athewsey March 30, 2026 04:14
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