matthew-brett / delocate

Find and copy needed dynamic libraries into python wheels
BSD 2-Clause "Simplified" License
262 stars 59 forks source link

Update CI workflows, update assert_winfo_similar #218

Open HexDecimal opened 1 week ago

HexDecimal commented 1 week ago

Updated outdated actions in the CI workflow. All CI warnings should be resolved.

I moved the deployment job to the main CI workflow to ensure that deployed wheels have the exact same test data used for tests by the CI.

I've taken some steps to support reproducible test data. This is incomplete and will take a lot of effort to finish if it's possible in the first place.

Added Python 3.12 and 3.13 to tests.

I've removed the deprecated MacOS 11 runners before support for them ends entirely.

I was unable to add MacOS 13 because of failing tests.

While I was working on this PR, setuptools had an update which broke assert_winfo_similar. The "Generator" field can now be "setuptools \<version>" instead of "bdist_wheel \<version>" since setuptools 70.1. I've decided to refactor the entire function. This can be a separate PR if necessary, but all future tests are going to fail with AssertionError: assert 'bdist_wheel (70.1.0)' == 'setuptools (70.1.0)' until this is merged.

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 96.93%. Comparing base (eb8a5bb) to head (85360b7).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #218 +/- ## ======================================= Coverage 96.93% 96.93% ======================================= Files 16 16 Lines 1307 1307 ======================================= Hits 1267 1267 Misses 40 40 ```

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