spacetelescope / stcal

https://stcal.readthedocs.io/en/latest/
Other
10 stars 32 forks source link

pin numpy<2 #265

Closed braingram closed 4 months ago

braingram commented 4 months ago

Numpy 2.0 is out.

OpenCV is not numpy 2.0 compatible (see https://github.com/opencv/opencv-python/issues/943) causing many failures for stcal: https://github.com/spacetelescope/stcal/actions/runs/9544922911/job/26304635960

This PR pins numpy to <2.

Checklist

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 83.79%. Comparing base (af5aefb) to head (12699ec). Report is 114 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #265 +/- ## ========================================== - Coverage 85.18% 83.79% -1.39% ========================================== Files 35 35 Lines 6797 6998 +201 ========================================== + Hits 5790 5864 +74 - Misses 1007 1134 +127 ```

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