Bump version to v0.4.8 (#7233)

This commit is contained in:
Charlie Marsh 2024-09-09 17:19:40 -04:00 committed by GitHub
parent fe8880bf3c
commit 956cadd1a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 42 additions and 13 deletions

View file

@ -1,5 +1,34 @@
# Changelog # Changelog
## 0.4.8
### Enhancements
- Add support for dynamic cache keys ([#7136](https://github.com/astral-sh/uv/pull/7136))
- Allow `.dist-info` names with dashes for post releases ([#7208](https://github.com/astral-sh/uv/pull/7208))
- Use type hints in code from `uv init` ([#7225](https://github.com/astral-sh/uv/pull/7225))
- Treat `.tgz` the same as `.tar.gz` ([#7201](https://github.com/astral-sh/uv/pull/7201))
- Direct users towards `uv venv` to create a virtual environment ([#7188](https://github.com/astral-sh/uv/pull/7188))
- Improve error message for uv init already init-ed ([#7198](https://github.com/astral-sh/uv/pull/7198))
### Performance
- Avoid batch prefetching for un-optimized registries ([#7226](https://github.com/astral-sh/uv/pull/7226))
- Avoid iteration for singleton selections ([#7195](https://github.com/astral-sh/uv/pull/7195))
### Bug fixes
- Avoid extra newlines in debug logging for source builds ([#7174](https://github.com/astral-sh/uv/pull/7174))
- Prune unreachable packages from `--universal` output ([#7209](https://github.com/astral-sh/uv/pull/7209))
- Respect exclusion when collecting workspace members ([#7175](https://github.com/astral-sh/uv/pull/7175))
- Use path file instead of `sitecustomize.py` ([#7161](https://github.com/astral-sh/uv/pull/7161))
- Replace incorrect `--source` and `--binary` flags with correct `--sdist` and `--wheel` flags in `uv build` ([#7156](https://github.com/astral-sh/uv/pull/7156))
### Documentation
- Document support for `UV_INSTALL_DIR` ([#7107](https://github.com/astral-sh/uv/pull/7107))
- List all supported sdist formats ([#7168](https://github.com/astral-sh/uv/pull/7168))
## 0.4.7 ## 0.4.7
### Enhancements ### Enhancements

4
Cargo.lock generated
View file

@ -4444,7 +4444,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
[[package]] [[package]]
name = "uv" name = "uv"
version = "0.4.7" version = "0.4.8"
dependencies = [ dependencies = [
"anstream", "anstream",
"anyhow", "anyhow",
@ -5217,7 +5217,7 @@ dependencies = [
[[package]] [[package]]
name = "uv-version" name = "uv-version"
version = "0.4.7" version = "0.4.8"
[[package]] [[package]]
name = "uv-virtualenv" name = "uv-virtualenv"

View file

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

View file

@ -1,6 +1,6 @@
[package] [package]
name = "uv" name = "uv"
version = "0.4.7" version = "0.4.8"
edition = { workspace = true } edition = { workspace = true }
rust-version = { workspace = true } rust-version = { workspace = true }
homepage = { 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: uv provides a distroless Docker image including the `uv` binary. The following tags are published:
- `uv:latest` - `uv:latest`
- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.7` - `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.8`
- `uv:{major}.{minor}`, e.g., `uv:0.4` (the latest patch version) - `uv:{major}.{minor}`, e.g., `uv:0.4` (the latest patch version)
In addition, uv publishes the following images: In addition, uv publishes the following images:
@ -56,7 +56,7 @@ In addition, uv publishes the following images:
- `uv:python3.8-bookworm-slim` - `uv:python3.8-bookworm-slim`
As with the distroless image, each image is published with uv version tags as As with the distroless image, each image is published with uv version tags as
`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.7-alpine`. `uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.8-alpine`.
For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv) For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv)
page. page.
@ -94,13 +94,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: In either case, it is best practice to pin to a specific uv version, e.g., with:
```dockerfile ```dockerfile
COPY --from=ghcr.io/astral-sh/uv:0.4.7 /uv /bin/uv COPY --from=ghcr.io/astral-sh/uv:0.4.8 /uv /bin/uv
``` ```
Or, with the installer: Or, with the installer:
```dockerfile ```dockerfile
ADD https://astral.sh/uv/0.4.7/install.sh /uv-installer.sh ADD https://astral.sh/uv/0.4.8/install.sh /uv-installer.sh
``` ```
### Installing a project ### Installing a project

View file

@ -40,7 +40,7 @@ jobs:
uses: astral-sh/setup-uv@v2 uses: astral-sh/setup-uv@v2
with: with:
# Install a specific version of uv. # Install a specific version of uv.
version: "0.4.7" version: "0.4.8"
``` ```
## Setting up Python ## 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" ```yaml title=".pre-commit-config.yaml"
- repo: https://github.com/astral-sh/uv-pre-commit - repo: https://github.com/astral-sh/uv-pre-commit
# uv version. # uv version.
rev: 0.4.7 rev: 0.4.8
hooks: hooks:
# Compile requirements # Compile requirements
- id: pip-compile - id: pip-compile
@ -20,7 +20,7 @@ To compile alternative files, modify `args` and `files`:
```yaml title=".pre-commit-config.yaml" ```yaml title=".pre-commit-config.yaml"
- repo: https://github.com/astral-sh/uv-pre-commit - repo: https://github.com/astral-sh/uv-pre-commit
# uv version. # uv version.
rev: 0.4.7 rev: 0.4.8
hooks: hooks:
# Compile requirements # Compile requirements
- id: pip-compile - id: pip-compile
@ -33,7 +33,7 @@ To run the hook over multiple files at the same time:
```yaml title=".pre-commit-config.yaml" ```yaml title=".pre-commit-config.yaml"
- repo: https://github.com/astral-sh/uv-pre-commit - repo: https://github.com/astral-sh/uv-pre-commit
# uv version. # uv version.
rev: 0.4.7 rev: 0.4.8
hooks: hooks:
# Compile requirements # Compile requirements
- id: pip-compile - id: pip-compile

View file

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