brandon-rhodes / python-sgp4

Python version of the SGP4 satellite position library
MIT License
376 stars 88 forks source link

Use python 3.7 when running cibuildwheel #91

Closed asfaltboy closed 3 years ago

asfaltboy commented 3 years ago

The macos wheel seems to be missing for python 3.9 in the latest release. I believe that updating cibuildwheel to latest version will fix it. But, since the latest version requires python 3.6+, and the python github action uses 2.7 by default, we fail to install it (opting in for version 1.1 which is pretty old). So I update the python version cibuildwheel runs in, same as cibuildwheel does itself in it's own test action.

Note: cibuildwheel should build all linux versions in docker, but we may need to add more python versions to build the windows/macos versions if this fails to work (see this diagram).

brandon-rhodes commented 3 years ago

It looks like the build came up green, so I'll try merging!

asfaltboy commented 3 years ago

Woo, it seems to have worked, just downloaded the wheelhouse.zip artifact, and we have a cp39 macosx wheel there:

image