Bump to v0.4.0 (#6764)

This commit is contained in:
Charlie Marsh 2024-08-28 13:29:16 -04:00 committed by GitHub
parent 9f0346592f
commit d9bd3bc7a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 66 additions and 15 deletions

View file

@ -48,13 +48,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.5 /uv /bin/uv
COPY --from=ghcr.io/astral-sh/uv:0.4.0 /uv /bin/uv
```
Or, with the installer:
```dockerfile
ADD https://astral.sh/uv/0.3.5/install.sh /uv-installer.sh
ADD https://astral.sh/uv/0.4.0/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.5/install.sh | sh
run: curl -LsSf https://astral.sh/uv/0.4.0/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.5/install.sh | sh
run: curl -LsSf https://astral.sh/uv/0.4.0/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.5/install.ps1 | iex
run: irm https://astral.sh/uv/0.4.0/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.5
rev: 0.4.0
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.5
rev: 0.4.0
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.5
rev: 0.4.0
hooks:
# Compile requirements
- id: pip-compile