Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
3ec7ac6
Create Dockerfile_x86_64
avdivan Jul 31, 2025
7bd1825
allow numpy>2
braingram Sep 11, 2025
18249e5
New manylinux_2_28 based invironment (#1148)
asmorkalov Dec 8, 2025
0795a08
manylinux_2_28 pipelines
avdivan Dec 10, 2025
55f1129
Update OpenCV to current 4.x branch. (#1161)
asmorkalov Dec 10, 2025
47c1307
Merge pull request #1133 from avdivan/4.x
asmorkalov Dec 11, 2025
2ff0bf8
Added Musllinux environment for ARM.
asmorkalov Dec 11, 2025
cb22e27
Removed duplicated ARM builds.
asmorkalov Dec 11, 2025
5e9cb9b
Merge pull request #1162 from asmorkalov/as/cleanup_linux_ci
asmorkalov Dec 11, 2025
81b4c07
Merge pull request #1142 from braingram/unpin_numpy
asmorkalov Dec 11, 2025
5dd66a1
Update submodules to release 4.13.0
asmorkalov Jan 1, 2026
a31042f
Merge pull request #1171 from asmorkalov:as/submodules_4.13.0
asmorkalov Jan 2, 2026
c6101c4
Cherry-pick Numpy 2.4.x types fix.
asmorkalov Jan 6, 2026
d098302
Dependencies update for 4.13.0 release.
asmorkalov Jan 2, 2026
1a2d0f6
Merge pull request #1175 from asmorkalov:as/numpy24_types
asmorkalov Jan 6, 2026
a7ca41e
Merge pull request #1173 from asmorkalov:as/dependencies_update_4.13.0
asmorkalov Jan 7, 2026
66e3128
Switched MacOS Intel builds to own host.
asmorkalov Jan 7, 2026
bfb85dc
Merge pull request #1177 from asmorkalov:as/own_mac_intel
asmorkalov Jan 14, 2026
8e765e8
Added Python 3.14 support to CI.
asmorkalov Jan 14, 2026
6cb94ce
Merge pull request #1179 from asmorkalov:as/python_3.14
asmorkalov Jan 15, 2026
7f792fe
Add KAZE and AKAZE license
Kumataro Jan 21, 2026
9faa612
Merge pull request #1187 from Kumataro:develop/append_KAZE_and_AKAZE
asmorkalov Jan 22, 2026
e42eb55
Disable libavdevice for headless builds on Linux to get rid of X libs…
asmorkalov Jan 23, 2026
0dd09ec
Merge pull request #1189 from asmorkalov:as/disable_libavdevice_headless
asmorkalov Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
189 changes: 0 additions & 189 deletions .github/workflows/build_wheels_linux_arm.yml

This file was deleted.

64 changes: 24 additions & 40 deletions .github/workflows/build_wheels_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 4.x
- 5.x
paths-ignore:
- '.github/workflows/build_wheels_linux*'
- '.github/workflows/build_wheels_manylinux*'
- '.github/workflows/build_wheels_windows*'
- '.github/workflows/build_wheels_macos_m1.yml'
release:
Expand All @@ -18,10 +18,7 @@ on:

jobs:
Build:
runs-on: macos-13
defaults:
run:
shell: bash
runs-on: python-macos-intel
strategy:
fail-fast: false
matrix:
Expand All @@ -31,6 +28,7 @@ jobs:
without_gui: [0, 1]
build_sdist: [0]
env:
CI_BUILD: 1
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
REPO_DIR: .
PROJECT_SPEC: opencv-python
Expand All @@ -46,6 +44,7 @@ jobs:
SDIST: ${{ matrix.build_sdist || 0 }}
ENABLE_HEADLESS: ${{ matrix.without_gui }}
ENABLE_CONTRIB: ${{ matrix.with_contrib }}
PIP_INDEX_URL: https://pypi.tuna.tsinghua.edu.cn/simple
steps:
- name: Cleanup
run: find . -mindepth 1 -delete
Expand All @@ -55,34 +54,20 @@ jobs:
if [[ "${{ github.event_name }}" == "schedule" || "${{ github.event_name }}" == "workflow_dispatch" ]]; then
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
fi
# hack for image issue on mac: https://github.com/actions/runner-images/issues/6817
rm /usr/local/bin/2to3*
rm /usr/local/bin/idle3*
rm /usr/local/bin/pydoc3*
rm /usr/local/bin/python3*
# end hack
- name: Checkout
uses: actions/checkout@v3
with:
submodules: false
fetch-depth: 0
- name: Build a package
run: |
set -e
# Check out and prepare the source
# Multibuild doesn't have releases, so --depth would break eventually (see
# https://superuser.com/questions/1240216/server-does-not-allow-request-for-unadvertised)
git submodule update --init multibuild
source multibuild/common_utils.sh
# https://github.com/matthew-brett/multibuild/issues/116
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export ARCH_FLAGS=" "; fi
source multibuild/travis_steps.sh
# This sets -x
# source travis_multibuild_customize.sh
echo $ENABLE_CONTRIB > contrib.enabled
echo $ENABLE_HEADLESS > headless.enabled
set -x
build_wheel $REPO_DIR $PLAT
export MACOSX_DEPLOYMENT_TARGET=14.0
python${{ matrix.python-version }} -m pip install toml && python${{ matrix.python-version }} -c 'import toml; c = toml.load("pyproject.toml"); print("\n".join(c["build-system"]["requires"]))' | python${{ matrix.python-version }} -m pip install -r /dev/stdin
python${{ matrix.python-version }} setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=wheelhouse -v
delocate-wheel ${{ github.workspace }}/wheelhouse/opencv*
- name: Saving a wheel accordingly to matrix
uses: actions/upload-artifact@v4
with:
Expand All @@ -91,14 +76,11 @@ jobs:

Test:
needs: [Build]
runs-on: macos-13
defaults:
run:
shell: bash
runs-on: python-macos-intel
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
platform: [x64]
with_contrib: [0, 1]
without_gui: [0, 1]
Expand All @@ -112,6 +94,7 @@ jobs:
PLAT: x86_64
OPENCV_TEST_DATA_PATH: ${{ github.workspace }}/opencv_extra/testdata
PYLINT_TEST_FILE: ${{ github.workspace }}/opencv/samples/python/squares.py
PIP_INDEX_URL: https://pypi.tuna.tsinghua.edu.cn/simple
steps:
- name: Cleanup
run: find . -mindepth 1 -delete
Expand All @@ -121,32 +104,33 @@ jobs:
with:
submodules: true
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.platform }}
- name: Setup Environment variables
run: if ["3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ matrix.python-version }}" -o "3.12" == "${{ matrix.python-version }}" -o "3.13" == "${{ matrix.python-version }}" ]; then echo "TEST_DEPENDS=$(echo $NP_TEST_DEP_LATEST)" >> $GITHUB_ENV; else echo "TEST_DEPENDS=$(echo $NP_TEST_DEP)" >> $GITHUB_ENV; fi
- name: Download a wheel accordingly to matrix
uses: actions/download-artifact@v4
with:
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
path: wheelhouse/
- name: Create Venv for test
run: |
test -d "${{ github.workspace }}/opencv_test" && rm -rf "${{ github.workspace }}/opencv_test"
python${{ matrix.python-version }} -m venv ${{ github.workspace }}/opencv_test
- name: Package installation
run: |
python -m pip install wheelhouse/opencv*.whl
source ${{ github.workspace }}/opencv_test/bin/activate
python${{ matrix.python-version }} -m pip install --upgrade pip
python${{ matrix.python-version }} -m pip install --no-cache --force-reinstall wheelhouse/opencv*.whl
cd ${{ github.workspace }}/tests
python get_build_info.py
python${{ matrix.python-version }} get_build_info.py
- name: Run tests
run: |
source ${{ github.workspace }}/opencv_test/bin/activate
cd ${{ github.workspace }}/opencv
python modules/python/test/test.py -v --repo .
python${{ matrix.python-version }} modules/python/test/test.py -v --repo .
- name: Pylint test
run: |
python -m pip install pylint==2.15.9
source ${{ github.workspace }}/opencv_test/bin/activate
python${{ matrix.python-version }} -m pip install pylint==2.15.9
cd ${{ github.workspace }}/tests
python -m pylint $PYLINT_TEST_FILE
python${{ matrix.python-version }} -m pylint $PYLINT_TEST_FILE

Release_rolling:
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels_macos_m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 4.x
- 5.x
paths-ignore:
- '.github/workflows/build_wheels_linux*'
- '.github/workflows/build_wheels_manylinux*'
- '.github/workflows/build_wheels_windows*'
- '.github/workflows/build_wheels_macos.yml'
release:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
platform: [x64]
with_contrib: [0, 1]
without_gui: [0, 1]
Expand Down
Loading