MyGit

0.4.23

astral-sh/uv

版本发布时间: 2024-10-17 22:50:49

astral-sh/uv最新发布版本:0.5.8(2024-12-11 23:41:02)

Release Notes

This release introduces a revamped system for defining package indexes, as an alternative to the existing pip-style --index-url and --extra-index-url configuration options.

You can now define named indexes in your pyproject.toml file using the [[tool.uv.index]] table:

[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cpu"

Packages can be pinned to a specific index via tool.uv.sources, to ensure that a given package is installed from the correct index. For example, to ensure that torch is always installed from the pytorch index:

[tool.uv.sources]
torch = { index = "pytorch" }

[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cpu"

Indexes can also be marked as explicit = true to prevent packages from being installed from that index unless explicitly pinned. For example, to ensure that torch is installed from the pytorch index, but all other packages are installed from the default index:

[tool.uv.sources]
torch = { index = "pytorch" }

[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cpu"
explicit = true

To define an additional index outside a pyproject.toml file, use the --index command-line argument (or the UV_INDEX environment variable); to replace the default index (PyPI), use the --default-index command-line argument (or UV_DEFAULT_INDEX).

These changes are entirely backwards-compatible with the deprecated --index-url and --extra-index-url options, which continue to work as before.

See the Index documentation for more.

Enhancements

Bug fixes

Documentation

Install uv 0.4.23

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.23/uv-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/uv/releases/download/0.4.23/uv-installer.ps1 | iex"

Download uv 0.4.23

File Platform Checksum
uv-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
uv-x86_64-apple-darwin.tar.gz Intel macOS checksum
uv-i686-pc-windows-msvc.zip x86 Windows checksum
uv-x86_64-pc-windows-msvc.zip x64 Windows checksum
uv-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
uv-i686-unknown-linux-gnu.tar.gz x86 Linux checksum
uv-powerpc64-unknown-linux-gnu.tar.gz PPC64 Linux checksum
uv-powerpc64le-unknown-linux-gnu.tar.gz PPC64LE Linux checksum
uv-s390x-unknown-linux-gnu.tar.gz S390x Linux checksum
uv-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum
uv-armv7-unknown-linux-gnueabihf.tar.gz ARMv7 Linux checksum
uv-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
uv-i686-unknown-linux-musl.tar.gz x86 MUSL Linux checksum
uv-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum
uv-arm-unknown-linux-musleabihf.tar.gz ARMv6 MUSL Linux (Hardfloat) checksum
uv-armv7-unknown-linux-musleabihf.tar.gz ARMv7 MUSL Linux checksum

相关地址:原始地址 下载(tar) 下载(zip)

1、 dist-manifest.json 39.51KB

2、 source.tar.gz 2.63MB

3、 source.tar.gz.sha256 80B

4、 uv-aarch64-apple-darwin.tar.gz 11.73MB

5、 uv-aarch64-apple-darwin.tar.gz.sha256 97B

6、 uv-aarch64-unknown-linux-gnu.tar.gz 12.18MB

7、 uv-aarch64-unknown-linux-gnu.tar.gz.sha256 102B

8、 uv-aarch64-unknown-linux-musl.tar.gz 11.99MB

9、 uv-aarch64-unknown-linux-musl.tar.gz.sha256 103B

10、 uv-arm-unknown-linux-musleabihf.tar.gz 12.48MB

11、 uv-arm-unknown-linux-musleabihf.tar.gz.sha256 105B

12、 uv-armv7-unknown-linux-gnueabihf.tar.gz 12.27MB

13、 uv-armv7-unknown-linux-gnueabihf.tar.gz.sha256 106B

14、 uv-armv7-unknown-linux-musleabihf.tar.gz 12.27MB

15、 uv-armv7-unknown-linux-musleabihf.tar.gz.sha256 107B

16、 uv-i686-pc-windows-msvc.zip 12.02MB

17、 uv-i686-pc-windows-msvc.zip.sha256 94B

18、 uv-i686-unknown-linux-gnu.tar.gz 13.01MB

19、 uv-i686-unknown-linux-gnu.tar.gz.sha256 99B

20、 uv-i686-unknown-linux-musl.tar.gz 12.74MB

21、 uv-i686-unknown-linux-musl.tar.gz.sha256 100B

22、 uv-installer.ps1 17.61KB

23、 uv-installer.sh 51.84KB

24、 uv-powerpc64-unknown-linux-gnu.tar.gz 13.57MB

25、 uv-powerpc64-unknown-linux-gnu.tar.gz.sha256 104B

26、 uv-powerpc64le-unknown-linux-gnu.tar.gz 13.32MB

27、 uv-powerpc64le-unknown-linux-gnu.tar.gz.sha256 106B

28、 uv-powerpc64le-unknown-linux-musl.tar.gz 14.45MB

29、 uv-powerpc64le-unknown-linux-musl.tar.gz.sha256 107B

30、 uv-s390x-unknown-linux-gnu.tar.gz 17.18MB

31、 uv-s390x-unknown-linux-gnu.tar.gz.sha256 100B

32、 uv-x86_64-apple-darwin.tar.gz 12.61MB

33、 uv-x86_64-apple-darwin.tar.gz.sha256 96B

34、 uv-x86_64-pc-windows-msvc.zip 13.67MB

35、 uv-x86_64-pc-windows-msvc.zip.sha256 96B

36、 uv-x86_64-unknown-linux-gnu.tar.gz 13.1MB

37、 uv-x86_64-unknown-linux-gnu.tar.gz.sha256 101B

38、 uv-x86_64-unknown-linux-musl.tar.gz 13.23MB

39、 uv-x86_64-unknown-linux-musl.tar.gz.sha256 102B

查看:2024-10-17发行的版本