mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-31 07:47:27 +00:00
![]() Fixes #11217 By default, a 64-bit uv does not see a 32-bit global (HKLM) installation of Python in the registry (https://github.com/astral-sh/uv/issues/11217). To work around this, we manually request both 32-bit and 64-bit access using registry access flags (https://peps.python.org/pep-0514/#sample-code). The flags have no effect on 32-bit (https://stackoverflow.com/a/12796797/3549270). This effect is that there is an asymmetry between discovery modes: For the registry-based discovery using PEP 514, we discover both 32-bit and 64-bit Pythons, while for managed installations, we are stricter and only discover those matching in bit-ness. I tested this manually with an additional 32-bit installation of CPython on a 64-bit machine and windows with 32-bit and 64-bit (x86_64 and i686) builds of uv. |
||
---|---|---|
.. | ||
sysconfig | ||
cpuinfo.rs | ||
discovery.rs | ||
downloads.inc | ||
downloads.inc.mustache | ||
downloads.rs | ||
environment.rs | ||
implementation.rs | ||
installation.rs | ||
interpreter.rs | ||
lib.rs | ||
libc.rs | ||
macos_dylib.rs | ||
managed.rs | ||
microsoft_store.rs | ||
platform.rs | ||
pointer_size.rs | ||
prefix.rs | ||
python_version.rs | ||
target.rs | ||
version_files.rs | ||
virtualenv.rs | ||
windows_registry.rs |