uv/docs
Aria Desires 38884da9b9
make `uv version` lock and sync (#13317)
This adopts the logic from `uv remove` for locking and syncing, as the
scope of the changes made are ultimately similar. Unlike `uv remove`
there is no support for modifying PEP723 scripts, as these are not
versioned.

In doing this the `version` command gains a truckload of args for
configuring lock/sync behaviour. Presumably most of these are passed via
settings or env files, and not of particular concern.

The most interesting additions are:

* `--frozen`: makes `uv version` work ~exactly as it did before this PR
* `--locked`: errors if the lockfile is out of date
* `--no-sync`: updates the lockfile, but doesn't run the equivalent of
`uv sync`
* `--package name`: a convenience for referring to a package in the
workspace

Note that the existing `--dry-run` flag effectively implies `--frozen` for sets and bumps.

Fixes #13254
Fixes #13548
2025-05-21 09:46:09 -04:00
..
.overrides Add ``last updated`` for document (#11164) 2025-02-03 22:28:47 -05:00
assets Add `static` assets to docs pages (#6951) 2024-09-02 20:00:30 -04:00
concepts Clarify adding SSH Git dependencies (#13534) 2025-05-20 14:20:15 +00:00
configuration Bump version to 0.7.6 (#13537) 2025-05-19 19:46:11 -04:00
getting-started Bump version to 0.7.6 (#13537) 2025-05-19 19:46:11 -04:00
guides Bump version to 0.7.6 (#13537) 2025-05-19 19:46:11 -04:00
js Fix typo in a reference (#12858) 2025-04-14 10:19:02 +02:00
pip Fix PowerShell code blocks (#13511) 2025-05-17 21:06:48 -05:00
reference make `uv version` lock and sync (#13317) 2025-05-21 09:46:09 -04:00
stylesheets Remove the last edited date from documentation pages (#11753) 2025-02-24 13:27:00 -06:00
.gitignore Add structured documentation (#4426) 2024-06-26 11:28:42 -05:00
index.md Fix PowerShell code blocks (#13511) 2025-05-17 21:06:48 -05:00
requirements-insiders.in Reference the root requirements from the insiders requirements file (#5105) 2024-07-16 09:51:16 -05:00
requirements-insiders.txt Move content from the `mkdocs.public.yml` into the template (#11246) 2025-02-05 16:13:46 +00:00
requirements.in Add ``last updated`` for document (#11164) 2025-02-03 22:28:47 -05:00
requirements.txt Add ``last updated`` for document (#11164) 2025-02-03 22:28:47 -05:00