From 8a813e9e9ec2f4b95c7b54eb36257fa169d4b205 Mon Sep 17 00:00:00 2001 From: Breakthrough Date: Sun, 25 Jan 2026 19:51:13 -0500 Subject: [PATCH] [dist] Unpin OpenCV #257 --- .github/workflows/build.yml | 4 ++-- requirements.txt | 3 +-- requirements_headless.txt | 3 +-- setup.cfg | 3 +-- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e817060..2f1ed53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,6 +31,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [macos-14, macos-latest, ubuntu-22.04, ubuntu-latest, windows-latest] python-version: ["3.10", "3.11", "3.12", "3.13"] @@ -50,11 +51,10 @@ jobs: version: "0.5.11" python-version: ${{ matrix.python-version }} - # TODO(#257): Unpin OpenCV versions once we figure out why frame numbers are mismatching in tests. - name: Install Dependencies run: | uv pip install --upgrade build wheel virtualenv - uv pip install opencv-python-headless\<4.13 opencv-contrib-python-headless\<4.13 --only-binary :all: + uv pip install opencv-python-headless opencv-contrib-python-headless --only-binary :all: uv pip install -r requirements_headless.txt -r docs/requirements.txt - name: Setup FFmpeg diff --git a/requirements.txt b/requirements.txt index f5c72a3..ec87a5f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,8 +2,7 @@ # DVR-Scan Python Requirements # numpy -# TODO(#257): Unpin OpenCV versions once we figure out why frame numbers are mismatching in tests. -opencv-contrib-python<4.13 +opencv-contrib-python pillow platformdirs pytest diff --git a/requirements_headless.txt b/requirements_headless.txt index 0d23161..ce20bab 100644 --- a/requirements_headless.txt +++ b/requirements_headless.txt @@ -2,8 +2,7 @@ # DVR-Scan Python Requirements # numpy -# TODO(#257): Unpin OpenCV versions once we figure out why frame numbers are mismatching in tests. -opencv-contrib-python-headless<4.13 +opencv-contrib-python-headless pillow platformdirs pytest diff --git a/setup.cfg b/setup.cfg index 9abfb19..217b770 100644 --- a/setup.cfg +++ b/setup.cfg @@ -49,8 +49,7 @@ install_requires = scenedetect screeninfo tqdm -# TODO(#257): Unpin OpenCV versions once we figure out why frame numbers are mismatching in tests. - opencv-contrib-python<4.13 + opencv-contrib-python pillow packages = # Main application