Run uv with a specific version if required-version is set in the uv config file.
Project description
uv-required-version
uv-required-version is a command line wrapper around uv
that respects the required-version
setting in your pyproject.toml / uv.toml file.
When uv-required-version detects a required-version setting, instead of running
uv directly it will run uv tool run "uv==<required-version>" <commands>, ensuring that the
correct version of uv is used.
Ideally, the functionality of this tool would be integrated into uv itself
(see astral-sh/uv#11065) - until then
you can use uv-required-version.
Usage
uv tool install uv-required-version
uv-required-version sync
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uv_required_version-1.0.0.tar.gz.
File metadata
- Download URL: uv_required_version-1.0.0.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2256353de4eaa2ce59c97328ce1e6b45b93ce473ef58eb807a11651f258b7b6d
|
|
| MD5 |
fec1ce9e845db60bb840338f976002bf
|
|
| BLAKE2b-256 |
429bd2ca1d6aac493d73e4bc430380e099f4bd1625f99cafce8ea0cf19139e5d
|
File details
Details for the file uv_required_version-1.0.0-py3-none-any.whl.
File metadata
- Download URL: uv_required_version-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
184055bc66eb45a57936a588c7e19445f04d165232e204090d06014e492c95dd
|
|
| MD5 |
9808d1dd9caba3d2b88fd9b4685ca2e8
|
|
| BLAKE2b-256 |
defadec1c926974b19430c924632b48bbe72d3f7bffd1977894bd11ea4f34e36
|