Bump version to 0.4.20 (#8016)

This commit is contained in:
Zanie Blue 2024-10-08 14:55:21 -05:00 committed by GitHub
parent 1a39ffe391
commit 0e1b25a536
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 31 additions and 17 deletions

View File

@ -1,5 +1,20 @@
# Changelog
## 0.4.20
### Enhancements
- Add managed downloads for CPython 3.13.0 (final) ([#8010](https://github.com/astral-sh/uv/pull/8010))
- Python 3.13 is the default version for `uv python install` ([#8010](https://github.com/astral-sh/uv/pull/8010))
- Hint at wrong endpoint in `uv publish` failures ([#7872](https://github.com/astral-sh/uv/pull/7872))
- List available scripts when a command is not specified for `uv run` ([#7687](https://github.com/astral-sh/uv/pull/7687))
- Fill in `authors` filed during `uv init` ([#7756](https://github.com/astral-sh/uv/pull/7756))
### Documentation
- Add snapshot testing to contribution guide ([#7882](https://github.com/astral-sh/uv/pull/7882))
- Fix and improve GitLab integration docs ([#8000](https://github.com/astral-sh/uv/pull/8000))
## 0.4.19
### Enhancements
@ -35,9 +50,8 @@
- Clarify project environment creation a little ([#7941](https://github.com/astral-sh/uv/pull/7941))
- Fix code block title in Gitlab integration docs ([#7861](https://github.com/astral-sh/uv/pull/7861))
- Fix documentation (projects guide) regarding adding a git dependency ([#7916](https://github.com/astral-sh/uv/pull/7916))
- fix uninstallation command for windows on documentation ([#7944](https://github.com/astral-sh/uv/pull/7944))
- Clearly specify the minimum supported Windows Server version in the document ([#7946](https://github.com/astral-sh/uv/pull/7946))
- Fix uninstallation command for windows on documentation ([#7944](https://github.com/astral-sh/uv/pull/7944))
- Clearly specify the minimum supported Windows Server version ([#7946](https://github.com/astral-sh/uv/pull/7946))
### Rust API

4
Cargo.lock generated
View File

@ -4134,7 +4134,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
[[package]]
name = "uv"
version = "0.4.19"
version = "0.4.20"
dependencies = [
"anstream",
"anyhow",
@ -5248,7 +5248,7 @@ dependencies = [
[[package]]
name = "uv-version"
version = "0.4.19"
version = "0.4.20"
[[package]]
name = "uv-virtualenv"

View File

@ -618,7 +618,7 @@ mod tests {
.path()
.join("uv_backend-0.1.0.dist-info/RECORD");
assert_snapshot!(fs_err::read_to_string(record_file).unwrap(), @r###"
uv_backend-0.1.0.dist-info/WHEEL,sha256=3ab9e610d443a2f26ac5392439f8a7a71c00f181a8df237b7104768ac54c5214,79
uv_backend-0.1.0.dist-info/WHEEL,sha256=70ce44709b6a53e0d0c5a6755b0290179697020f1f867e794f26154fe4825738,79
uv_backend-0.1.0.dist-info/METADATA,sha256=e4a0d390317d7182f65ea978254c71ed283e0a4242150cf1c99a694b113ff68d,224
uv_backend-0.1.0.dist-info/RECORD,,
"###);

View File

@ -1,6 +1,6 @@
[package]
name = "uv-version"
version = "0.4.19"
version = "0.4.20"
edition = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }

View File

@ -1,6 +1,6 @@
[package]
name = "uv"
version = "0.4.19"
version = "0.4.20"
edition = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }

View File

@ -21,7 +21,7 @@ $ docker run ghcr.io/astral-sh/uv --help
uv provides a distroless Docker image including the `uv` binary. The following tags are published:
- `ghcr.io/astral-sh/uv:latest`
- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.4.19`
- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.4.20`
- `ghcr.io/astral-sh/uv:{major}.{minor}`, e.g., `ghcr.io/astral-sh/uv:0.4` (the latest patch
version)
@ -59,7 +59,7 @@ In addition, uv publishes the following images:
As with the distroless image, each image is published with uv version tags as
`ghcr.io/astral-sh/uv:{major}.{minor}.{patch}-{base}` and
`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.4.19-alpine`.
`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.4.20-alpine`.
For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv)
page.
@ -97,13 +97,13 @@ Note this requires `curl` to be available.
In either case, it is best practice to pin to a specific uv version, e.g., with:
```dockerfile
COPY --from=ghcr.io/astral-sh/uv:0.4.19 /uv /bin/uv
COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv
```
Or, with the installer:
```dockerfile
ADD https://astral.sh/uv/0.4.19/install.sh /uv-installer.sh
ADD https://astral.sh/uv/0.4.20/install.sh /uv-installer.sh
```
### Installing a project

View File

@ -40,7 +40,7 @@ jobs:
uses: astral-sh/setup-uv@v3
with:
# Install a specific version of uv.
version: "0.4.19"
version: "0.4.20"
```
## Setting up Python

View File

@ -8,7 +8,7 @@ To compile requirements via pre-commit, add the following to the `.pre-commit-co
```yaml title=".pre-commit-config.yaml"
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.4.19
rev: 0.4.20
hooks:
# Compile requirements
- id: pip-compile
@ -20,7 +20,7 @@ To compile alternative files, modify `args` and `files`:
```yaml title=".pre-commit-config.yaml"
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.4.19
rev: 0.4.20
hooks:
# Compile requirements
- id: pip-compile
@ -33,7 +33,7 @@ To run the hook over multiple files at the same time:
```yaml title=".pre-commit-config.yaml"
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.4.19
rev: 0.4.20
hooks:
# Compile requirements
- id: pip-compile

View File

@ -4,7 +4,7 @@ build-backend = "maturin"
[project]
name = "uv"
version = "0.4.19"
version = "0.4.20"
description = "An extremely fast Python package and project manager, written in Rust."
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
requires-python = ">=3.8"