Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
braingram wants to merge1 commit intoopencv:4.x
base:4.x
Choose a base branch
Loading
frombraingram:unpin_numpy
Open

Conversation

@braingram
Copy link

@braingrambraingram commentedSep 11, 2025
edited
Loading

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 pin

issue#1140#1135

vfazio, Houbein, and mayeut reacted with thumbs up emojistonebig, adamjstewart, Stormheg, and mayeut reacted with heart emoji
@braingrambraingram marked this pull request as ready for reviewSeptember 11, 2025 16:03
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"',
Copy link

@opencv-alalekopencv-alalekSep 16, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

  1. justnumpy>=2
  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).

braingram and mayeut reacted with thumbs up emoji
Copy link
Author

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
Copy link

vfazio commentedSep 18, 2025
edited
Loading

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

braingram and Houbein reacted with thumbs up emojistonebig reacted with heart emoji

@vfazio
Copy link

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

Houbein reacted with thumbs up emojibraingram reacted with rocket emoji

@vfazio
Copy link

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

adamjstewart, braingram, Houbein, Azurency, Robocraft999, Stormheg, cameron-mckain, and mocknen reacted with thumbs up emojiasmorkalov reacted with eyes emoji

@faverl
Copy link

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.

#1135 (comment)

@altaic
Copy link

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

@vfazio
Copy link

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#1135 (comment)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@opencv-alalekopencv-alalekopencv-alalek approved these changes

Assignees

@asmorkalovasmorkalov

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@braingram@vfazio@faverl@altaic@opencv-alalek@asmorkalov

[8]ページ先頭

©2009-2025 Movatter.jp