spacetelescope / spherical_geometry

A Python package for handling spherical polygons that represent arbitrary regions of the sky
http://spherical-geometry.readthedocs.io/
61 stars 31 forks source link

[SCSB-155] build with Numpy 2.0 release candidate #279

Closed zacharyburnett closed 3 months ago

zacharyburnett commented 3 months ago

resolves SCSB-155

Numpy 2.0 is scheduled for release on June 19th. Due to the C ABI updates, Python projects that build C extensions are required to build against Numpy 2.0 in order to use Numpy 2.0 in runtime. This is backwards-compatible with Numpy versions in runtime as far back as 1.26

this PR pins numpy>=2.0.0rc2 in build-system.requires

[!NOTE] this PR was generated automatically by batchpr :robot:

zacharyburnett commented 3 months ago

devdeps tests pass with numpy>=2.0: https://github.com/spacetelescope/spherical_geometry/actions/runs/9322807864/job/25664645387?pr=279

codecov[bot] commented 2 days ago

Codecov Report

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

Project coverage is 80.25%. Comparing base (480343b) to head (4e7cd19). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #279 +/- ## ========================================== - Coverage 80.33% 80.25% -0.08% ========================================== Files 5 5 Lines 1017 1013 -4 ========================================== - Hits 817 813 -4 Misses 200 200 ```

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