mirror of
https://github.com/astral-sh/uv.git
synced 2025-09-23 10:42:31 +00:00
Bump version to v0.3.1 (#6385)
This commit is contained in:
parent
19a7f3ec07
commit
be17d132ad
9 changed files with 204 additions and 167 deletions
37
CHANGELOG.md
37
CHANGELOG.md
|
@ -1,5 +1,41 @@
|
|||
# Changelog
|
||||
|
||||
## 0.3.1
|
||||
|
||||
### Enhancements
|
||||
|
||||
- Add `--with-editable` support to `uv run` ([#6262](https://github.com/astral-sh/uv/pull/6262))
|
||||
- Respect `.python-version` files and `pyproject.toml` in `uv python find` ([#6369](https://github.com/astral-sh/uv/pull/6369))
|
||||
|
||||
### Enhancements
|
||||
|
||||
- Allow manylinux compatibility override via `_manylinux` module ([#6039](https://github.com/astral-sh/uv/pull/6039))
|
||||
|
||||
### CLI
|
||||
|
||||
- Avoid treating `uv add -r` as `--raw-sources` ([#6287](https://github.com/astral-sh/uv/pull/6287))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- Always invoke found interpreter when `uv run python` is used ([#6363](https://github.com/astral-sh/uv/pull/6363))
|
||||
- Avoid adding extra newline for script with non-empty prelude ([#6366](https://github.com/astral-sh/uv/pull/6366))
|
||||
- Fix metadata cache instability for lockfile ([#6332](https://github.com/astral-sh/uv/pull/6332))
|
||||
- Handle Ctrl-C properly in `uvx` invocations ([#6346](https://github.com/astral-sh/uv/pull/6346))
|
||||
- Ignore workspace discovery errors with `--no-workspace` ([#6328](https://github.com/astral-sh/uv/pull/6328))
|
||||
- Invalidate `uv.lock` when virtual `dev-dependencies` change ([#6291](https://github.com/astral-sh/uv/pull/6291))
|
||||
- Make cache robust to removed archives ([#6284](https://github.com/astral-sh/uv/pull/6284))
|
||||
- Preserve Git username for SSH dependencies ([#6335](https://github.com/astral-sh/uv/pull/6335))
|
||||
- Respect `--no-build-isolation` in `uv add` ([#6368](https://github.com/astral-sh/uv/pull/6368))
|
||||
- Respect `.python-version` files in `uv run` outside projects ([#6361](https://github.com/astral-sh/uv/pull/6361))
|
||||
- Use `sys_executable` for `uv run` invocations ([#6354](https://github.com/astral-sh/uv/pull/6354))
|
||||
- Use atomic write for `pip compile` output ([#6274](https://github.com/astral-sh/uv/pull/6274))
|
||||
- Use consistent logic for deserializing short revisions ([#6341](https://github.com/astral-sh/uv/pull/6341))
|
||||
|
||||
### Documentation
|
||||
|
||||
- Remove the preview default value of `python-preference` ([#6301](https://github.com/astral-sh/uv/pull/6301))
|
||||
- Update env vars doc about `XDG_*` variables on macOS ([#6337](https://github.com/astral-sh/uv/pull/6337))
|
||||
|
||||
## 0.3.0
|
||||
|
||||
This release introduces the uv [project](https://docs.astral.sh/uv/guides/projects/),
|
||||
|
@ -2675,3 +2711,4 @@ pass the `--native-tls` command-line flag to enable this behavior.
|
|||
- Grammar nit ([#1345](https://github.com/astral-sh/uv/pull/1345))
|
||||
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4498,7 +4498,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
|
|||
|
||||
[[package]]
|
||||
name = "uv"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anyhow",
|
||||
|
@ -5248,7 +5248,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "uv-version"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
|
||||
[[package]]
|
||||
name = "uv-virtualenv"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv-version"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -34,11 +34,11 @@ By default, uv is installed to `~/.cargo/bin`.
|
|||
Request a specific version by including it in the URL:
|
||||
|
||||
```console title="macOS and Linux"
|
||||
$ curl -LsSf https://astral.sh/uv/0.3.0/install.sh | sh
|
||||
$ curl -LsSf https://astral.sh/uv/0.3.1/install.sh | sh
|
||||
```
|
||||
|
||||
```console title="Windows"
|
||||
$ powershell -c "irm https://astral.sh/uv/0.3.0/install.ps1 | iex"
|
||||
$ powershell -c "irm https://astral.sh/uv/0.3.1/install.ps1 | iex"
|
||||
```
|
||||
|
||||
!!! tip
|
||||
|
|
|
@ -41,13 +41,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.3.0 /uv /bin/uv
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.3.1 /uv /bin/uv
|
||||
```
|
||||
|
||||
Or, with the installer:
|
||||
|
||||
```dockerfile
|
||||
ADD https://astral.sh/uv/0.3.0/install.sh /uv-installer.sh
|
||||
ADD https://astral.sh/uv/0.3.1/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.3.0/install.sh | sh
|
||||
run: curl -LsSf https://astral.sh/uv/0.3.1/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.3.0/install.sh | sh
|
||||
run: curl -LsSf https://astral.sh/uv/0.3.1/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.3.0/install.ps1 | iex
|
||||
run: irm https://astral.sh/uv/0.3.1/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.3.0
|
||||
rev: 0.3.1
|
||||
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.3.0
|
||||
rev: 0.3.1
|
||||
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.3.0
|
||||
rev: 0.3.1
|
||||
hooks:
|
||||
# Compile requirements
|
||||
- id: pip-compile
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
|||
|
||||
[project]
|
||||
name = "uv"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
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