Bump version to v0.3.4 (#6656)

This commit is contained in:
Charlie Marsh 2024-08-26 16:51:01 -04:00 committed by GitHub
parent 900056105a
commit 39f3cd2a94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 47 additions and 15 deletions

View file

@ -1,5 +1,36 @@
# 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
### Enhancements
@ -2779,3 +2810,4 @@ path ([#1433](https://github.com/astral-sh/uv/pull/1433))
<!-- prettier-ignore-end -->

4
Cargo.lock generated
View file

@ -4492,7 +4492,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
[[package]]
name = "uv"
version = "0.3.3"
version = "0.3.4"
dependencies = [
"anstream",
"anyhow",
@ -5242,7 +5242,7 @@ dependencies = [
[[package]]
name = "uv-version"
version = "0.3.3"
version = "0.3.4"
[[package]]
name = "uv-virtualenv"

View file

@ -1,6 +1,6 @@
[package]
name = "uv-version"
version = "0.3.3"
version = "0.3.4"
edition = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }

View file

@ -1,6 +1,6 @@
[package]
name = "uv"
version = "0.3.3"
version = "0.3.4"
edition = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }

View file

@ -35,11 +35,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.3/install.sh | sh
$ curl -LsSf https://astral.sh/uv/0.3.4/install.sh | sh
```
```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

View file

@ -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.3 /uv /bin/uv
COPY --from=ghcr.io/astral-sh/uv:0.3.4 /uv /bin/uv
```
Or, with the installer:
```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

View file

@ -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.3/install.sh | sh
run: curl -LsSf https://astral.sh/uv/0.3.4/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.3/install.sh | sh
run: curl -LsSf https://astral.sh/uv/0.3.4/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.3/install.ps1 | iex
run: irm https://astral.sh/uv/0.3.4/install.ps1 | iex
shell: powershell
```

View file

@ -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.3
rev: 0.3.4
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.3
rev: 0.3.4
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.3
rev: 0.3.4
hooks:
# Compile requirements
- id: pip-compile

View file

@ -4,7 +4,7 @@ build-backend = "maturin"
[project]
name = "uv"
version = "0.3.3"
version = "0.3.4"
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"