Skip to content

Commit 38ee6ec

Browse files
authored
Bump version to 0.7.19 (#14431)
1 parent 71b5ba1 commit 38ee6ec

File tree

13 files changed

+68
-29
lines changed

13 files changed

+68
-29
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,43 @@
33
<!-- prettier-ignore-start -->
44

55

6+
## 0.7.19
7+
8+
The **[uv build backend](https://docs.astral.sh/uv/concepts/build-backend/) is now stable**, and considered ready for production use.
9+
10+
The uv build backend is a great choice for pure Python projects. It has reasonable defaults, with the goal of requiring zero configuration for most users, but provides flexible configuration to accommodate most Python project structures. It integrates tightly with uv, to improve messaging and user experience. It validates project metadata and structures, preventing common mistakes. And, finally, it's very fast — `uv sync` on a new project (from `uv init`) is 10-30x faster than with other build backends.
11+
12+
To use uv as a build backend in an existing project, add `uv_build` to the `[build-system]` section in your `pyproject.toml`:
13+
14+
```toml
15+
[build-system]
16+
requires = ["uv_build>=0.7.19,<0.8.0"]
17+
build-backend = "uv_build"
18+
```
19+
20+
In a future release, it will replace `hatchling` as the default in `uv init`. As before, uv will remain compatible with all standards-compliant build backends.
21+
22+
### Python
23+
24+
- Add PGO distributions of Python for aarch64 Linux, which are more optimized for better performance
25+
26+
See the [python-build-standalone release](https://github.com/astral-sh/python-build-standalone/releases/tag/20250702) for more details.
27+
28+
### Enhancements
29+
30+
- Ignore Python patch version for `--universal` pip compile ([#14405](https://github.com/astral-sh/uv/pull/14405))
31+
- Update the tilde version specifier warning to include more context ([#14335](https://github.com/astral-sh/uv/pull/14335))
32+
- Clarify behavior and hint on tool install when no executables are available ([#14423](https://github.com/astral-sh/uv/pull/14423))
33+
34+
### Bug fixes
35+
36+
- Make project and interpreter lock acquisition non-fatal ([#14404](https://github.com/astral-sh/uv/pull/14404))
37+
- Includes `sys.prefix` in cached environment keys to avoid `--with` collisions across projects ([#14403](https://github.com/astral-sh/uv/pull/14403))
38+
39+
### Documentation
40+
41+
- Add a migration guide from pip to uv projects ([#12382](https://github.com/astral-sh/uv/pull/12382))
42+
643
## 0.7.18
744

845
### Python
@@ -12,6 +49,8 @@
1249
These are not downloaded by default, since x86-64 Python has broader ecosystem support on Windows.
1350
However, they can be requested with `cpython-<version>-windows-aarch64`.
1451

52+
See the [python-build-standalone release](https://github.com/astral-sh/python-build-standalone/releases/tag/20250630) for more details.
53+
1554
### Enhancements
1655

1756
- Keep track of retries in `ManagedPythonDownload::fetch_with_retry` ([#14378](https://github.com/astral-sh/uv/pull/14378))

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/uv-build/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uv-build"
3-
version = "0.7.18"
3+
version = "0.7.19"
44
edition.workspace = true
55
rust-version.workspace = true
66
homepage.workspace = true

crates/uv-build/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uv-build"
3-
version = "0.7.18"
3+
version = "0.7.19"
44
description = "The uv build backend"
55
authors = [{ name = "Astral Software Inc.", email = "[email protected]" }]
66
requires-python = ">=3.8"

crates/uv-version/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uv-version"
3-
version = "0.7.18"
3+
version = "0.7.19"
44
edition = { workspace = true }
55
rust-version = { workspace = true }
66
homepage = { workspace = true }

crates/uv/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uv"
3-
version = "0.7.18"
3+
version = "0.7.19"
44
edition = { workspace = true }
55
rust-version = { workspace = true }
66
homepage = { workspace = true }

docs/concepts/build-backend.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ performance and user experience.
1313

1414
## Choosing a build backend
1515

16-
The uv build backend is a good choice for most Python projects that are using uv. It has reasonable
17-
defaults, with the goal of requiring zero configuration for most users, but provides flexible
18-
configuration that allows most Python project structures. It integrates tightly with uv, to improve
19-
messaging and user experience. It validates project metadata and structures, preventing common
20-
mistakes. And, finally, it's very fast.
16+
The uv build backend is a great choice for most Python projects. It has reasonable defaults, with
17+
the goal of requiring zero configuration for most users, but provides flexible configuration to
18+
accommodate most Python project structures. It integrates tightly with uv, to improve messaging and
19+
user experience. It validates project metadata and structures, preventing common mistakes. And,
20+
finally, it's very fast.
2121

2222
The uv build backend currently **only supports pure Python code**. An alternative backend is
2323
required to build a
@@ -36,7 +36,7 @@ To use uv as a build backend in an existing project, add `uv_build` to the
3636

3737
```toml title="pyproject.toml"
3838
[build-system]
39-
requires = ["uv_build>=0.7.18,<0.8.0"]
39+
requires = ["uv_build>=0.7.19,<0.8.0"]
4040
build-backend = "uv_build"
4141
```
4242

docs/getting-started/installation.md

Lines changed: 2 additions & 2 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.7.18/install.sh | sh
28+
$ curl -LsSf https://astral.sh/uv/0.7.19/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.7.18/install.ps1 | iex"
44+
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.7.19/install.ps1 | iex"
4545
```
4646

4747
!!! tip

docs/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.7.18 AS uv
95+
FROM ghcr.io/astral-sh/uv:0.7.19 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.7.18 AS uv
337+
FROM ghcr.io/astral-sh/uv:0.7.19 AS uv
338338

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

docs/guides/integration/docker.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $ docker run --rm -it ghcr.io/astral-sh/uv:debian uv --help
3131
The following distroless images are available:
3232

3333
- `ghcr.io/astral-sh/uv:latest`
34-
- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.7.18`
34+
- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.7.19`
3535
- `ghcr.io/astral-sh/uv:{major}.{minor}`, e.g., `ghcr.io/astral-sh/uv:0.7` (the latest patch
3636
version)
3737

@@ -75,7 +75,7 @@ And the following derived images are available:
7575

7676
As with the distroless image, each derived image is published with uv version tags as
7777
`ghcr.io/astral-sh/uv:{major}.{minor}.{patch}-{base}` and
78-
`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.7.18-alpine`.
78+
`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.7.19-alpine`.
7979

8080
For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv)
8181
page.
@@ -113,7 +113,7 @@ Note this requires `curl` to be available.
113113
In either case, it is best practice to pin to a specific uv version, e.g., with:
114114

115115
```dockerfile
116-
COPY --from=ghcr.io/astral-sh/uv:0.7.18 /uv /uvx /bin/
116+
COPY --from=ghcr.io/astral-sh/uv:0.7.19 /uv /uvx /bin/
117117
```
118118

119119
!!! tip
@@ -131,7 +131,7 @@ COPY --from=ghcr.io/astral-sh/uv:0.7.18 /uv /uvx /bin/
131131
Or, with the installer:
132132

133133
```dockerfile
134-
ADD https://astral.sh/uv/0.7.18/install.sh /uv-installer.sh
134+
ADD https://astral.sh/uv/0.7.19/install.sh /uv-installer.sh
135135
```
136136

137137
### Installing a project
@@ -557,5 +557,5 @@ Verified OK
557557
!!! tip
558558

559559
These examples use `latest`, but best practice is to verify the attestation for a specific
560-
version tag, e.g., `ghcr.io/astral-sh/uv:0.7.18`, or (even better) the specific image digest,
560+
version tag, e.g., `ghcr.io/astral-sh/uv:0.7.19`, or (even better) the specific image digest,
561561
such as `ghcr.io/astral-sh/uv:0.5.27@sha256:5adf09a5a526f380237408032a9308000d14d5947eafa687ad6c6a2476787b4f`.

0 commit comments

Comments
 (0)