raysect / source

The main source repository for the Raysect project.
http://www.raysect.org
BSD 3-Clause "New" or "Revised" License
86 stars 23 forks source link

V0.8.1 buildfix #428

Closed jacklovell closed 8 months ago

jacklovell commented 9 months ago

Cython 3.0 release introduces breaking changes. Pin to earlier Cython until the code has been updated for compatibility.

Make a new post1 release of this so downstream packages will pick up the working version of 0.8.1.

Also switch from Travis to Github actions to ensure builds are still error free.

Added a small snippet of code to get pip and PyPA build to use multiple CPUs to build this wheel by default, which greatly speeds up building release wheels. This is inspired by a similar addition which was made to Cherab.

jacklovell commented 9 months ago

Manylinux wheels built from this PR are available on TestPyPI: https://test.pypi.org/project/raysect/0.8.1.post1. Wheels are available for Python 3.7 through to 3.12, and there is also an sdist which can be downloaded and installed manually to verify it installs without error. I've tested all 6 Python versions in virtual environments: the wheel installs fine and all unit tests pass. I've also tested the sdist on Python 3.12, and again it builds and passes all unit tests without error.