mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 02:48:17 +00:00
Update windows registry to 0.5 (#11799)
This update contains the feature we need to fix #11217
This commit is contained in:
parent
6e7ec3274a
commit
d136c23d46
3 changed files with 25 additions and 19 deletions
36
Cargo.lock
generated
36
Cargo.lock
generated
|
@ -5488,8 +5488,8 @@ dependencies = [
|
|||
"uv-trampoline-builder",
|
||||
"uv-warnings",
|
||||
"which",
|
||||
"windows-registry 0.4.0",
|
||||
"windows-result 0.3.0",
|
||||
"windows-registry 0.5.0",
|
||||
"windows-result 0.3.1",
|
||||
"windows-sys 0.59.0",
|
||||
]
|
||||
|
||||
|
@ -6141,8 +6141,8 @@ checksum = "810ce18ed2112484b0d4e15d022e5f598113e220c53e373fb31e67e21670c1ce"
|
|||
dependencies = [
|
||||
"windows-implement 0.59.0",
|
||||
"windows-interface 0.59.0",
|
||||
"windows-result 0.3.0",
|
||||
"windows-strings 0.3.0",
|
||||
"windows-result 0.3.1",
|
||||
"windows-strings 0.3.1",
|
||||
"windows-targets 0.53.0",
|
||||
]
|
||||
|
||||
|
@ -6212,6 +6212,12 @@ dependencies = [
|
|||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows-link"
|
||||
version = "0.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6dccfd733ce2b1753b03b6d3c65edf020262ea35e20ccdf3e288043e6dd620e3"
|
||||
|
||||
[[package]]
|
||||
name = "windows-registry"
|
||||
version = "0.2.0"
|
||||
|
@ -6225,13 +6231,13 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "windows-registry"
|
||||
version = "0.4.0"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3"
|
||||
checksum = "6c44a98275e31bfd112bb06ba96c8ab13c03383a3753fdddd715406a1824c7e0"
|
||||
dependencies = [
|
||||
"windows-result 0.3.0",
|
||||
"windows-strings 0.3.0",
|
||||
"windows-targets 0.53.0",
|
||||
"windows-link",
|
||||
"windows-result 0.3.1",
|
||||
"windows-strings 0.3.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -6254,11 +6260,11 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "windows-result"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d08106ce80268c4067c0571ca55a9b4e9516518eaa1a1fe9b37ca403ae1d1a34"
|
||||
checksum = "06374efe858fab7e4f881500e6e86ec8bc28f9462c47e5a9941a0142ad86b189"
|
||||
dependencies = [
|
||||
"windows-targets 0.53.0",
|
||||
"windows-link",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -6273,11 +6279,11 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "windows-strings"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b888f919960b42ea4e11c2f408fadb55f78a9f236d5eef084103c8ce52893491"
|
||||
checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319"
|
||||
dependencies = [
|
||||
"windows-targets 0.53.0",
|
||||
"windows-link",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
@ -180,7 +180,7 @@ url = { version = "2.5.2", features = ["serde"] }
|
|||
version-ranges = { git = "https://github.com/astral-sh/pubgrub", rev = "b70cf707aa43f21b32f3a61b8a0889b15032d5c4" }
|
||||
walkdir = { version = "2.5.0" }
|
||||
which = { version = "7.0.0", features = ["regex"] }
|
||||
windows-registry = { version = "0.4.0" }
|
||||
windows-registry = { version = "0.5.0" }
|
||||
windows-result = { version = "0.3.0" }
|
||||
windows-sys = { version = "0.59.0", features = ["Win32_Foundation", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Ioctl", "Win32_System_IO"] }
|
||||
winreg = { version = "0.53.0" }
|
||||
|
|
|
@ -161,9 +161,9 @@ fn write_registry_entry(
|
|||
);
|
||||
tag.set_string("DisplayName", &display_name)?;
|
||||
tag.set_string("SupportUrl", "https://github.com/astral-sh/uv")?;
|
||||
tag.set_string("Version", &installation.key().version().to_string())?;
|
||||
tag.set_string("SysVersion", &installation.key().sys_version())?;
|
||||
tag.set_string("SysArchitecture", &format!("{pointer_width}bit"))?;
|
||||
tag.set_string("Version", installation.key().version().to_string())?;
|
||||
tag.set_string("SysVersion", installation.key().sys_version())?;
|
||||
tag.set_string("SysArchitecture", format!("{pointer_width}bit"))?;
|
||||
// Store `python-build-standalone` release
|
||||
if let Some(url) = installation.url() {
|
||||
tag.set_string("DownloadUrl", url)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue