auditwheel icon indicating copy to clipboard operation
auditwheel copied to clipboard

Do not place OpenGL libraries into wheels on manylinux*

Open mathstuf opened this issue 5 years ago • 1 comments
trafficstars

These libraries really need to come from the end machine, not the wheel. They don't work without a backing video driver and may not work if the package was built on a machine with a different driver than the end machine (e.g., mixing an nvidia driver libOpenGL with a Mesa DRI libOpenGL). The backing DRI libraries aren't packaged anyways, so they're of limited utility either way.

mathstuf avatar May 19 '20 16:05 mathstuf

I see that libGL is already part of the allowlist policies. Is there also a libOpenGL that should be allowlist-ed?

mattip avatar Aug 17 '22 06:08 mattip

Note that the PR that closed this only adds an --exclude flag. Is there some way to have PyPI add this flag when verifying uploads? Or does this need a formal PEP?

mathstuf avatar Nov 07 '22 18:11 mathstuf