uv/crates/uv-python/python
konsti dde9a79fe7
Support 32-bit OS on 64-bit host (#9970)
When using a 32-bit OS on 64-bit host, almost all Python std methods
will report a 64-bit aarch64, but we most not install 64-bit executables
since Python is actually 32-bit, identifiable through
`struct.calcsize("P") == 4`.

Porting
4dc334c86d/src/packaging/tags.py (L539-L543)
to uv.

Tested on a raspberry pi 4 with a 64-bit host raspbian and `docker run
-it --rm -v arm32v7/ubuntu` as 32-bit "host".

Fixes #9842
2024-12-17 14:35:19 +01:00
..
packaging Fix get_operating_system_and_architecture (#9319) 2024-11-21 15:05:48 -05:00
__init__.py Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
get_interpreter_info.py Support 32-bit OS on 64-bit host (#9970) 2024-12-17 14:35:19 +01:00