opencv / opencv/opencv-python

numpy rot dependency

Open
#1,134 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.4k
Forks
1k
Avg merge
22h 17m
Merged PRs (30d)
3

Description

Commit https://github.com/opencv/opencv-python/commit/7a9ed05ca7e59829d24c9eb57bc7289dd68b73d6
updated numpy dependencies,

pip install opencv-python screws my mamba environment and my latest set of docker images. ( maybe this predates the commit in question, still, 1.26.4 should suffice.)

As some are aware, numpy >1.26.4 put a wrench on many projects with the ridiculous typing changes... Theres millions of lines of code that wont run because of that code rot update. What if anything exists in numpy that opencv needs that is not covered by v 1.26.4! If anything is there, it should be bypassed.

On creating new images I never versioned opencv, now i have to find the good old version.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading commit 7a9ed05ca7e59829d24c9eb57bc7289dd68b73d6 and the dependency configuration it changed. Compare the package's NumPy requirements with the reported mamba and Docker installation failures; done means the dependency behavior is compatible with the supported environment and the result is verified by installation checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.