Building for x64_86 (many_linux) #3139
-
Hello, I am trying to build wheels for python3 -m build The output:
As mentioned this wheels file cannot be uploaded as is to PyPI; it must be "repaired" to match the manylinux, which I do with docker run -it -v (pwd)/dist:/dist quay.io/pypa/manylinux_2_28_x86_64 bash
auditwheel repair /dist/my_project-0.1.0-cp310-cp310-linux_x86_64.whl /dist/repaired And the issue is that I am getting:
Thing is, it looks a bit convoluted to build a custom image on top of the manylinux image adding the Rust toolchain just so that I can build from that image the wheels with a lower glibc version. Is there a more straightforward approach? By the way thanks for this amazing library, which I feel I will be using more and more! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Which build system backend are you using? |
Beta Was this translation helpful? Give feedback.
(You could probably use one of the existing Docker images provided by/for Maturin with the setuptools-rust approach, but why not go all the way then.)