mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-02 04:48:18 +00:00
Bump version to v0.4.1 (#6870)
This commit is contained in:
parent
0ceefb3c88
commit
823f23e225
9 changed files with 55 additions and 20 deletions
35
CHANGELOG.md
35
CHANGELOG.md
|
|
@ -1,5 +1,40 @@
|
|||
# Changelog
|
||||
|
||||
## 0.4.1
|
||||
|
||||
### Enhancements
|
||||
|
||||
- Add `uv export --format requirements.txt` ([#6778](https://github.com/astral-sh/uv/pull/6778))
|
||||
- Allow `@` references in `uv tool install --from` ([#6842](https://github.com/astral-sh/uv/pull/6842))
|
||||
- Normalize version specifiers by sorting ([#6333](https://github.com/astral-sh/uv/pull/6333))
|
||||
- Respect the user's upper-bound in `requires-python` ([#6824](https://github.com/astral-sh/uv/pull/6824))
|
||||
- Use Windows registry to discover Python on Windows directly ([#6761](https://github.com/astral-sh/uv/pull/6761))
|
||||
- Hint at `--no-workspace` in `uv init` failures ([#6815](https://github.com/astral-sh/uv/pull/6815))
|
||||
- Update to last PyPy releases ([#6784](https://github.com/astral-sh/uv/pull/6784))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- Avoid deadlocks when multiple uv processes lock resources ([#6790](https://github.com/astral-sh/uv/pull/6790))
|
||||
- Expand tildes when matching against `PATH` ([#6829](https://github.com/astral-sh/uv/pull/6829))
|
||||
- Fix `uv init --no-project` alias ([#6837](https://github.com/astral-sh/uv/pull/6837))
|
||||
- Ignore pre-release segments when discovering via `requires-python` ([#6813](https://github.com/astral-sh/uv/pull/6813))
|
||||
- Support inline optional tables in `uv add` and `uv remove` ([#6787](https://github.com/astral-sh/uv/pull/6787))
|
||||
- Update default `hello.py` to pass `ruff format` ([#6811](https://github.com/astral-sh/uv/pull/6811))
|
||||
- Avoid stripping root for user path display ([#6865](https://github.com/astral-sh/uv/pull/6865))
|
||||
- Error when user-provided environments are disjoint with Python ([#6841](https://github.com/astral-sh/uv/pull/6841))
|
||||
- Retain alphabetical sorting for `pyproject.toml` in `uv add` operations ([#6388](https://github.com/astral-sh/uv/pull/6388))))
|
||||
|
||||
### Documentation
|
||||
|
||||
- Add a link to the multiple index docs in the alternative index guide ([#6826](https://github.com/astral-sh/uv/pull/6826))
|
||||
- Add docs for inline exclude newer in PEP 723 scripts ([#6831](https://github.com/astral-sh/uv/pull/6831))
|
||||
- Enumerate available Docker tags ([#6768](https://github.com/astral-sh/uv/pull/6768))
|
||||
- Omit `[pip]` section from configuration file docs ([#6814](https://github.com/astral-sh/uv/pull/6814))
|
||||
- Update `project.urls` in `pyproject.toml` ([#6844](https://github.com/astral-sh/uv/pull/6844))
|
||||
- Add docs for AWS CodeArtifact usage ([#6816](https://github.com/astral-sh/uv/pull/6816))
|
||||
|
||||
### Other changes
|
||||
|
||||
## 0.4.0
|
||||
|
||||
This release adds first-class support for Python projects that are not designed as Python packages (e.g., web applications, data science projects, etc.).
|
||||
|
|
|
|||
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -4492,7 +4492,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
|
|||
|
||||
[[package]]
|
||||
name = "uv"
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anyhow",
|
||||
|
|
@ -5249,7 +5249,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "uv-version"
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
|
||||
[[package]]
|
||||
name = "uv-virtualenv"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv-version"
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv"
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -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.0/install.sh | sh
|
||||
$ curl -LsSf https://astral.sh/uv/0.4.1/install.sh | sh
|
||||
```
|
||||
|
||||
=== "Windows"
|
||||
|
||||
```console
|
||||
$ powershell -c "irm https://astral.sh/uv/0.4.0/install.ps1 | iex"
|
||||
$ powershell -c "irm https://astral.sh/uv/0.4.1/install.ps1 | iex"
|
||||
```
|
||||
|
||||
### PyPI
|
||||
|
|
|
|||
|
|
@ -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.0`
|
||||
- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.1`
|
||||
- `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)
|
||||
|
|
@ -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.0 /uv /bin/uv
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.4.1 /uv /bin/uv
|
||||
```
|
||||
|
||||
Or, with the installer:
|
||||
|
||||
```dockerfile
|
||||
ADD https://astral.sh/uv/0.4.0/install.sh /uv-installer.sh
|
||||
ADD https://astral.sh/uv/0.4.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.4.0/install.sh | sh
|
||||
run: curl -LsSf https://astral.sh/uv/0.4.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.4.0/install.sh | sh
|
||||
run: curl -LsSf https://astral.sh/uv/0.4.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.4.0/install.ps1 | iex
|
||||
run: irm https://astral.sh/uv/0.4.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.4.0
|
||||
rev: 0.4.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.4.0
|
||||
rev: 0.4.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.4.0
|
||||
rev: 0.4.1
|
||||
hooks:
|
||||
# Compile requirements
|
||||
- id: pip-compile
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
|||
|
||||
[project]
|
||||
name = "uv"
|
||||
version = "0.4.0"
|
||||
version = "0.4.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