When using manylinux_2_35_x86_64, it fails - though in theory 2.35 is compatible with 2.28.
python3.11 -m pip download pyradiance==1.1.5 --platform manylinux_2_35_x86_64 --python-version 3.11 --implementation cp --only-binary=:all: --dest=./wheels --no-deps
# ERROR: Could not find a version that satisfies the requirement pyradiance==1.1.5 (from versions: 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.5.2, 0.5.3)
# ERROR: No matching distribution found for pyradiance==1.1.5
Based on the documentation--platform is used to search for wheels compatible with the provided platform, not with the exact platform.
It’s because tags are treated as opaque strings, not structured data. So there’s no way for pip to know that manylinux_2_28_x86_64 is compatible with manylinux_2_35_x86_64 just like you don’t know if the spam platform is compatible with the eggs platform.
Beats me. Just because the spec treats tags as opaque doesn’t mean others don’t cheat and try to parse them anyway because we try not to randomly change them.