conda-incubator / conda-press

Press conda packages into wheels
https://regro.github.io/conda-press-docs/
BSD 3-Clause "New" or "Revised" License
116 stars 9 forks source link

Press into `manylinux` wheels #72

Open YaroslavKormushyn opened 2 years ago

YaroslavKormushyn commented 2 years ago

Pressed binary Linux wheels cannot be directly uploaded to PyPI, as outlined here. Binary Linux wheels must follow the manylinux tagging scheme in order to allow upload to PyPI.

If you press a conda package into a wheel now and try uploading it to PyPI right away, you will receive something like: Binary wheel '<your_wheel_name>-linux_x86_64.whl' has an unsupported platform tag 'linux_x86_64'.

I chose the pythonocc-core package for example.

Do conda packages have the necessary metadata for us to make a 1-to-1 mapping to a manylinux tag? If not, what would be the effort to make that mapping? There aren't many manylinux tags to choose from, so maybe that's an easy thing to do.

YaroslavKormushyn commented 2 years ago

This might be done using auditwheel, however, the pressed wheels might be read as too-recent versioned symbols and won't repair.