mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Bump version to 0.4.5 (#7044)
This commit is contained in:
parent
1c25c76be6
commit
42b6bfbad7
9 changed files with 49 additions and 17 deletions
32
CHANGELOG.md
32
CHANGELOG.md
|
@ -1,5 +1,37 @@
|
|||
# Changelog
|
||||
|
||||
## 0.4.5
|
||||
|
||||
### Enhancements
|
||||
|
||||
- Implement `uv build` ([#6895](https://github.com/astral-sh/uv/pull/6895))
|
||||
- Add `--package` support to `uv build` ([#6990](https://github.com/astral-sh/uv/pull/6990))
|
||||
- Prune unreachable packages from lockfile ([#6959](https://github.com/astral-sh/uv/pull/6959))
|
||||
- Prune unreachable wheels from lockfile ([#6961](https://github.com/astral-sh/uv/pull/6961))
|
||||
- Show build output by default in `uv build` ([#6912](https://github.com/astral-sh/uv/pull/6912))
|
||||
- Support `uv build --wheel` from source distributions ([#6898](https://github.com/astral-sh/uv/pull/6898))
|
||||
- Use the root project name for the project virtual environment prompt ([#7021](https://github.com/astral-sh/uv/pull/7021))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- Fix handling of inline optional dependencies in `uv add` ([#7023](https://github.com/astral-sh/uv/pull/7023))
|
||||
- Reflect exit code in `uv tool run` and `uv run` ([#6994](https://github.com/astral-sh/uv/pull/6994))
|
||||
- Revert `pyproject.toml` modifications on Ctrl-C ([#7024](https://github.com/astral-sh/uv/pull/7024))
|
||||
- Rollback `pyproject.toml` changes on all errors ([#7022](https://github.com/astral-sh/uv/pull/7022))
|
||||
- Use correct ordering semantics for narrowing upper-bounded Python requirements ([#7031](https://github.com/astral-sh/uv/pull/7031))
|
||||
- Fix segfault in Windows trampolines ([#6955](https://github.com/astral-sh/uv/pull/6955))
|
||||
- Remove unused `__future__.annotations` import in `_virtualenv.py` ([#6996](https://github.com/astral-sh/uv/pull/6996))
|
||||
|
||||
### Documentation
|
||||
|
||||
- Add documentation for `uv build` ([#6991](https://github.com/astral-sh/uv/pull/6991))
|
||||
- Add note to `extra` and `all-extras` in `uv sync` help ([#7013](https://github.com/astral-sh/uv/pull/7013))
|
||||
- Add project docs for `project.scripts` ([#7010](https://github.com/astral-sh/uv/pull/7010))
|
||||
- Fix available Docker image tag rendering and shorten list ([#7017](https://github.com/astral-sh/uv/pull/7017))
|
||||
- Touchup to the project environment config section ([#7038](https://github.com/astral-sh/uv/pull/7038))
|
||||
- Clarify precedence of `uv.toml` ([#6986](https://github.com/astral-sh/uv/pull/6986))
|
||||
- Fix available Docker tags for `-slim` variants ([#7041](https://github.com/astral-sh/uv/pull/7041))
|
||||
|
||||
## 0.4.4
|
||||
|
||||
### Enhancements
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4452,7 +4452,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
|
|||
|
||||
[[package]]
|
||||
name = "uv"
|
||||
version = "0.4.4"
|
||||
version = "0.4.5"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anyhow",
|
||||
|
@ -5205,7 +5205,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "uv-version"
|
||||
version = "0.4.4"
|
||||
version = "0.4.5"
|
||||
|
||||
[[package]]
|
||||
name = "uv-virtualenv"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv-version"
|
||||
version = "0.4.4"
|
||||
version = "0.4.5"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv"
|
||||
version = "0.4.4"
|
||||
version = "0.4.5"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -45,13 +45,13 @@ Request a specific version by including it in the URL:
|
|||
=== "macOS and Linux"
|
||||
|
||||
```console
|
||||
$ curl -LsSf https://astral.sh/uv/0.4.4/install.sh | sh
|
||||
$ curl -LsSf https://astral.sh/uv/0.4.5/install.sh | sh
|
||||
```
|
||||
|
||||
=== "Windows"
|
||||
|
||||
```console
|
||||
$ powershell -c "irm https://astral.sh/uv/0.4.4/install.ps1 | iex"
|
||||
$ powershell -c "irm https://astral.sh/uv/0.4.5/install.ps1 | iex"
|
||||
```
|
||||
|
||||
### PyPI
|
||||
|
|
|
@ -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.4`
|
||||
- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.5`
|
||||
- `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.4-alpine`.
|
||||
`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.5-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.4 /uv /bin/uv
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.4.5 /uv /bin/uv
|
||||
```
|
||||
|
||||
Or, with the installer:
|
||||
|
||||
```dockerfile
|
||||
ADD https://astral.sh/uv/0.4.4/install.sh /uv-installer.sh
|
||||
ADD https://astral.sh/uv/0.4.5/install.sh /uv-installer.sh
|
||||
```
|
||||
|
||||
### Installing a project
|
||||
|
|
|
@ -76,7 +76,7 @@ It is considered best practice to pin to a specific uv version, e.g., with:
|
|||
|
||||
- name: Set up uv
|
||||
# Install a specific uv version using the installer
|
||||
run: curl -LsSf https://astral.sh/uv/0.4.4/install.sh | sh
|
||||
run: curl -LsSf https://astral.sh/uv/0.4.5/install.sh | sh
|
||||
```
|
||||
|
||||
=== "macOS"
|
||||
|
@ -94,7 +94,7 @@ It is considered best practice to pin to a specific uv version, e.g., with:
|
|||
|
||||
- name: Set up uv
|
||||
# Install a specific uv version using the installer
|
||||
run: curl -LsSf https://astral.sh/uv/0.4.4/install.sh | sh
|
||||
run: curl -LsSf https://astral.sh/uv/0.4.5/install.sh | sh
|
||||
```
|
||||
|
||||
=== "Windows"
|
||||
|
@ -112,7 +112,7 @@ It is considered best practice to pin to a specific uv version, e.g., with:
|
|||
|
||||
- name: Set up uv
|
||||
# Install a specific uv version using the installer
|
||||
run: irm https://astral.sh/uv/0.4.4/install.ps1 | iex
|
||||
run: irm https://astral.sh/uv/0.4.5/install.ps1 | iex
|
||||
shell: powershell
|
||||
```
|
||||
|
||||
|
|
|
@ -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.4
|
||||
rev: 0.4.5
|
||||
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.4
|
||||
rev: 0.4.5
|
||||
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.4
|
||||
rev: 0.4.5
|
||||
hooks:
|
||||
# Compile requirements
|
||||
- id: pip-compile
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
|||
|
||||
[project]
|
||||
name = "uv"
|
||||
version = "0.4.4"
|
||||
version = "0.4.5"
|
||||
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