mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-08-25 19:43:50 +00:00
Reject paths in .tool-versions (#1007)
## Summary - reject path-like uv versions from `.tool-versions` - reject path-like Python versions from `.tool-versions` - document the restriction and cover Unix and Windows paths in tests ## Testing - `npm ci --ignore-scripts` - `npm run all` Refs: pi-session 019ff4bb-8b7c-7c4b-8bdf-7c188dfa2e3f
This commit is contained in:
@@ -161,8 +161,9 @@ python 3.13
|
||||
version-file: ".tool-versions"
|
||||
```
|
||||
|
||||
Only a single Python version is supported. Multiple fallback versions and the asdf `ref:`, `path:`,
|
||||
and `system` forms are ignored with a warning.
|
||||
Only a single Python version is supported. Filesystem paths are not supported for uv or Python.
|
||||
Multiple Python fallback versions and the asdf `ref:`, `path:`, and `system` forms are ignored with
|
||||
a warning.
|
||||
|
||||
```yaml
|
||||
- name: Install the latest version of uv and set the python version to 3.13t
|
||||
|
||||
Reference in New Issue
Block a user