Skip to content

opencv-contrib-python: add build-opencv-contrib-python.yml for riscv64 wheels - #845

Open
luhenry wants to merge 1 commit into
mainfrom
opencv-contrib-python
Open

opencv-contrib-python: add build-opencv-contrib-python.yml for riscv64 wheels#845
luhenry wants to merge 1 commit into
mainfrom
opencv-contrib-python

Conversation

@luhenry

@luhenry luhenry commented Sep 3, 2026

Copy link
Copy Markdown
Member

OpenCV Python bindings plus the opencv_contrib extra modules. Upstream publishes no riscv64 wheel.

Mirrors build-opencv-python.yml, the plain (non-headless) sibling already merged for this repo — same source tree, same riscv64 fix, same test command.

Differs from upstream

  • Additional opencv_contrib submodule checkout, ENABLE_CONTRIB=1 and a matching find_version.py/cv2/version.py stamp select the contrib build.
  • timeout-minutes raised to 1440 - contrib roughly doubles the module count to compile.

Testing

  • same as upstream - upstream's own run_tests/test_wheels for the contrib variant run the identical modules/python/test/test.py -v --repo . command against opencv/, with no separate discovery of opencv_contrib's own test files.

License: OK - same LICENSE.txt/LICENSE-3RD-PARTY.txt bundled by opencv-python's own setup.py regardless of the contrib flag; nothing new is vendored by this build.

Built on cp312, reused for cp313/cp314.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Az13NcXsVZzzxXmaxxUEy7

@luhenry
luhenry force-pushed the opencv-contrib-python branch 4 times, most recently from 8c73076 to 56b6599 Compare September 3, 2026 14:00
…4 wheels

Mirrors build-opencv-python.yml, the third build variant from the same
opencv/opencv-python source repo: checks out the opencv_contrib submodule
and sets ENABLE_CONTRIB=1 (plus the matching find_version.py/version.py
stamp) to build opencv_contrib_python instead of opencv_python.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Az13NcXsVZzzxXmaxxUEy7
@luhenry
luhenry force-pushed the opencv-contrib-python branch from 56b6599 to 2def3df Compare September 3, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant