mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-17 02:05:01 +00:00
Bump version to v0.3.4 (#6656)
This commit is contained in:
parent
900056105a
commit
39f3cd2a94
9 changed files with 47 additions and 15 deletions
32
CHANGELOG.md
32
CHANGELOG.md
|
@ -1,5 +1,36 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.3.4
|
||||||
|
|
||||||
|
### CLI
|
||||||
|
|
||||||
|
- Show `--editable` on the `uv add` CLI ([#6608](https://github.com/astral-sh/uv/pull/6608))
|
||||||
|
- Add `--refresh` to `tool run` warning for `--with` dependencies ([#6609](https://github.com/astral-sh/uv/pull/6609))
|
||||||
|
|
||||||
|
### Bug fixes
|
||||||
|
|
||||||
|
- Allow per dependency build isolation for `setup.py`-based projects ([#6517](https://github.com/astral-sh/uv/pull/6517))
|
||||||
|
- Avoid un-strict syncing by-default for build isolation ([#6606](https://github.com/astral-sh/uv/pull/6606))
|
||||||
|
- Respect `--no-build-isolation-package` in `uv sync` ([#6605](https://github.com/astral-sh/uv/pull/6605))
|
||||||
|
- Respect extras and markers on virtual dev dependencies ([#6620](https://github.com/astral-sh/uv/pull/6620))
|
||||||
|
- Support PEP 723 scripts in GUI files ([#6611](https://github.com/astral-sh/uv/pull/6611))
|
||||||
|
- Update lockfile after setting minimum bounds in `uv add` ([#6618](https://github.com/astral-sh/uv/pull/6618))
|
||||||
|
- Use relative paths for `--find-links` and local registries ([#6566](https://github.com/astral-sh/uv/pull/6566))
|
||||||
|
- Use separate types to represent raw vs. resolver markers ([#6646](https://github.com/astral-sh/uv/pull/6646))
|
||||||
|
- Parse wheels `WHEEL` and `METADATA` files as email messages ([#6616](https://github.com/astral-sh/uv/pull/6616))
|
||||||
|
- Support unquoted hrefs in `--find-links` and other HTML sources ([#6622](https://github.com/astral-sh/uv/pull/6622))
|
||||||
|
- Don't canonicalize paths to user requirements ([#6560](https://github.com/astral-sh/uv/pull/6560))
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
- Add FastAPI guide to overview ([#6603](https://github.com/astral-sh/uv/pull/6603))
|
||||||
|
- Add docs for disabling build isolation with `uv sync` ([#6607](https://github.com/astral-sh/uv/pull/6607))
|
||||||
|
- Add example of reading script from stdin using echo ([#6567](https://github.com/astral-sh/uv/pull/6567))
|
||||||
|
- Add tip to use intermediate layers in Docker builds ([#6650](https://github.com/astral-sh/uv/pull/6650))
|
||||||
|
- Clarify need to include `pyproject.toml` with `--no-install-project` ([#6581](https://github.com/astral-sh/uv/pull/6581))
|
||||||
|
- Move `WORKDIR` directive in Docker examples ([#6652](https://github.com/astral-sh/uv/pull/6652))
|
||||||
|
- Remove duplicate `WORKDIR` directive in Docker example ([#6651](https://github.com/astral-sh/uv/pull/6651))
|
||||||
|
|
||||||
## 0.3.3
|
## 0.3.3
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
@ -2779,3 +2810,4 @@ path ([#1433](https://github.com/astral-sh/uv/pull/1433))
|
||||||
|
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
|
|
||||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4492,7 +4492,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uv"
|
name = "uv"
|
||||||
version = "0.3.3"
|
version = "0.3.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anstream",
|
"anstream",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -5242,7 +5242,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uv-version"
|
name = "uv-version"
|
||||||
version = "0.3.3"
|
version = "0.3.4"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uv-virtualenv"
|
name = "uv-virtualenv"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "uv-version"
|
name = "uv-version"
|
||||||
version = "0.3.3"
|
version = "0.3.4"
|
||||||
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.3"
|
version = "0.3.4"
|
||||||
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.3/install.sh | sh
|
$ curl -LsSf https://astral.sh/uv/0.3.4/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
```console title="Windows"
|
```console title="Windows"
|
||||||
$ powershell -c "irm https://astral.sh/uv/0.3.3/install.ps1 | iex"
|
$ powershell -c "irm https://astral.sh/uv/0.3.4/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.3 /uv /bin/uv
|
COPY --from=ghcr.io/astral-sh/uv:0.3.4 /uv /bin/uv
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, with the installer:
|
Or, with the installer:
|
||||||
|
|
||||||
```dockerfile
|
```dockerfile
|
||||||
ADD https://astral.sh/uv/0.3.3/install.sh /uv-installer.sh
|
ADD https://astral.sh/uv/0.3.4/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.3/install.sh | sh
|
run: curl -LsSf https://astral.sh/uv/0.3.4/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.3/install.sh | sh
|
run: curl -LsSf https://astral.sh/uv/0.3.4/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.3/install.ps1 | iex
|
run: irm https://astral.sh/uv/0.3.4/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.3
|
rev: 0.3.4
|
||||||
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.3
|
rev: 0.3.4
|
||||||
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.3
|
rev: 0.3.4
|
||||||
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.3"
|
version = "0.3.4"
|
||||||
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