- Notifications
You must be signed in to change notification settings - Fork971
allow numpy 2.3#1142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:4.x
Are you sure you want to change the base?
allow numpy 2.3#1142
Uh oh!
There was an error while loading.Please reload this page.
Conversation
setup.py Outdated
| install_requires= [ | ||
| 'numpy<2.0; python_version<"3.9"', | ||
| 'numpy(>=2, <2.3.0); python_version>="3.9"', | ||
| 'numpy(>=2, <2.4.0); python_version>="3.9"', |
opencv-alalekSep 16, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
- just
numpy>=2 - drop comment above this section
We should not push unnecessary locks on user environment.
@asmorkalov CI environment should be pinned instead (if necessary - probably not).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks! Updated to>2 in7bd1825
vfazio commentedSep 18, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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 commentedSep 22, 2025
Just saw this was approved, hopefully this gets merged and included in a release soon so we can derisk python3.14 |
vfazio commentedOct 10, 2025
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 |
faverl commentedOct 26, 2025
|
altaic commentedNov 21, 2025
Is this planned to land before the next release? It'd be great to be able to support Python 3.14. |
vfazio commentedNov 21, 2025
Last thing I see related is#1135 (comment) |
Uh oh!
There was an error while loading.Please reload this page.
This PR relaxes the runtime numpy dependency to allow the latest released minor version (2.3.x).
This follows the recommendations linked in#1119 (which added the runtime upper pin) and updates the pin based on the latest released version.EDIT: see#1142 (comment) for discussion on pinissue#1140#1135