numpy.distutils is removed in numpy 1.26 on Python 3.12.#24351
numpy.distutils is removed in numpy 1.26 on Python 3.12.#24351asmorkalov merged 1 commit intoopencv:4.xfrom
numpy.distutils is removed in numpy 1.26 on Python 3.12.#24351Conversation
|
There are a lot of embedded platform users that cannot update Python or NumPy. The current approach was deprecated in NumPy 1.23. I propose to add condition and use old command for old Numpy versions. |
|
Embedded boards usually processed through I don't see issues with Ubuntu 16.04 builders. |
opencv-alalek
left a comment
There was a problem hiding this comment.
@sergiomb2 Please rebase source branch on the latest 4.x upstream branch. This is necessary for enabling the latest GitHub Actions checks.
so we don't use numpy.distutils to get includes dirs of python-numpy
done ! |
so we don't use numpy.distutils to get includes dirs of python-numpy
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.