pytroll / pyresample

Geospatial image resampling in Python
http://pyresample.readthedocs.org
GNU Lesser General Public License v3.0
344 stars 95 forks source link

Switch to cibuildwheel for wheel building #542

Closed djhoese closed 11 months ago

djhoese commented 11 months ago

Join the modern world and use cibuildwheel to build wheels.

djhoese commented 11 months ago

@mraspaud Ah we need Python 3.12 wheels for pykdtree. I guess I'll do the equivalent of this PR there.

mraspaud commented 11 months ago

thanks!

djhoese commented 11 months ago

The CI failures will be fixed when PROJ 9.3.1 is released:

https://github.com/OSGeo/PROJ/pull/3873

9.3.0 still triggers the inequality.

codecov[bot] commented 11 months ago

Codecov Report

Merging #542 (36f00c7) into main (3e7de5d) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #542   +/-   ##
=======================================
  Coverage   94.25%   94.25%           
=======================================
  Files          82       82           
  Lines       13077    13077           
=======================================
  Hits        12326    12326           
  Misses        751      751           
Flag Coverage Δ
unittests 94.25% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

coveralls commented 11 months ago

Coverage Status

coverage: 93.833%. remained the same when pulling 36f00c755dfc70f698a184ff4645a51790e689bd on djhoese:ci-cibuildwheel into 3e7de5df380d9a13b7a56b86ed1721b70573b983 on pytroll:main.

djhoese commented 11 months ago

FYI @mraspaud, feel free to review and merge this. This does NOT enable Python 3.12 because shapely does not have wheels for it you (I'm working on that in https://github.com/shapely/shapely/pull/1893) and I also excluded the specific version of PROJ that causes our one .cfg -> YAML area definition test to fail until PROJ 9.3.1 is released.

Once the shapely PR is merged and a wheel released we can do a release. I'd love for all of pytroll's packages to have Python 3.12 wheels available on PyPI when 3.12's first stable release comes out.