Skip to content

Update docs for uv to use dependency groups, remove undocumented --dev flag#1315

Merged
vincentsarago merged 2 commits intodevelopmentseed:mainfrom
mfisher87:document-uv-groups
Feb 6, 2026
Merged

Update docs for uv to use dependency groups, remove undocumented --dev flag#1315
vincentsarago merged 2 commits intodevelopmentseed:mainfrom
mfisher87:document-uv-groups

Conversation

@mfisher87
Copy link
Copy Markdown
Contributor

@mfisher87 mfisher87 commented Feb 6, 2026

uv run pip install made me a bit uncomfortable; after thinking about it, it makes sense that it should work fine, but it's just using pip under the hood to install the package and that mixing of package managers is what makes me feel weird. uv pip install would use uv to install the package, so it'd be faster. But then I saw that uvicorn is part of the server group in pyproject.toml, so I thought uv sync --group server would be the most idiomatic way to do this.

The --dev flag to uv sync doesn't change the default behavior (by default, it does an editable install with the dev dependency group), and it's undocumented in uv help sync. I thought it would be more intuitive to add a comment explaining the default behavior of uv sync!

Copy link
Copy Markdown
Member

@vincentsarago vincentsarago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@vincentsarago vincentsarago merged commit 4613128 into developmentseed:main Feb 6, 2026
@mfisher87 mfisher87 deleted the document-uv-groups branch February 6, 2026 18:29
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.

2 participants