🐞 bug report
Affected Rule
The issue is caused by the rule: rules_python 1.6.0+ when using experimental_index_url
Is this a regression?
Yes, the previous version in which this bug was not present was: 1.5.4
Description
When using rules_python 1.6.0 or 1.6.1 and the experimental_index_url feature, incorrect wheels are fetched for the glibc version on the system. For example, systems with glibc 2.28 are attempting to download and execute manylinux_2_34 wheels instead of manylinux_2_28 ones.
🔬 Minimal Reproduction
https://github.com/scasagrande/rules-python-glibc-issue
🔥 Exception or Error
See repro README
🌍 Your Environment
Operating System:
I specifically tested on Rocky 8
Output of bazel version:
Seen on both 8.3.1 and 8.4.0, but is likely independent of bazel version
Rules_python version:
1.6.0 and 1.6.1 are both exhibiting this behaviour.