mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-17 02:05:01 +00:00
Bump version to v0.4.8 (#7233)
This commit is contained in:
parent
fe8880bf3c
commit
956cadd1a6
8 changed files with 42 additions and 13 deletions
29
CHANGELOG.md
29
CHANGELOG.md
|
@ -1,5 +1,34 @@
|
|||
# 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
|
||||
|
||||
### Enhancements
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4444,7 +4444,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
|
|||
|
||||
[[package]]
|
||||
name = "uv"
|
||||
version = "0.4.7"
|
||||
version = "0.4.8"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anyhow",
|
||||
|
@ -5217,7 +5217,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "uv-version"
|
||||
version = "0.4.7"
|
||||
version = "0.4.8"
|
||||
|
||||
[[package]]
|
||||
name = "uv-virtualenv"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv-version"
|
||||
version = "0.4.7"
|
||||
version = "0.4.8"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv"
|
||||
version = "0.4.7"
|
||||
version = "0.4.8"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -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: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)
|
||||
|
||||
In addition, uv publishes the following images:
|
||||
|
@ -56,7 +56,7 @@ In addition, uv publishes the following images:
|
|||
- `uv:python3.8-bookworm-slim`
|
||||
|
||||
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)
|
||||
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:
|
||||
|
||||
```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:
|
||||
|
||||
```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
|
||||
|
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v2
|
||||
with:
|
||||
# Install a specific version of uv.
|
||||
version: "0.4.7"
|
||||
version: "0.4.8"
|
||||
```
|
||||
|
||||
## Setting up Python
|
||||
|
|
|
@ -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.7
|
||||
rev: 0.4.8
|
||||
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.7
|
||||
rev: 0.4.8
|
||||
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.7
|
||||
rev: 0.4.8
|
||||
hooks:
|
||||
# Compile requirements
|
||||
- id: pip-compile
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
|||
|
||||
[project]
|
||||
name = "uv"
|
||||
version = "0.4.7"
|
||||
version = "0.4.8"
|
||||
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue