ehpor / hcipy

A framework for performing optical propagation simulations, meant for high contrast imaging, in Python.
https://hcipy.org
MIT License
93 stars 31 forks source link

Fix CI regression and update Python version support #236

Closed ehpor closed 1 month ago

ehpor commented 1 month ago

Testing on macos-latest now uses Apple M1 chips, so runs on ARM. The required package mkl_fft is not available on ARM. This PR makes mkl_fft an optional dependency for testing.

The distributed FFMpeg of conda now no longer supports the preset argument for some reason. This PR makes the preset argument optional.

This PR also removes support for Python 3.7 & Python 3.8, and adds support for Python 3.12.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 82.05%. Comparing base (3cdb57f) to head (df4497d). Report is 8 commits behind head on master.

Files with missing lines Patch % Lines
hcipy/plotting/animation.py 80.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #236 +/- ## ========================================== - Coverage 82.21% 82.05% -0.16% ========================================== Files 102 102 Lines 7555 7556 +1 ========================================== - Hits 6211 6200 -11 - Misses 1344 1356 +12 ```

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