mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
Bump to v0.4.0 (#6764)
This commit is contained in:
parent
9f0346592f
commit
d9bd3bc7a5
9 changed files with 66 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue