colour-science / colour

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

[FEATURE]: Support numpy 2.x #1273

Closed paulschreiber closed 2 months ago

paulschreiber commented 3 months ago

Description

Numpy 2.0 was released. Please add support for Numpy 2.x

KelSolaar commented 3 months ago

Hello @paulschreiber,

This is on the TODO list! That being said, we are having some issues with Scipy that currently force us to forbid 1.13.x and lower versions do not support Numpy 2: https://github.com/scipy/scipy/issues/20613

KelSolaar commented 2 months ago

https://github.com/colour-science/colour/pull/1279 was merged in develop.

FredeJ commented 3 weeks ago

IMO This is a big enough thing to warrant a release on its own, as it allows everyone to update to numpy 2 and start using it. Any chance to see a v0.4.5 release featuring just what's available now, and bumping the rest of the v0.4.5 milestone to a v0.4.6 release? :)

More specifically - this library is currently the only thing holding us back from upgrading to numpy 2, so I'd love to see if there's anything I could do to help out in that process :)

KelSolaar commented 3 weeks ago

Hello @FredeJ,

Thanks, this is dully noted and we will work towards getting a release up. I'm engaged on other projects that have deadlines in coming weeks and the plan was to work on releasing Colour after this.

FredeJ commented 3 weeks ago

Thanks a lot, @KelSolaar! That's obviously totally fair, and it's very nice to have a rough estimate :)