Skip to content

Commit

Permalink
Bump version to v0.4.2 (#6916)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh authored Sep 1, 2024
1 parent 049c73d commit 736ccb9
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 16 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 0.4.2

### Enhancements

- Adding support for `.pyc` files in `uv run` ([#6886](https://github.com/astral-sh/uv/pull/6886))
- Treat missing `top_level.txt` as non-fatal ([#6881](https://github.com/astral-sh/uv/pull/6881))

### Bug fixes

- Fix `is_disjoint` check for supported environments ([#6902](https://github.com/astral-sh/uv/pull/6902))
- Remove dangling archives in `uv cache clean ${package}` ([#6915](https://github.com/astral-sh/uv/pull/6915))
- Error when discovered Python is incompatible with `--isolated` workspace ([#6885](https://github.com/astral-sh/uv/pull/6885))
- Warn when discovered Python is incompatible with PEP 723 script ([#6884](https://github.com/astral-sh/uv/pull/6884))

## 0.4.1

### Enhancements
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/uv-version/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "uv-version"
version = "0.4.1"
version = "0.4.2"
edition = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/uv/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "uv"
version = "0.4.1"
version = "0.4.2"
edition = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1/install.sh | sh
$ curl -LsSf https://astral.sh/uv/0.4.2/install.sh | sh
```

=== "Windows"

```console
$ powershell -c "irm https://astral.sh/uv/0.4.1/install.ps1 | iex"
$ powershell -c "irm https://astral.sh/uv/0.4.2/install.ps1 | iex"
```

### PyPI
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/integration/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $ docker run ghcr.io/astral-sh/uv --help
uv builds and publishes the following Docker tags:

- `uv:latest`
- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.1`
- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.2`
- `uv:{major}.{minor}`, e.g., `uv:0.4` (the latest patch version)

For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv)
Expand Down Expand Up @@ -59,13 +59,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.1 /uv /bin/uv
COPY --from=ghcr.io/astral-sh/uv:0.4.2 /uv /bin/uv
```

Or, with the installer:

```dockerfile
ADD https://astral.sh/uv/0.4.1/install.sh /uv-installer.sh
ADD https://astral.sh/uv/0.4.2/install.sh /uv-installer.sh
```

### Installing a project
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/integration/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.4.1/install.sh | sh
run: curl -LsSf https://astral.sh/uv/0.4.2/install.sh | sh
```

=== "macOS"
Expand All @@ -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.4.1/install.sh | sh
run: curl -LsSf https://astral.sh/uv/0.4.2/install.sh | sh
```

=== "Windows"
Expand All @@ -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.4.1/install.ps1 | iex
run: irm https://astral.sh/uv/0.4.2/install.ps1 | iex
shell: powershell
```

Expand Down
6 changes: 3 additions & 3 deletions docs/guides/integration/pre-commit.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
rev: 0.4.2
hooks:
# Compile requirements
- id: pip-compile
Expand All @@ -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.1
rev: 0.4.2
hooks:
# Compile requirements
- id: pip-compile
Expand All @@ -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.1
rev: 0.4.2
hooks:
# Compile requirements
- id: pip-compile
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "uv"
version = "0.4.1"
version = "0.4.2"
description = "An extremely fast Python package and project manager, written in Rust."
authors = [{ name = "Astral Software Inc.", email = "[email protected]" }]
requires-python = ">=3.8"
Expand Down

0 comments on commit 736ccb9

Please sign in to comment.