mirror of
https://github.com/astral-sh/uv.git
synced 2025-09-24 19:22:35 +00:00
Bump version to 0.4.6 (#7103)
This commit is contained in:
parent
58b25b560c
commit
84f25e8cf8
9 changed files with 44 additions and 15 deletions
29
CHANGELOG.md
29
CHANGELOG.md
|
@ -1,5 +1,34 @@
|
|||
# Changelog
|
||||
|
||||
## 0.4.6
|
||||
|
||||
### Enhancements
|
||||
|
||||
- Accept `--build-constraints` in `uv build` ([#7085](https://github.com/astral-sh/uv/pull/7085))
|
||||
- Add `--require-hashes` and `--verify-hashes` to `uv build` ([#7094](https://github.com/astral-sh/uv/pull/7094))
|
||||
- Add `--show-version-specifiers` to `uv tool list` ([#7050](https://github.com/astral-sh/uv/pull/7050))
|
||||
- Respect hashes in constraints files ([#7093](https://github.com/astral-sh/uv/pull/7093))
|
||||
- Upgrade installer scripts ([#7092](https://github.com/astral-sh/uv/pull/7092))
|
||||
- Allow specifying multiple packages in `uv tool upgrade` and `uninstall` ([#7037](https://github.com/astral-sh/uv/pull/7037))
|
||||
- Sort by implementation in `uv python list` ([#6918](https://github.com/astral-sh/uv/pull/6918))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- Invalidate lockfile when member versions change ([#7102](https://github.com/astral-sh/uv/pull/7102))
|
||||
- Strip fragments from direct source URLs in lockfile ([#7061](https://github.com/astral-sh/uv/pull/7061))
|
||||
- Support `--no-build` and `--no-binary` in `uv sync` et al ([#7100](https://github.com/astral-sh/uv/pull/7100))
|
||||
- Use distribution hash over registry hash ([#7060](https://github.com/astral-sh/uv/pull/7060))
|
||||
- Fix inverted log message ([#7063](https://github.com/astral-sh/uv/pull/7063))
|
||||
- Adjust Docker `ENTRYPOINT` and `CMD` for inherited images ([#7054](https://github.com/astral-sh/uv/pull/7054))
|
||||
|
||||
### Documentation
|
||||
|
||||
- Add winget to installers ([#7088](https://github.com/astral-sh/uv/pull/7088))
|
||||
- Document how to disable path modifications during install ([#7090](https://github.com/astral-sh/uv/pull/7090))
|
||||
- Document how to manually update locked package version ([#7083](https://github.com/astral-sh/uv/pull/7083))
|
||||
- Document official `setup-uv` action ([#7056](https://github.com/astral-sh/uv/pull/7056))
|
||||
- Update docs on `.python-version` file ([#7051](https://github.com/astral-sh/uv/pull/7051))
|
||||
|
||||
## 0.4.5
|
||||
|
||||
### Enhancements
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4452,7 +4452,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
|
|||
|
||||
[[package]]
|
||||
name = "uv"
|
||||
version = "0.4.5"
|
||||
version = "0.4.6"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anyhow",
|
||||
|
@ -5205,7 +5205,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "uv-version"
|
||||
version = "0.4.5"
|
||||
version = "0.4.6"
|
||||
|
||||
[[package]]
|
||||
name = "uv-virtualenv"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv-version"
|
||||
version = "0.4.5"
|
||||
version = "0.4.6"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv"
|
||||
version = "0.4.5"
|
||||
version = "0.4.6"
|
||||
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.5/install.sh | sh
|
||||
$ curl -LsSf https://astral.sh/uv/0.4.6/install.sh | sh
|
||||
```
|
||||
|
||||
=== "Windows"
|
||||
|
||||
```console
|
||||
$ powershell -c "irm https://astral.sh/uv/0.4.5/install.ps1 | iex"
|
||||
$ powershell -c "irm https://astral.sh/uv/0.4.6/install.ps1 | iex"
|
||||
```
|
||||
|
||||
!!! tip
|
||||
|
|
|
@ -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.5`
|
||||
- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.6`
|
||||
- `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.5-alpine`.
|
||||
`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.6-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.5 /uv /bin/uv
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.4.6 /uv /bin/uv
|
||||
```
|
||||
|
||||
Or, with the installer:
|
||||
|
||||
```dockerfile
|
||||
ADD https://astral.sh/uv/0.4.5/install.sh /uv-installer.sh
|
||||
ADD https://astral.sh/uv/0.4.6/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.5"
|
||||
version: "0.4.6"
|
||||
```
|
||||
|
||||
## 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.5
|
||||
rev: 0.4.6
|
||||
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.5
|
||||
rev: 0.4.6
|
||||
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.5
|
||||
rev: 0.4.6
|
||||
hooks:
|
||||
# Compile requirements
|
||||
- id: pip-compile
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
|||
|
||||
[project]
|
||||
name = "uv"
|
||||
version = "0.4.5"
|
||||
version = "0.4.6"
|
||||
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