Skip to content

misleading docs for uv pip sync pyproject.toml #14507

@Winand

Description

@Winand

Summary

According to #12644 and #12680 uv pip sync keeps only the dependencies from the input file.

But when I read in docs:

To sync an environment with a requirements.txt file:

uv pip sync requirements.txt

To sync an environment with a pyproject.toml file:

uv pip sync pyproject.toml

I expect that uv pip sync pyproject.toml keeps transitive dependencies because usually pyproject.toml includes only direct dependencies. Maybe it is worth noting that only the dependencies explicitly listed in pyproject.toml will be kept?

Platform

Windows 10

Version

0.7.19

Python version

Python 3.12

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions