Skip to content

version 1.6.0+ with experimental_index_url are fetching incorrect wheels for glibc version#3250

Description

@scasagrande

馃悶 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: pippip/pypi integration

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions