scikit-tda / ripser.py

A Lean Persistent Homology Library for Python
http://ripser.scikit-tda.org
Other
276 stars 61 forks source link

Fix failing builds with CIBuildWheel #159

Closed catanzaromj closed 8 months ago

catanzaromj commented 8 months ago

This PR is another attempt at fixing the failing build for linux wheels. The main github workflow has been updated to use modern actions and incorporates cibuildwheel to do the packaging. This PR also updates the github actions used in the CI/CD jobs (as well as a dependabot to ensure these stay up-to-date moving forward).

The results of this PR can be seen on test py pi here: https://test.pypi.org/project/ripser-test-1934/

There is a lot of flexibility in what wheels we can provide. As of now, wheels for python version 3.8 -- 3.12 for win32, win64, macosx_x86_64 and manylinux_x86_64 are provided. This can be adjusted as required fairly easily.

Before this PR can be accepted, a "Trusted Publisher" needs to be added to the pypi.org page for ripser.py. The current method is to use API tokens, but that practice has been deprecated (see here). That link contains directions on how to do that. I'm also happy to help do it but I currently do not have access on pypi.org.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.80%. Comparing base (24c2f51) to head (5ed243b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #159 +/- ## ======================================= Coverage 94.80% 94.80% ======================================= Files 3 3 Lines 154 154 Branches 26 26 ======================================= Hits 146 146 Misses 7 7 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.