Skip to content

Commit adef73c

Browse files
KemingHegithub-actions[bot]
authored andcommitted
docs(src/assets/): update uv official documentation
1 parent a0c3729 commit adef73c

File tree

18 files changed

+422
-40
lines changed

18 files changed

+422
-40
lines changed

src/assets/uv/_metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"source_repo": "astral-sh/uv",
33
"docs_path": "docs",
4-
"updated_at": "2025-08-19T22:05:06Z",
5-
"commit_sha": "249154ee087ce6a86f1fc35c339fb25d13d1fa10"
4+
"updated_at": "2025-08-26T22:05:11Z",
5+
"commit_sha": "9eb5fc240ca28d8222f1be6d62379fd795e2f09e"
66
}

src/assets/uv/concepts/build-backend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To use uv as a build backend in an existing project, add `uv_build` to the
3131

3232
```toml title="pyproject.toml"
3333
[build-system]
34-
requires = ["uv_build>=0.8.12,<0.9.0"]
34+
requires = ["uv_build>=0.8.13,<0.9.0"]
3535
build-backend = "uv_build"
3636
```
3737

src/assets/uv/concepts/preview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ The following preview features are available:
6969
[installing `python` and `python3` executables](./python-versions.md#installing-python-executables).
7070
- `python-upgrade`: Allows
7171
[transparent Python version upgrades](./python-versions.md#upgrading-python-versions).
72+
- `format`: Allows using `uv format`.
7273

7374
## Disabling preview features
7475

src/assets/uv/concepts/projects/config.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,9 @@ deep_gemm = [{ requirement = "torch", match-runtime = true }]
323323
```
324324

325325
The use of `extra-build-dependencies` and `extra-build-variables` are tracked in the uv cache, such
326-
that changes to these settings will not trigger a reinstall and rebuild of the affected packages.
327-
For example, in the case of `flash-attn`, upgrading the version of `torch` used in your project
328-
would subsequently trigger a rebuild of `flash-attn` with the new version of `torch`.
326+
that changes to these settings will trigger a reinstall and rebuild of the affected packages. For
327+
example, in the case of `flash-attn`, upgrading the version of `torch` used in your project would
328+
subsequently trigger a rebuild of `flash-attn` with the new version of `torch`.
329329

330330
#### Dynamic metadata
331331

src/assets/uv/concepts/projects/dependencies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,8 @@ installation of Excel parsers and `matplotlib` unless someone explicitly require
540540
requested with the `package[<extra>]` syntax, e.g., `pandas[plot, excel]`.
541541

542542
Optional dependencies are specified in `[project.optional-dependencies]`, a TOML table that maps
543-
from extra name to its dependencies, following
544-
[dependency specifiers](#dependency-specifiers-pep-508) syntax.
543+
from extra name to its dependencies, following [dependency specifiers](#dependency-specifiers)
544+
syntax.
545545

546546
Optional dependencies can have entries in `tool.uv.sources` the same as normal dependencies.
547547

src/assets/uv/concepts/projects/init.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ dependencies = []
111111
example-pkg = "example_pkg:main"
112112

113113
[build-system]
114-
requires = ["uv_build>=0.8.12,<0.9.0"]
114+
requires = ["uv_build>=0.8.13,<0.9.0"]
115115
build-backend = "uv_build"
116116
```
117117

@@ -134,7 +134,7 @@ dependencies = []
134134
example-pkg = "example_pkg:main"
135135

136136
[build-system]
137-
requires = ["uv_build>=0.8.12,<0.9.0"]
137+
requires = ["uv_build>=0.8.13,<0.9.0"]
138138
build-backend = "uv_build"
139139
```
140140

@@ -195,7 +195,7 @@ requires-python = ">=3.11"
195195
dependencies = []
196196

197197
[build-system]
198-
requires = ["uv_build>=0.8.12,<0.9.0"]
198+
requires = ["uv_build>=0.8.13,<0.9.0"]
199199
build-backend = "uv_build"
200200
```
201201

src/assets/uv/concepts/projects/workspaces.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ bird-feeder = { workspace = true }
7575
members = ["packages/*"]
7676

7777
[build-system]
78-
requires = ["uv_build>=0.8.12,<0.9.0"]
78+
requires = ["uv_build>=0.8.13,<0.9.0"]
7979
build-backend = "uv_build"
8080
```
8181

@@ -106,7 +106,7 @@ tqdm = { git = "https://github.com/tqdm/tqdm" }
106106
members = ["packages/*"]
107107

108108
[build-system]
109-
requires = ["uv_build>=0.8.12,<0.9.0"]
109+
requires = ["uv_build>=0.8.13,<0.9.0"]
110110
build-backend = "uv_build"
111111
```
112112

@@ -188,7 +188,7 @@ dependencies = ["bird-feeder", "tqdm>=4,<5"]
188188
bird-feeder = { path = "packages/bird-feeder" }
189189

190190
[build-system]
191-
requires = ["uv_build>=0.8.12,<0.9.0"]
191+
requires = ["uv_build>=0.8.13,<0.9.0"]
192192
build-backend = "uv_build"
193193
```
194194

src/assets/uv/concepts/resolution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,4 +611,4 @@ versions of uv to error.
611611
## Learn more
612612

613613
For more details about the internals of the resolver, see the
614-
[resolver reference](../reference/resolver-internals.md) documentation.
614+
[resolver reference](../reference/internals/resolver.md) documentation.

src/assets/uv/getting-started/installation.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ uv provides a standalone installer to download and install uv:
2525
Request a specific version by including it in the URL:
2626

2727
```console
28-
$ curl -LsSf https://astral.sh/uv/0.8.12/install.sh | sh
28+
$ curl -LsSf https://astral.sh/uv/0.8.13/install.sh | sh
2929
```
3030

3131
=== "Windows"
@@ -41,7 +41,7 @@ uv provides a standalone installer to download and install uv:
4141
Request a specific version by including it in the URL:
4242

4343
```pwsh-session
44-
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.8.12/install.ps1 | iex"
44+
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.8.13/install.ps1 | iex"
4545
```
4646

4747
!!! tip
@@ -254,7 +254,7 @@ If you need to remove uv from your system, follow these steps:
254254

255255
Before removing the binaries, you may want to remove any data that uv has stored.
256256

257-
2. Remove the uv and uvx binaries:
257+
2. Remove the uv, uvx, and uvw binaries:
258258

259259
=== "macOS and Linux"
260260

@@ -267,6 +267,7 @@ If you need to remove uv from your system, follow these steps:
267267
```pwsh-session
268268
PS> rm $HOME\.local\bin\uv.exe
269269
PS> rm $HOME\.local\bin\uvx.exe
270+
PS> rm $HOME\.local\bin\uvw.exe
270271
```
271272

272273
!!! note

src/assets/uv/guides/integration/aws-lambda.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ the second stage, we'll copy this directory over to the final image, omitting th
9292
other unnecessary files.
9393

9494
```dockerfile title="Dockerfile"
95-
FROM ghcr.io/astral-sh/uv:0.8.12 AS uv
95+
FROM ghcr.io/astral-sh/uv:0.8.13 AS uv
9696

9797
# First, bundle the dependencies into the task root.
9898
FROM public.ecr.aws/lambda/python:3.13 AS builder
@@ -334,7 +334,7 @@ And confirm that opening http://127.0.0.1:8000/ in a web browser displays, "Hell
334334
Finally, we'll update the Dockerfile to include the local library in the deployment package:
335335

336336
```dockerfile title="Dockerfile"
337-
FROM ghcr.io/astral-sh/uv:0.8.12 AS uv
337+
FROM ghcr.io/astral-sh/uv:0.8.13 AS uv
338338

339339
# First, bundle the dependencies into the task root.
340340
FROM public.ecr.aws/lambda/python:3.13 AS builder

0 commit comments

Comments
 (0)