Repository navigation
Commit 2ec69fe
feat: relax opencv pin to support both 4.x and 5.x, add CI matrix axis
pyproject.toml's opencv-python/opencv-contrib-python pin was capped at
<5.0.0 since 2026-06-16, defensively, before the codebase actually
supported OpenCV 5. PR #61 landed real OpenCV 5 compatibility fixes
(aruco, HoughLinesP, BRISK/AKAZE, MSER) and release 2.2.0's changelog
already headlined "works under both OpenCV 4 and 5" -- but the pin
itself was never relaxed, so pip install could never actually resolve
opencv5, and CI never exercised it either.
Relax the pin to >=4.5,<6.0.0 per issue #44's plan, and add an
opencv-version axis (4, 5) to ci.yml's test matrix so both are
actually exercised on every push/PR, not just verified manually once.
Verified locally in isolated venvs (not the ambient dev environment):
full suite green against real opencv-contrib-python 4.14.0.94 (785
passed, 94 skipped) and 5.0.0.93 (784 passed, 95 skipped).
Fixes #44
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 1a7ccdc commit 2ec69fe
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments