GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — allow numpy 2.3 by braingram · Pull Request #1142 · opencv/opencv-python

Conversation

@braingram

@braingram braingram commented Sep 11, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vfazio, Houbein, mayeut, and adamjstewart reacted with thumbs up emoji stonebig, adamjstewart, Stormheg, and mayeut reacted with heart emoji
All reactions
  • 👍 4 reactions
  • ❤️ 4 reactions
@braingram
braingram marked this pull request as ready for review September 11, 2025 16:03
opencv-alalek
opencv-alalek reviewed Sep 16, 2025
View reviewed changes
Comment thread 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-alalek opencv-alalek Sep 16, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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.

  1. just numpy>=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).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

braingram and mayeut reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

@braingram braingram Sep 16, 2025

Copy link
Copy Markdown
Contributor Author

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 in 7bd1825

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@braingram
braingram force-pushed the unpin_numpy branch from fbcf29e to 95f2778 Compare September 16, 2025 12:20
@braingram
allow numpy>2
7bd1825
@braingram
braingram force-pushed the unpin_numpy branch from 95f2778 to 7bd1825 Compare September 16, 2025 12:20
@MugundanMCW MugundanMCW mentioned this pull request Sep 17, 2025
Add CI support for building Windows on ARM wheels #1143
Open
@vfazio

vfazio commented Sep 18, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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 emoji stonebig reacted with heart emoji
All reactions
  • 👍 2 reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

opencv-alalek
opencv-alalek approved these changes Sep 21, 2025
View reviewed changes
@vfazio vfazio mentioned this pull request Sep 21, 2025
opencv-python-headless package relies on numpy below 2.3.0 ? #1140
Closed
@vfazio

vfazio commented Sep 22, 2025

Copy link
Copy Markdown

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 emoji braingram reacted with rocket emoji
All reactions
  • 👍 1 reaction
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adamjstewart adamjstewart mentioned this pull request Oct 8, 2025
Bump numpy from 2.2.4 to 2.3.3 in /requirements torchgeo/torchgeo#3024
Closed
@G-Rath G-Rath mentioned this pull request Oct 9, 2025
chore(deps): bump the production group across 1 directory with 8 updates GOVTNZ/cwac#168
Closed
@vfazio

vfazio commented Oct 10, 2025

Copy link
Copy Markdown

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, mocknen, and homm reacted with thumbs up emoji asmorkalov reacted with eyes emoji
All reactions
  • 👍 9 reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@opencv-alalek opencv-alalek assigned asmorkalov Oct 10, 2025
@loscrossos loscrossos mentioned this pull request Oct 19, 2025
Fix python314 support #1147
Open
@faverl

faverl commented Oct 26, 2025

Copy link
Copy Markdown

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)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@altaic

altaic commented Nov 21, 2025

Copy link
Copy Markdown

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vfazio

vfazio commented Nov 21, 2025

Copy link
Copy Markdown

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)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Dec 6, 2025
CI: test with Python 3.14 torchgeo/torchgeo#3045
Merged
LandCover.ai preprocessing and OpenCV dep torchgeo/torchgeo#3121
Closed
@asmorkalov
asmorkalov merged commit 81b4c07 into opencv:4.x Dec 11, 2025
@braingram
braingram deleted the unpin_numpy branch December 11, 2025 23:54
Copilot AI mentioned this pull request Jan 2, 2026
Remove OpenCV dependency from LandCover.ai dataset torchgeo/torchgeo#3238
Merged
19 tasks done
@Tenzer Tenzer mentioned this pull request Jan 14, 2026
Numpy version fix #1122
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencv-alalek opencv-alalek opencv-alalek approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@asmorkalov asmorkalov

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@braingram @vfazio @faverl @altaic @opencv-alalek @asmorkalov
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.