Skip to content

Why it looks like uv is not respecting the manylinux config from PYTHONPATH #16540

@ccoulombe

Description

@ccoulombe

Question

Hello,

According to https://docs.astral.sh/uv/pip/compatibility/#manylinux_compatible-enforcement we should be able to ignore any manylinux.

I have this configuration:

$ cat $PYTHONPATH/_manylinux.py
manylinux1_compatible = False
manylinux2010_compatible = False
manylinux2014_compatible = False

# Ignore any manylinux_${GLIBCMAJOR}_${GLIBCMINOR}_${ARCH}
def manylinux_compatible(*_, **__):  # PEP 600
    return False

But uv still install manylinux wheels. What am I missing?

Platform

Linux

Version

0.9.2

Metadata

Metadata

Assignees

Labels

questionAsking for clarification or support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions