Skip to content

Commit c91ee82

Browse files
authored
Bump version to 0.6.1 (#11580)
1 parent d8aaa17 commit c91ee82

File tree

10 files changed

+44
-24
lines changed

10 files changed

+44
-24
lines changed

CHANGELOG.md

+24-4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
<!-- prettier-ignore-start -->
44

5+
## 0.6.1
6+
7+
### Enhancements
8+
9+
- Allow users to mark platforms as "required" for wheel coverage ([#10067](https://github.com/astral-sh/uv/pull/10067))
10+
- Warn for builds in non-build and workspace root pyproject.toml ([#11394](https://github.com/astral-sh/uv/pull/11394))
11+
12+
### Bug fixes
13+
14+
- Add `--all` to `uvx --reinstall` message ([#11535](https://github.com/astral-sh/uv/pull/11535))
15+
- Fallback to `GET` on HTTP 400 when attempting to use range requests for wheel download ([#11539](https://github.com/astral-sh/uv/pull/11539))
16+
- Prefer local variants in preference selection ([#11546](https://github.com/astral-sh/uv/pull/11546))
17+
- Respect verbatim executable name in `uvx` ([#11524](https://github.com/astral-sh/uv/pull/11524))
18+
19+
### Documentation
20+
21+
- Add documentation for required environments ([#11542](https://github.com/astral-sh/uv/pull/11542))
22+
- Note that `main.py` used to be `hello.py` ([#11519](https://github.com/astral-sh/uv/pull/11519))
23+
524
## 0.6.0
625

726
There have been 31 releases and 1135 pull requests since [0.5.0](https://github.com/astral-sh/uv/releases/tag/0.5.0), our last release with breaking changes. As before, we've accumulated various changes that improve correctness and user experience, but could break some workflows. This release contains those changes; many have been marked as breaking out of an abundance of caution. We expect most users to be able to upgrade without making changes.
@@ -24,18 +43,18 @@ There have been 31 releases and 1135 pull requests since [0.5.0](https://github.
2443

2544
- **Error on non-existent extras, e.g., in `uv sync`** ([#11426](https://github.com/astral-sh/uv/pull/11426))
2645

27-
Previously, uv would silently ignore non-existent extras requested on the command-line (e.g., via `uv sync --extra foo`). This is _generally_ correct behavior when resolving requests for package extras, because an extra may be present on one compatible version of a package but not another. However, this flexibility doesn't need to apply to the local project and it's less surprising to error here.
46+
Previously, uv would silently ignore non-existent extras requested on the command-line (e.g., via `uv sync --extra foo`). This is *generally* correct behavior when resolving requests for package extras, because an extra may be present on one compatible version of a package but not another. However, this flexibility doesn't need to apply to the local project and it's less surprising to error here.
2847

2948
- **Error on missing dependency groups when `--frozen` is provided** ([#11499](https://github.com/astral-sh/uv/pull/11499))
3049

3150
Previously, uv would not validate that the requested dependency groups were present in the lockfile when the `--frozen` flag was used. Now, an error will be raised if a requested dependency group is not present.
3251

3352
- **Change `-p` to a `--python` alias in `uv pip compile`** ([#11486](https://github.com/astral-sh/uv/pull/11486))
3453

35-
In `uv pip compile`, `-p` was an alias for `--python-version` while everywhere else in uv's interface it is an alias for `--python`. Additionally, `uv pip compile` did not respect the `UV_PYTHON` environment variable. Now, the semantics of this flag have been updated for parity with the rest of the CLI.
36-
54+
In `uv pip compile`, `-p` was an alias for `--python-version` while everywhere else in uv's interface it is an alias for `--python`. Additionally, `uv pip compile` did not respect the `UV_PYTHON` environment variable. Now, the semantics of this flag have been updated for parity with the rest of the CLI.
55+
3756
However, `--python-version` is unique: if we cannot find an interpreter with the given version, we will not fail. Instead, we'll use an alternative interpreter and override its version tags with the requested version during package resolution. This behavior is retained here for backwards compatibility, `--python <version>` / `-p <version>` will not fail if the version cannot be found. However, if a specific interpreter is requested, e.g., with `--python <path>` or `--python pypy`, and cannot be found — uv will exit with an error.
38-
57+
3958
The breaking changes here are that `UV_PYTHON` is respected and `--python <version>` will no longer fail if the version cannot be found.
4059

4160
- **Bump `alpine` default tag to 3.21 for derived Docker images** ([#11157](https://github.com/astral-sh/uv/pull/11157))
@@ -89,3 +108,4 @@ See [changelogs/0.2.x](./changelogs/0.2.x.md)
89108
See [changelogs/0.1.x](./changelogs/0.1.x.md)
90109

91110
<!-- prettier-ignore-end -->
111+

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/uv-version/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uv-version"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
edition = { workspace = true }
55
rust-version = { workspace = true }
66
homepage = { workspace = true }

crates/uv/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uv"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
edition = { workspace = true }
55
rust-version = { workspace = true }
66
homepage = { workspace = true }

docs/getting-started/installation.md

+2-2
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.6.0/install.sh | sh
28+
$ curl -LsSf https://astral.sh/uv/0.6.1/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
```console
44-
$ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.6.0/install.ps1 | iex"
44+
$ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.6.1/install.ps1 | iex"
4545
```
4646

4747
!!! tip

docs/guides/integration/aws-lambda.md

+2-2
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.6.0 AS uv
95+
FROM ghcr.io/astral-sh/uv:0.6.1 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.6.0 AS uv
337+
FROM ghcr.io/astral-sh/uv:0.6.1 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

+5-5
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.6.0`
34+
- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.6.1`
3535
- `ghcr.io/astral-sh/uv:{major}.{minor}`, e.g., `ghcr.io/astral-sh/uv:0.6` (the latest patch
3636
version)
3737

@@ -72,7 +72,7 @@ And the following derived images are available:
7272

7373
As with the distroless image, each derived image is published with uv version tags as
7474
`ghcr.io/astral-sh/uv:{major}.{minor}.{patch}-{base}` and
75-
`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.6.0-alpine`.
75+
`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.6.1-alpine`.
7676

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

112112
```dockerfile
113-
COPY --from=ghcr.io/astral-sh/uv:0.6.0 /uv /uvx /bin/
113+
COPY --from=ghcr.io/astral-sh/uv:0.6.1 /uv /uvx /bin/
114114
```
115115

116116
!!! tip
@@ -128,7 +128,7 @@ COPY --from=ghcr.io/astral-sh/uv:0.6.0 /uv /uvx /bin/
128128
Or, with the installer:
129129

130130
```dockerfile
131-
ADD https://astral.sh/uv/0.6.0/install.sh /uv-installer.sh
131+
ADD https://astral.sh/uv/0.6.1/install.sh /uv-installer.sh
132132
```
133133

134134
### Installing a project
@@ -554,5 +554,5 @@ Verified OK
554554
!!! tip
555555

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

docs/guides/integration/github.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
uses: astral-sh/setup-uv@v5
4848
with:
4949
# Install a specific version of uv.
50-
version: "0.6.0"
50+
version: "0.6.1"
5151
```
5252
5353
## Setting up Python

docs/guides/integration/pre-commit.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pre-commit, add the following to the `.pre-commit-config.yaml`:
1717
repos:
1818
- repo: https://github.com/astral-sh/uv-pre-commit
1919
# uv version.
20-
rev: 0.6.0
20+
rev: 0.6.1
2121
hooks:
2222
- id: uv-lock
2323
```
@@ -28,7 +28,7 @@ To keep your `requirements.txt` file updated using pre-commit:
2828
repos:
2929
- repo: https://github.com/astral-sh/uv-pre-commit
3030
# uv version.
31-
rev: 0.6.0
31+
rev: 0.6.1
3232
hooks:
3333
- id: uv-export
3434
```
@@ -39,7 +39,7 @@ To compile requirements via pre-commit, add the following to the `.pre-commit-co
3939
repos:
4040
- repo: https://github.com/astral-sh/uv-pre-commit
4141
# uv version.
42-
rev: 0.6.0
42+
rev: 0.6.1
4343
hooks:
4444
# Compile requirements
4545
- id: pip-compile
@@ -52,7 +52,7 @@ To compile alternative files, modify `args` and `files`:
5252
repos:
5353
- repo: https://github.com/astral-sh/uv-pre-commit
5454
# uv version.
55-
rev: 0.6.0
55+
rev: 0.6.1
5656
hooks:
5757
# Compile requirements
5858
- id: pip-compile
@@ -66,7 +66,7 @@ To run the hook over multiple files at the same time:
6666
repos:
6767
- repo: https://github.com/astral-sh/uv-pre-commit
6868
# uv version.
69-
rev: 0.6.0
69+
rev: 0.6.1
7070
hooks:
7171
# Compile requirements
7272
- id: pip-compile

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "uv"
7-
version = "0.6.0"
7+
version = "0.6.1"
88
description = "An extremely fast Python package and project manager, written in Rust."
99
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
1010
requires-python = ">=3.8"

0 commit comments

Comments
 (0)