mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-03 02:22:19 +00:00
Bump version to v0.5.13 (#10188)
This commit is contained in:
parent
2f5badddbb
commit
4c49683f7b
9 changed files with 23 additions and 15 deletions
|
@ -25,7 +25,7 @@ uv provides a standalone installer to download and install uv:
|
|||
Request a specific version by including it in the URL:
|
||||
|
||||
```console
|
||||
$ curl -LsSf https://astral.sh/uv/0.5.12/install.sh | sh
|
||||
$ curl -LsSf https://astral.sh/uv/0.5.13/install.sh | sh
|
||||
```
|
||||
|
||||
=== "Windows"
|
||||
|
@ -41,7 +41,7 @@ uv provides a standalone installer to download and install uv:
|
|||
Request a specific version by including it in the URL:
|
||||
|
||||
```console
|
||||
$ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.5.12/install.ps1 | iex"
|
||||
$ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.5.13/install.ps1 | iex"
|
||||
```
|
||||
|
||||
!!! tip
|
||||
|
|
|
@ -21,7 +21,7 @@ $ docker run ghcr.io/astral-sh/uv --help
|
|||
uv provides a distroless Docker image including the `uv` binary. The following tags are published:
|
||||
|
||||
- `ghcr.io/astral-sh/uv:latest`
|
||||
- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.5.12`
|
||||
- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.5.13`
|
||||
- `ghcr.io/astral-sh/uv:{major}.{minor}`, e.g., `ghcr.io/astral-sh/uv:0.5` (the latest patch
|
||||
version)
|
||||
|
||||
|
@ -62,7 +62,7 @@ In addition, uv publishes the following images:
|
|||
|
||||
As with the distroless image, each image is published with uv version tags as
|
||||
`ghcr.io/astral-sh/uv:{major}.{minor}.{patch}-{base}` and
|
||||
`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.5.12-alpine`.
|
||||
`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.5.13-alpine`.
|
||||
|
||||
For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv)
|
||||
page.
|
||||
|
@ -100,13 +100,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.5.12 /uv /uvx /bin/
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.5.13 /uv /uvx /bin/
|
||||
```
|
||||
|
||||
Or, with the installer:
|
||||
|
||||
```dockerfile
|
||||
ADD https://astral.sh/uv/0.5.12/install.sh /uv-installer.sh
|
||||
ADD https://astral.sh/uv/0.5.13/install.sh /uv-installer.sh
|
||||
```
|
||||
|
||||
### Installing a project
|
||||
|
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
# Install a specific version of uv.
|
||||
version: "0.5.12"
|
||||
version: "0.5.13"
|
||||
```
|
||||
|
||||
## Setting up Python
|
||||
|
|
|
@ -29,7 +29,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.5.12
|
||||
rev: 0.5.13
|
||||
hooks:
|
||||
# Compile requirements
|
||||
- id: pip-compile
|
||||
|
@ -41,7 +41,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.5.12
|
||||
rev: 0.5.13
|
||||
hooks:
|
||||
# Compile requirements
|
||||
- id: pip-compile
|
||||
|
@ -54,7 +54,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.5.12
|
||||
rev: 0.5.13
|
||||
hooks:
|
||||
# Compile requirements
|
||||
- id: pip-compile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue