Skip to content

fix(deps): relax opencv-python-headless pin to >=4.10.0#501

Open
davidnichols-ops wants to merge 1 commit into
roboflow:mainfrom
davidnichols-ops:fix/opencv-pin-relax-349
Open

fix(deps): relax opencv-python-headless pin to >=4.10.0#501
davidnichols-ops wants to merge 1 commit into
roboflow:mainfrom
davidnichols-ops:fix/opencv-pin-relax-349

Conversation

@davidnichols-ops

Copy link
Copy Markdown

Summary

  • Relaxes the exact opencv-python-headless==4.10.0.84 pin in requirements.txt to opencv-python-headless>=4.10.0, unblocking downstream consumers from using a different opencv version without resolver conflicts.
  • setup.py reads install_requires from requirements.txt, so no other files need changes.
  • The desktop extra in setup.py (opencv-python==4.8.0.74) is intentionally left as-is — it's an opt-in extra, not the default install path.

Closes #349. Related to #365 (consumers requesting full opencv instead of headless — this pin relaxation reduces the conflict surface for that use case).

Test plan

  • git diff shows only the one-line requirements change
  • python -m unittest passes — 729 tests, OK (skipped=1) with opencv-python-headless 4.10.0.84
  • python -m unittest passes — 729 tests, OK (skipped=1) with opencv-python-headless 4.13.0.92 (latest)
  • pip install -e . resolves successfully under the relaxed range
The exact pin opencv-python-headless==4.10.0.84 causes dependency
conflicts for downstream consumers who need a different opencv version.
Relax to a minimum-version range, consistent with other deps in
requirements.txt. Verified passing with both 4.10.0.84 and 4.13.0.92.
@socket-security

socket-security Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​opencv-python-headless@​4.10.0.84 ⏵ 4.13.0.92100 +110010010070

View full report

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

Labels

None yet

1 participant