<div dir="auto">Matplotlib has also migrated to building wheels via github actions and it has been working well.<div dir="auto"><br></div><div dir="auto">Tom</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 16, 2020, 17:48 Andrew Nelson <<a href="mailto:andyfaff@gmail.com">andyfaff@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>For my project (refnx) I solely use GH Actions to test and make wheels. In my workflow (<a href="https://github.com/refnx/refnx/blob/master/.github/workflows/pythonpackage.yml" target="_blank" rel="noreferrer">https://github.com/refnx/refnx/blob/master/.github/workflows/pythonpackage.yml</a>) I make a 3.7/3.8/3.9 matrix across Linux/macOS/Windows. First of all I make the wheels for all those combos, then install the wheels, then run tests on the installed wheel (thereby checking that the libraries are all delocated nicely). The final step in the workflow is uploading the wheel artefacts (stored somewhere on GH).</div>To make the Linux 2010/2014 wheels I use PyPA docker images (<a href="https://github.com/refnx/refnx/blob/master/.github/workflows/pythonpackage.yml#L70" target="_blank" rel="noreferrer">https://github.com/refnx/refnx/blob/master/.github/workflows/pythonpackage.yml#L70</a>). I specify what platform I want to make wheels for, as an environment variable that is used to select the correct docker image ["manylinux2010_x86_64", "manylinux2014_x86_64"]. There are other images available. The docker image runs a script to make all the wheels (<a href="https://github.com/refnx/refnx/blob/master/tools/build_manylinux_wheels.sh" target="_blank" rel="noreferrer">https://github.com/refnx/refnx/blob/master/tools/build_manylinux_wheels.sh</a>) and put them in a wheelhouse, that is then uploaded as an artefact along with the macOS and windows wheels.<div><br></div><div>I decided to make the deployment step to PyPI a manual process, just so I can check that everything went ok. When I've just made a release tag I download the artefacts corresponding to the release commit, then upload them from my personal PC.</div><div><br></div><div>It all works really well.</div></div>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank" rel="noreferrer">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/numpy-discussion</a><br>
</blockquote></div>