-
Hi, I have a C++-based project that relies on various third-party libraries. On Linux, everything is built on Ubuntu 22.04. When it comes to Python bindings, I use However, now, I want to use It all used to be fine when I was building things on Ubuntu 20.04, but that version of Ubuntu is now a bit old and I would like to support Ubuntu 22.04 and later. I am using So, assuming I have got things right (?), what are my options? Cheers, Alan. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Ok, I hadn't thought of it, but I was using the following in my GitHub workflow: - name: Build Python wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS: auto64
CIBW_BUILD: 'cp*'
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=13.0
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_34
CIBW_SKIP: 'cp36* cp37* cp38* *musllinux*' and then wondered whether I could use the commit version that adds support for - name: Build Python wheels
uses: pypa/cibuildwheel@9c75ea15c2f31a77e6043b80b1b7081372319d85
env:
CIBW_ARCHS: auto64
CIBW_BUILD: 'cp*'
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=13.0
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_34
CIBW_SKIP: 'cp36* cp37* cp38* *musllinux*' and... sure enough, it's all working fine for me now. 🥳 |
Beta Was this translation helpful? Give feedback.
-
There's no need to wait for the commit to land in a release or use a specific commit to use a specific image, you can use already existing options in v2.x: Please make sure you understand the caveats revealed by pypa/manylinux#1725 that were discovered after the commit in cibuildwheel (so the docs need to be updated here). Given manylinux_2_34 & manylinux_2_28 are using the same gcc toolchain, my recommendation would be not to use manylinux_2_34 unless you have some dependencies you can't rebuild that can't be used on manylinux_2_28. |
Beta Was this translation helpful? Give feedback.
-
FWIW, I have just tested my Python wheels generated using |
Beta Was this translation helpful? Give feedback.
Ok, I hadn't thought of it, but I was using the following in my GitHub workflow:
and then wondered whether I could use the commit version that adds support for
manyline_2_34
, i.e.