mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-03 05:03:46 +00:00
Bump version to v0.3.2 (#6483)
This commit is contained in:
parent
9b42142fe7
commit
c5440001ce
9 changed files with 49 additions and 16 deletions
35
CHANGELOG.md
35
CHANGELOG.md
|
|
@ -1,5 +1,39 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.3.2
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
- Add support for configuring `python-downloads` with `UV_PYTHON_DOWNLOADS` ([#6436](https://github.com/astral-sh/uv/pull/6436))
|
||||||
|
- Add support for configuring the `python-preference` with `UV_PYTHON_PREFERENCE` ([#6432](https://github.com/astral-sh/uv/pull/6432))
|
||||||
|
- Deny invalid members in workspace schema ([#6450](https://github.com/astral-sh/uv/pull/6450))
|
||||||
|
|
||||||
|
### Performance
|
||||||
|
|
||||||
|
- Stop streaming wheels when `METADATA` is discovered (if range requests aren't supported) ([#6470](https://github.com/astral-sh/uv/pull/6470))
|
||||||
|
|
||||||
|
### Bug fixes
|
||||||
|
|
||||||
|
- Remove URI type from JSON Schema ([#6449](https://github.com/astral-sh/uv/pull/6449))
|
||||||
|
- Fix retrieval of credentials for URLs from cache ([#6452](https://github.com/astral-sh/uv/pull/6452))
|
||||||
|
- Restore `cache` suffix on Windows cache path ([#6482](https://github.com/astral-sh/uv/pull/6482))
|
||||||
|
- Treat `.pyw` files as scripts in `uv run` on Windows ([#6453](https://github.com/astral-sh/uv/pull/6453))
|
||||||
|
- Treat invalid extras as `false` in marker evaluation ([#6395](https://github.com/astral-sh/uv/pull/6395))
|
||||||
|
- Avoid overwriting symlinks in `pip compile` output ([#6487](https://github.com/astral-sh/uv/pull/6487))
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
- Add `uv run` hint to the `uvx` guide ([#6454](https://github.com/astral-sh/uv/pull/6454))
|
||||||
|
- Add a guide for using uv with FastAPI ([#6401](https://github.com/astral-sh/uv/pull/6401))
|
||||||
|
- Add tip for using `managed = false` to disable project management ([#6465](https://github.com/astral-sh/uv/pull/6465))
|
||||||
|
- Clarify the `uv tool run`, `uvx`, and `uv run` relationships ([#6455](https://github.com/astral-sh/uv/pull/6455))
|
||||||
|
- Fix references to `--python-downloads` (it is `--no-python-downloads`) ([#6439](https://github.com/astral-sh/uv/pull/6439))
|
||||||
|
- Further clarifications to the tools documentation ([#6474](https://github.com/astral-sh/uv/pull/6474))
|
||||||
|
- Update docs dockerfile (bullseye -> bookworm) ([#6441](https://github.com/astral-sh/uv/pull/6441))
|
||||||
|
- Update the installation documentation page ([#6468](https://github.com/astral-sh/uv/pull/6468))
|
||||||
|
- Update pip compatibility pages to mention configuration files support ([#6410](https://github.com/astral-sh/uv/pull/6410))
|
||||||
|
- Add `uv run` docs for gui scripts ([#6478](https://github.com/astral-sh/uv/pull/6478))
|
||||||
|
|
||||||
## 0.3.1
|
## 0.3.1
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
@ -2708,4 +2742,3 @@ path ([#1433](https://github.com/astral-sh/uv/pull/1433))
|
||||||
- Grammar nit ([#1345](https://github.com/astral-sh/uv/pull/1345))
|
- Grammar nit ([#1345](https://github.com/astral-sh/uv/pull/1345))
|
||||||
|
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
|
|
|
||||||
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -4498,7 +4498,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uv"
|
name = "uv"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anstream",
|
"anstream",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|
@ -5248,7 +5248,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uv-version"
|
name = "uv-version"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uv-virtualenv"
|
name = "uv-virtualenv"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "uv-version"
|
name = "uv-version"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
rust-version = { workspace = true }
|
rust-version = { workspace = true }
|
||||||
homepage = { workspace = true }
|
homepage = { workspace = true }
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "uv"
|
name = "uv"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
rust-version = { workspace = true }
|
rust-version = { workspace = true }
|
||||||
homepage = { workspace = true }
|
homepage = { workspace = true }
|
||||||
|
|
|
||||||
|
|
@ -35,11 +35,11 @@ By default, uv is installed to `~/.cargo/bin`.
|
||||||
Request a specific version by including it in the URL:
|
Request a specific version by including it in the URL:
|
||||||
|
|
||||||
```console title="macOS and Linux"
|
```console title="macOS and Linux"
|
||||||
$ curl -LsSf https://astral.sh/uv/0.3.1/install.sh | sh
|
$ curl -LsSf https://astral.sh/uv/0.3.2/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
```console title="Windows"
|
```console title="Windows"
|
||||||
$ powershell -c "irm https://astral.sh/uv/0.3.1/install.ps1 | iex"
|
$ powershell -c "irm https://astral.sh/uv/0.3.2/install.ps1 | iex"
|
||||||
```
|
```
|
||||||
|
|
||||||
### PyPI
|
### PyPI
|
||||||
|
|
|
||||||
|
|
@ -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:
|
In either case, it is best practice to pin to a specific uv version, e.g., with:
|
||||||
|
|
||||||
```dockerfile
|
```dockerfile
|
||||||
COPY --from=ghcr.io/astral-sh/uv:0.3.1 /uv /bin/uv
|
COPY --from=ghcr.io/astral-sh/uv:0.3.2 /uv /bin/uv
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, with the installer:
|
Or, with the installer:
|
||||||
|
|
||||||
```dockerfile
|
```dockerfile
|
||||||
ADD https://astral.sh/uv/0.3.1/install.sh /uv-installer.sh
|
ADD https://astral.sh/uv/0.3.2/install.sh /uv-installer.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installing a project
|
## 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
|
- name: Set up uv
|
||||||
# Install a specific uv version using the installer
|
# Install a specific uv version using the installer
|
||||||
run: curl -LsSf https://astral.sh/uv/0.3.1/install.sh | sh
|
run: curl -LsSf https://astral.sh/uv/0.3.2/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "macOS"
|
=== "macOS"
|
||||||
|
|
@ -94,7 +94,7 @@ It is considered best practice to pin to a specific uv version, e.g., with:
|
||||||
|
|
||||||
- name: Set up uv
|
- name: Set up uv
|
||||||
# Install a specific uv version using the installer
|
# Install a specific uv version using the installer
|
||||||
run: curl -LsSf https://astral.sh/uv/0.3.1/install.sh | sh
|
run: curl -LsSf https://astral.sh/uv/0.3.2/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "Windows"
|
=== "Windows"
|
||||||
|
|
@ -112,7 +112,7 @@ It is considered best practice to pin to a specific uv version, e.g., with:
|
||||||
|
|
||||||
- name: Set up uv
|
- name: Set up uv
|
||||||
# Install a specific uv version using the installer
|
# Install a specific uv version using the installer
|
||||||
run: irm https://astral.sh/uv/0.3.1/install.ps1 | iex
|
run: irm https://astral.sh/uv/0.3.2/install.ps1 | iex
|
||||||
shell: powershell
|
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"
|
```yaml title=".pre-commit-config.yaml"
|
||||||
- repo: https://github.com/astral-sh/uv-pre-commit
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||||
# uv version.
|
# uv version.
|
||||||
rev: 0.3.1
|
rev: 0.3.2
|
||||||
hooks:
|
hooks:
|
||||||
# Compile requirements
|
# Compile requirements
|
||||||
- id: pip-compile
|
- id: pip-compile
|
||||||
|
|
@ -20,7 +20,7 @@ To compile alternative files, modify `args` and `files`:
|
||||||
```yaml title=".pre-commit-config.yaml"
|
```yaml title=".pre-commit-config.yaml"
|
||||||
- repo: https://github.com/astral-sh/uv-pre-commit
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||||
# uv version.
|
# uv version.
|
||||||
rev: 0.3.1
|
rev: 0.3.2
|
||||||
hooks:
|
hooks:
|
||||||
# Compile requirements
|
# Compile requirements
|
||||||
- id: pip-compile
|
- id: pip-compile
|
||||||
|
|
@ -33,7 +33,7 @@ To run the hook over multiple files at the same time:
|
||||||
```yaml title=".pre-commit-config.yaml"
|
```yaml title=".pre-commit-config.yaml"
|
||||||
- repo: https://github.com/astral-sh/uv-pre-commit
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||||
# uv version.
|
# uv version.
|
||||||
rev: 0.3.1
|
rev: 0.3.2
|
||||||
hooks:
|
hooks:
|
||||||
# Compile requirements
|
# Compile requirements
|
||||||
- id: pip-compile
|
- id: pip-compile
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "uv"
|
name = "uv"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
description = "An extremely fast Python package and project manager, written in Rust."
|
description = "An extremely fast Python package and project manager, written in Rust."
|
||||||
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
|
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.8"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue