mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-09 14:25:00 +00:00
Bump version to 0.4.30 (#8820)
This commit is contained in:
parent
c39936e9c8
commit
61ed2a236a
8 changed files with 56 additions and 13 deletions
43
CHANGELOG.md
43
CHANGELOG.md
|
@ -1,5 +1,48 @@
|
|||
# Changelog
|
||||
|
||||
## 0.4.30
|
||||
|
||||
### Enhancements
|
||||
|
||||
- Add support for `.env` and custom env files in `uv run` ([#8811](https://github.com/astral-sh/uv/pull/8811))
|
||||
- Add support for `--all-packages` in `uv run`, `uv sync`, and `uv export` ([#8742](https://github.com/astral-sh/uv/pull/8742), [#8741](https://github.com/astral-sh/uv/pull/8741), [#8739](https://github.com/astral-sh/uv/pull/8739))
|
||||
- Allow use of `--frozen` with `--all-packages` in `uv sync` and `uv export` ([#8760](https://github.com/astral-sh/uv/pull/8760))
|
||||
- Show full error chain on tool upgrade failures ([#8753](https://github.com/astral-sh/uv/pull/8753))
|
||||
- Add `--check-url` to `uv publish` to check for existing distributions during upload ([#8531](https://github.com/astral-sh/uv/pull/8531))
|
||||
- Suggest using `--check-url` when `--skip-existing` is used ([#8803](https://github.com/astral-sh/uv/pull/8803))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- Allow incompatible `requires-python` for source distributions with static metadata ([#8768](https://github.com/astral-sh/uv/pull/8768))
|
||||
- Allow managed downloads with `--python-preference system` ([#8808](https://github.com/astral-sh/uv/pull/8808))
|
||||
- Avoid error for `--group` defined in non-root workspace member ([#8734](https://github.com/astral-sh/uv/pull/8734))
|
||||
- Avoid showing dependency group annotations on workspace members in tree ([#8730](https://github.com/astral-sh/uv/pull/8730))
|
||||
- Do not error when the Python bin directory is missing on `uv python uninstall` ([#8725](https://github.com/astral-sh/uv/pull/8725))
|
||||
- Include member groups when locking workspace ([#8736](https://github.com/astral-sh/uv/pull/8736))
|
||||
- Fix bug where `python_version < '0'` could appear in a final resolution ([#8759](https://github.com/astral-sh/uv/pull/8759))
|
||||
- Sanitize filenames during zip extraction ([#8732](https://github.com/astral-sh/uv/pull/8732))
|
||||
- Switch to RFC 9110 compatible format for exclude newer requests ([#8752](https://github.com/astral-sh/uv/pull/8752))
|
||||
|
||||
### Preview features
|
||||
|
||||
- Add support for installing versioned Python executables on Windows ([#8663](https://github.com/astral-sh/uv/pull/8663))
|
||||
- Improve interactions with existing Python executables during install ([#8733](https://github.com/astral-sh/uv/pull/8733))
|
||||
|
||||
### Rust API
|
||||
|
||||
- Extend `BaseClient` to accept extra middleware ([#8807](https://github.com/astral-sh/uv/pull/8807))
|
||||
- Add `From` for `FlatDistributions` struct ([#8800](https://github.com/astral-sh/uv/pull/8800))
|
||||
|
||||
### Documentation
|
||||
|
||||
- Fix environment variable name in providing credentials section ([#8740](https://github.com/astral-sh/uv/pull/8740))
|
||||
- Fix `add httpx` example with real git branch ([#8756](https://github.com/astral-sh/uv/pull/8756))
|
||||
- Fix indentation in `projects.md` ([#8772](https://github.com/astral-sh/uv/pull/8772))
|
||||
- Fix link to publish guide in `README` ([#8720](https://github.com/astral-sh/uv/pull/8720))
|
||||
- Generate environment variables documentation from code ([#8493](https://github.com/astral-sh/uv/pull/8493))
|
||||
- Improve and fix some documents ([#8749](https://github.com/astral-sh/uv/pull/8749))
|
||||
- Improve environment variables document ([#8777](https://github.com/astral-sh/uv/pull/8777))
|
||||
|
||||
## 0.4.29
|
||||
|
||||
### Enhancements
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4172,7 +4172,7 @@ checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a"
|
|||
|
||||
[[package]]
|
||||
name = "uv"
|
||||
version = "0.4.29"
|
||||
version = "0.4.30"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anyhow",
|
||||
|
@ -5337,7 +5337,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "uv-version"
|
||||
version = "0.4.29"
|
||||
version = "0.4.30"
|
||||
|
||||
[[package]]
|
||||
name = "uv-virtualenv"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv-version"
|
||||
version = "0.4.29"
|
||||
version = "0.4.30"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv"
|
||||
version = "0.4.29"
|
||||
version = "0.4.30"
|
||||
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:
|
||||
|
||||
- `ghcr.io/astral-sh/uv:latest`
|
||||
- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.4.29`
|
||||
- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.4.30`
|
||||
- `ghcr.io/astral-sh/uv:{major}.{minor}`, e.g., `ghcr.io/astral-sh/uv:0.4` (the latest patch
|
||||
version)
|
||||
|
||||
|
@ -62,7 +62,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.29-alpine`.
|
||||
`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.4.30-alpine`.
|
||||
|
||||
For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv)
|
||||
page.
|
||||
|
@ -100,13 +100,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.29 /uv /uvx /bin/
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.4.30 /uv /uvx /bin/
|
||||
```
|
||||
|
||||
Or, with the installer:
|
||||
|
||||
```dockerfile
|
||||
ADD https://astral.sh/uv/0.4.29/install.sh /uv-installer.sh
|
||||
ADD https://astral.sh/uv/0.4.30/install.sh /uv-installer.sh
|
||||
```
|
||||
|
||||
### Installing a project
|
||||
|
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v3
|
||||
with:
|
||||
# Install a specific version of uv.
|
||||
version: "0.4.29"
|
||||
version: "0.4.30"
|
||||
```
|
||||
|
||||
## 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.29
|
||||
rev: 0.4.30
|
||||
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.29
|
||||
rev: 0.4.30
|
||||
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.29
|
||||
rev: 0.4.30
|
||||
hooks:
|
||||
# Compile requirements
|
||||
- id: pip-compile
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
|||
|
||||
[project]
|
||||
name = "uv"
|
||||
version = "0.4.29"
|
||||
version = "0.4.30"
|
||||
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