opencv-python icon indicating copy to clipboard operation
opencv-python copied to clipboard

allow numpy 2.3

Open braingram opened this issue 3 months ago • 6 comments

This PR relaxes the runtime numpy dependency to allow the latest released minor version (2.3.x).

~This follows the recommendations linked in https://github.com/opencv/opencv-python/pull/1119 (which added the runtime upper pin) and updates the pin based on the latest released version.~ EDIT: see https://github.com/opencv/opencv-python/pull/1142#discussion_r2352128587 for discussion on pin

issue #1140 #1135

braingram avatar Sep 11 '25 16:09 braingram

This would be good to have considering python 3.14 is around the corner and numpy 2.3.x adds support for that version.

Currently, opencv users cannot test against python 3.14 (easily).

I found this out today when trying to setup some 3.14 canary pipelines

vfazio avatar Sep 18 '25 14:09 vfazio

Just saw this was approved, hopefully this gets merged and included in a release soon so we can derisk python3.14

vfazio avatar Sep 22 '25 12:09 vfazio

Checking in on the status of this. 3.14 was released a few days ago, so there will be increased interest in getting support for a newer numpy and updated wheels for this repo

vfazio avatar Oct 10 '25 15:10 vfazio

Revisando el estado de esto. La versión 3.14 se lanzó hace unos días, por lo que habrá un mayor interés en obtener soporte para un numpy más nuevo y ruedas actualizadas para este repositorio.

https://github.com/opencv/opencv-python/issues/1135#issuecomment-3448473109

faverl avatar Oct 26 '25 23:10 faverl

Is this planned to land before the next release? It'd be great to be able to support Python 3.14.

altaic avatar Nov 21 '25 02:11 altaic

Is this planned to land before the next release? It'd be great to be able to support Python 3.14.

Last thing I see related is https://github.com/opencv/opencv-python/issues/1135#issuecomment-3448473109

vfazio avatar Nov 21 '25 02:11 vfazio