colour-science / colour

Colour Science for Python
https://www.colour-science.org
BSD 3-Clause "New" or "Revised" License
2.14k stars 263 forks source link

PR: Implement support for Python 3.12. #1224

Closed KelSolaar closed 1 year ago

KelSolaar commented 1 year ago

Summary

This PR implements support for Python 3.12. A few new pre-commit hooks were also added according to https://learn.scientific-python.org/development/guides/repo-review/?repo=colour-science%2Fcolour&branch=develop.

I was not able to install PyGraphviz on macOS Sonoma so it was excluded in the pyproject.toml file. So is OpenColorIO which has no 3.12 wheels yet.

Preflight

Code Style and Quality

Documentation

coveralls commented 1 year ago

Coverage Status

coverage: 99.733%. remained the same when pulling 79afdd0e025e014bad86d10e94c6ef3e4e034639 on feature/python-3.12 into c816594b634e7abe4863c59aa51857bc002d7ac2 on develop.