Skip to content

Commit 5e2dc5a

Browse files
Remove uv pip sync suggestion with pyproject.toml (#14510)
## Summary I think doing this would almost always be a mistake, since it won't install any transitive dependencies. Instead, I took the opportunity to mention the `pylock.toml` format. Closes #14507 (comment).
1 parent 7e48292 commit 5e2dc5a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/pip/compile.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ To sync an environment with a `requirements.txt` file:
127127
$ uv pip sync requirements.txt
128128
```
129129

130-
To sync an environment with a `pyproject.toml` file:
130+
To sync an environment with a [PEP 751](https://peps.python.org/pep-0751/) `pylock.toml` file:
131131

132132
```console
133-
$ uv pip sync pyproject.toml
133+
$ uv pip sync pylock.toml
134134
```
135135

136136
## Adding constraints

0 commit comments

Comments
 (0)