Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
7b10157
Updated submodules to the latest in 5.x (#696)
asenyaev Jul 29, 2022
3336f67
Run pipelines on 4.x and 5.x branches (#697)
asenyaev Aug 1, 2022
5aad8e1
Fix path to opencv 5.x for haarcascades
asenyaev Aug 1, 2022
230bdff
Merge pull request #698 from asenyaev/asen/5.x_pipelines
asmorkalov Aug 1, 2022
3d0b585
Scheduled rolling workflows (#699)
asenyaev Aug 3, 2022
f9c4021
macOS x86_64 runner change to macos-11 (#701)
asenyaev Aug 5, 2022
27cca18
Merge pull request #705 from asenyaev/asen/update_5.x
asmorkalov Aug 11, 2022
710c89e
Adapted rolling releases to workflow_dispatch event (#709)
asenyaev Aug 21, 2022
c9a96a6
Defined 5.x branch for submodules (#710)
asenyaev Aug 21, 2022
ebd7b5a
Remove source packages for rolling packages (#712)
asenyaev Aug 22, 2022
ec5c8b5
Build zlib from the source on Linux with the latest version (#715) (#…
asenyaev Aug 29, 2022
66bbd9d
Build x64 macOS wheels for 10.13 build target (#716)
joeyballentine Aug 29, 2022
b0b7f9f
Bump numpy version to 1.21.4 for macOS builds (#720)
asenyaev Aug 29, 2022
8a47bfa
Merge pull request #722 from asenyaev/asen/update_5.x_with_4.x
asenyaev Aug 31, 2022
2a76f21
py38 build requires: update numpy for compatibility with OpenCV src
Apr 26, 2023
76e62b2
find_version: use + for git_hash to conform to PEP 440
Apr 26, 2023
2e44d30
fix: handle None case for python library
henryiii Apr 27, 2023
264e05b
Merge pull request #838 from henryiii/patch-2
asmorkalov May 29, 2023
0ba2c80
Merge pull request #837 from bertsky/fix-py38-build
asmorkalov May 29, 2023
46d2ddf
Temporary hack to fix build regression with Scikit-build 0.17.3 and n…
asmorkalov May 27, 2023
ccb99df
Merge pull request #852 from asmorkalov:as/ci_check
asmorkalov May 31, 2023
ad3e759
Force python3 in build procedure to generate python stubs.
asmorkalov May 26, 2023
45e535e
Fix: numpy version for python 3.11 (#839)
tomsweeting May 31, 2023
474a1cc
Merge pull request #849 from asmorkalov/as/python3_for_build
asmorkalov Jun 1, 2023
3dee384
Try to add pyi files to package.
asmorkalov Jun 1, 2023
e4da6a0
Update OpenCV to current 4.x to get PR #20370
asmorkalov Jun 1, 2023
b534ea2
Merge pull request #853 from asmorkalov/as/add_pyi_to_package
asmorkalov Jun 10, 2023
e26e6e4
Build environment update on Linux.
asmorkalov Jun 28, 2023
0ec125d
Merge pull request #862 from asmorkalov/as/deps_update
asmorkalov Jun 29, 2023
d82d7c2
fix: update build system with CMAKE_ARGS from scikit-build
henryiii Apr 11, 2023
49505b9
OpenCV submodules update to 4.8.0.
asmorkalov Jun 29, 2023
7f0002b
Added more licenses for 3rd party components distributed with opencv-…
asmorkalov Jun 29, 2023
04bfb47
Updated wheel location for custom builds.
asmorkalov Jun 29, 2023
413512c
Merge pull request #831 from henryiii/patch-1
asmorkalov Jun 30, 2023
a335cbe
Merge pull request #864 from asmorkalov/as/opencv_4.8.0
asmorkalov Jun 30, 2023
413894a
Merge pull request #866 from asmorkalov/as/dist_location
asmorkalov Jun 30, 2023
3c972ca
Merge pull request #865 from asmorkalov/as/3rdparty_license_update
asmorkalov Jun 30, 2023
921bae4
Added missing typing/__init__.py to package.
asmorkalov Jul 5, 2023
43cd716
Merge pull request #870 from asmorkalov/as/typing_runtime
asmorkalov Jul 11, 2023
5308d0b
docs: added TOC to README for easier navigation
engnadeau Aug 7, 2023
705bb5d
Merge pull request #882 from engnadeau/docs/readme-toc
asmorkalov Aug 9, 2023
ca13925
Update to OpenCV 4.8.1.
asmorkalov Sep 27, 2023
4493945
Docker images update for Python 3.12 and security fixes.
asmorkalov Oct 12, 2023
1051e53
Merge pull request #905 from asmorkalov/as/docker_update_python3.12
asmorkalov Oct 15, 2023
c9145d9
Update downloads badge
dkurt Oct 18, 2023
7cfd1ee
Merge pull request #907 from dkurt:patch-1
asmorkalov Oct 18, 2023
98573ce
Change setup.py to trigger GitHub show dependents
dkurt Dec 9, 2023
0da732e
Python 3.12 support.
asmorkalov Oct 3, 2023
91555be
Merge pull request #927 from dkurt:try_enable_dependents
asmorkalov Dec 21, 2023
984ff73
Include Intel IPP license text to 3rd party licenses list.
asmorkalov Dec 21, 2023
b77b2c8
Merge pull request #904 from asmorkalov:as/python_3.12
asmorkalov Dec 22, 2023
c886152
Merge pull request #931 from asmorkalov:as/ipp_icv_license
asmorkalov Dec 22, 2023
f5c47b3
Linux environment update for release 4.9.0
asmorkalov Dec 25, 2023
ea3538a
Merge pull request #932 from asmorkalov/as/pre-4.9.0_linux_upgrade
asmorkalov Dec 26, 2023
e7a86f9
Use native Mac M1 Github Runner for the configuration.
asmorkalov Dec 26, 2023
1e1b0ca
Migrate Mac OS Intel to OSX 12.
asmorkalov Dec 26, 2023
bbcc41e
Merge pull request #936 from asmorkalov:as/mac_intel_update
asmorkalov Dec 27, 2023
60cc2d2
Merge pull request #934 from asmorkalov/as/native_mac_m1_runner
asmorkalov Dec 27, 2023
042e0e0
Submodules update to tag 4.9.0.
asmorkalov Dec 27, 2023
d2a08b9
Merge pull request #938 from asmorkalov"as/4.9.0-pre
asmorkalov Dec 29, 2023
eaa9512
Added donation notification.
asmorkalov Dec 29, 2023
8fce57f
Merge pull request #940 from asmorkalov:as/donation
asmorkalov Dec 29, 2023
080da76
Run Python test on Mac M1 in virtual environment to prevent "error: e…
asmorkalov Dec 29, 2023
949b65e
Upgrade pip on Mac M1 before package installation.
asmorkalov Dec 30, 2023
fe67f8e
Merge pull request #941 from asmorkalov/as/mac_m1_venv_for_test
asmorkalov Dec 30, 2023
fcf02c6
Readme update for 4.9.0.
asmorkalov Dec 31, 2023
8ad8ec1
Merge branch 'as/4.9.0-readme-update' into 4.x
asmorkalov Dec 31, 2023
ebd0aee
Use Github sponsor link.
asmorkalov May 21, 2024
927faa5
Merge pull request #983 from asmorkalov/as/sponsor_link
asmorkalov May 21, 2024
542cf06
Dependencies update for 4.10.0 release. (#984)
asmorkalov May 30, 2024
d261ecb
Added license text for OrbbecSDK needed on MacOS ARM64.
asmorkalov Jun 3, 2024
5f132ad
Merge pull request #991 from asmorkalov/as/licence_update_4.10.0
asmorkalov Jun 3, 2024
63eed93
Update submodules to 4.10.0-pre for testing. (#990)
asmorkalov Jun 3, 2024
512209a
Update Numpy requirements in the project.
asmorkalov Jun 3, 2024
3276dc6
Merge pull request #992 from asmorkalov:as/update_numpty
asmorkalov Jun 3, 2024
00e1209
Alternative solution to use Numpy 2.0 for Python 3.9+ packages.
asmorkalov Jun 17, 2024
cce7c99
Merge pull request #1002 from asmorkalov:as/numpy_2.0_v2
asmorkalov Jun 17, 2024
92204bd
chore: minor text fixes in readme
Gornoka Jul 16, 2024
6a181ce
Merge pull request #1015 from Gornoka:patch-1
asmorkalov Jul 24, 2024
f957779
fix
ArtificialZeng Aug 11, 2024
2d2d5ae
Merge branch '4.x' into 5.x-merge-4.x
asmorkalov Nov 28, 2024
e4f0e45
Merge pull request #1050 from asmorkalov/5.x-merge-4.x
asmorkalov Dec 3, 2024
ec3604a
Revert "5.x merge 4.x and submodules update"
asmorkalov Dec 3, 2024
c0fe8eb
Merge pull request #1053 from opencv/revert-1050-5.x-merge-4.x
asmorkalov Dec 3, 2024
3f50d32
Linux dependencies update (#1052)
asmorkalov Dec 3, 2024
b12aea1
Try to update to macos-13 to fix home brew dependencies.
asmorkalov Dec 4, 2024
9e45735
Merge pull request #1055 from asmorkalov:as/macos13
asmorkalov Dec 4, 2024
d23e796
Update pyproject.toml
SaikWolf Dec 12, 2024
6b45caa
Merge pull request #1017 from ArtificialZeng:patch-1
asmorkalov Dec 24, 2024
ae90ee7
Submodules update to 4.11.0-pre
asmorkalov Dec 24, 2024
43c1105
Merge pull request #1065 from asmorkalov:pre_4.11
asmorkalov Dec 31, 2024
ef9443d
fix: add CMake as a build requirement only if required
mayeut Sep 21, 2024
02648ce
Fix Python Source RelPath for PY_LIMITED_API=OFF
zhanwenchen Jun 14, 2024
5da0b6e
Add NASM assembler to Windows build for jpeg-turbo.
asmorkalov Jan 13, 2025
4a0d4ce
Merge pull request #1073 from asmorkalov:as/nasm_windows
asmorkalov Jan 13, 2025
9def6a5
Merge pull request #1000 from zhanwenchen:patch-1
asmorkalov Jan 13, 2025
cee4e80
Merge pull request #1061 from SaikWolf:4.x
asmorkalov Jan 15, 2025
e4618a3
Merge pull request #1031 from mayeut:system-cmake
asmorkalov Jan 15, 2025
58257dc
Switched to tag 4.11.0
asmorkalov Jan 9, 2025
764c325
Merge pull request #1071 from asmorkalov:as/opencv_4.11_tags
asmorkalov Jan 15, 2025
ca68df5
Python 3.13 support.
asmorkalov Jan 15, 2025
26c8b4e
Merge pull request #1074 from asmorkalov:as/python3.13
asmorkalov Jan 15, 2025
2817208
Reverted back to Github actions checkout as self-made command does no…
asmorkalov Jan 16, 2025
255564a
Merge pull request #1076 from asmorkalov:as/github_checkout_again
asmorkalov Jan 16, 2025
fc127ae
Update README.md
AS1100K Apr 20, 2025
2606a60
Merge pull request #1100 from avdivan:4.x
avdivan May 19, 2025
6140e85
setup.py: support patched sources, allow custom package name
alalek Jun 13, 2025
dccecfa
Linux and Mac builds update (#1106)
asmorkalov Jun 13, 2025
b4e126b
Added libavif to the build environment (#1098)
asmorkalov Jun 16, 2025
d432bd4
Install libavif and deps on MacOS.
asmorkalov Jun 16, 2025
a9a35c8
Merge pull request #1109 from asmorkalov:as/macos_avif
asmorkalov Jun 16, 2025
e576ad4
Merge pull request #1108 from opencv-pushbot:gitee/alalek/support_cus…
asmorkalov Jun 16, 2025
416ec8b
OpenCV submodules update.
asmorkalov Jun 18, 2025
dc91b59
Merge pull request #1111 from asmorkalov/as/opencv_update
asmorkalov Jun 20, 2025
d2b8df1
Merge pull request #1095 from as1100k-forks/fix-missing-python-suppor…
asmorkalov Jun 22, 2025
fa50138
BLAS search fix on Linux after chanages in main OpenCV.
asmorkalov Jun 30, 2025
ef4ca3f
Merge pull request #1113 from asmorkalov:as/linux_blas_fix
asmorkalov Jul 1, 2025
b5f684c
Updated OpenCV to release 4.12.0.
asmorkalov Jul 3, 2025
957adcf
Updated Windows build environment to 2025. 2019 - retired.
asmorkalov Jul 3, 2025
8d6746c
Merge pull request #1115 from asmorkalov:as/opencv_4.12.0
asmorkalov Jul 3, 2025
9cd2513
Merge pull request #1117 from asmorkalov:as/windows_env_update
asmorkalov Jul 4, 2025
7a9ed05
Updated numpy dependencies.
asmorkalov Jul 4, 2025
fa742a4
Merge pull request #1119 from asmorkalov:as/numpy_dependency
asmorkalov Jul 4, 2025
609ff9b
Disabled Orbbec backend on Windows in headless configuration as it us…
asmorkalov Jul 8, 2025
e42c4e9
Merge pull request #1123 from asmorkalov:as/no_msmf_win_headless
asmorkalov Jul 8, 2025
dd81860
Update build_wheels_linux.yml
avdivan Jul 10, 2025
a88d65f
Merge pull request #1127 from avdivan:4.x
asmorkalov Jul 16, 2025
031af3c
Update build_wheels_linux.yml
avdivan Jul 28, 2025
4924e6b
Merge pull request #1131 from avdivan:4.x
asmorkalov Jul 30, 2025
18249e5
New manylinux_2_28 based invironment (#1148)
asmorkalov Dec 8, 2025
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
68 changes: 30 additions & 38 deletions .github/workflows/build_wheels_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Linux x86_64
on:
pull_request:
branches:
- master
- 3.4
- 4.x
- 5.x
paths-ignore:
Expand All @@ -20,14 +18,14 @@ on:

jobs:
Build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
python-version: ['3.7']
python-version: ['3.9']
platform: [x64]
with_contrib: [0, 1]
without_gui: [0, 1]
Expand All @@ -41,7 +39,7 @@ jobs:
MB_ML_VER: 2014
TRAVIS_BUILD_DIR: ${{ github.workspace }}
CONFIG_PATH: travis_config.sh
DOCKER_IMAGE: quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20230117
DOCKER_IMAGE: quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20250630
USE_CCACHE: 0
UNICODE_WIDTH: 32
PLAT: x86_64
Expand All @@ -64,27 +62,22 @@ jobs:
fetch-depth: 0
- name: Build a package
run: source scripts/build.sh
- name: Saving all wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: wheelhouse/opencv*.whl
- name: Saving a wheel accordingly to matrix
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
path: wheelhouse/opencv*.whl

Test:
needs: [Build]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
platform: [x64]
with_contrib: [0, 1]
without_gui: [0, 1]
Expand All @@ -93,7 +86,7 @@ jobs:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
MB_PYTHON_VERSION: ${{ matrix.python-version }}
NP_TEST_DEP: numpy==1.19.4
NP_TEST_DEP_LATEST: numpy==1.24.0
NP_TEST_DEP_LATEST: numpy==2.2.6
CONFIG_PATH: travis_config.sh
PLAT: x86_64
steps:
Expand All @@ -106,17 +99,17 @@ jobs:
submodules: true
fetch-depth: 0
- name: Setup Environment variables
run: if [ "3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ 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
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@v3
uses: actions/download-artifact@v4
with:
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
path: wheelhouse/
- name: Package installation and run tests
run: source scripts/install.sh

Build_sdist:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
Expand All @@ -139,7 +132,7 @@ jobs:
NP_TEST_DEP: numpy==1.19.4
TRAVIS_BUILD_DIR: ${{ github.workspace }}
CONFIG_PATH: travis_config.sh
DOCKER_IMAGE: quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20230117
DOCKER_IMAGE: quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20250630
USE_CCACHE: 1
UNICODE_WIDTH: 32
SDIST: ${{ matrix.build_sdist || 0 }}
Expand Down Expand Up @@ -177,85 +170,84 @@ jobs:
set -x
echo "skipping tests because of sdist"
- name: saving artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
path: dist/opencv*.tar.gz

Release_rolling:
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
needs: [Build, Test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: opencv-python-rolling-release
defaults:
run:
shell: bash
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels
path: wheelhouse/

- name: Upload wheels for opencv_python_rolling
run: |
python -m pip install twine
python -m twine upload -u ${{ secrets.OPENCV_PYTHON_ROLLING_USERNAME }} -p ${{ secrets.OPENCV_PYTHON_ROLLING_PASSWORD }} --skip-existing wheelhouse/opencv_python_rolling-*
python -m twine upload -u ${{ secrets.OPENCV_PYTHON_ROLLING_USERNAME }} -p ${{ secrets.OPENCV_PYTHON_ROLLING_PASSWORD }} --skip-existing wheelhouse/wheel-*/opencv_python_rolling-*
- name: Upload wheels for opencv_contrib_python_rolling
run: |
python -m pip install twine
python -m twine upload -u ${{ secrets.OPENCV_CONTRIB_PYTHON_ROLLING_USERNAME }} -p ${{ secrets.OPENCV_CONTRIB_PYTHON_ROLLING_PASSWORD }} --skip-existing wheelhouse/opencv_contrib_python_rolling-*
python -m twine upload -u ${{ secrets.OPENCV_CONTRIB_PYTHON_ROLLING_USERNAME }} -p ${{ secrets.OPENCV_CONTRIB_PYTHON_ROLLING_PASSWORD }} --skip-existing wheelhouse/wheel-*/opencv_contrib_python_rolling-*
- name: Upload wheels for opencv_python_headless_rolling
run: |
python -m pip install twine
python -m twine upload -u ${{ secrets.OPENCV_PYTHON_HEADLESS_ROLLING_USERNAME }} -p ${{ secrets.OPENCV_PYTHON_HEADLESS_ROLLING_PASSWORD }} --skip-existing wheelhouse/opencv_python_headless_rolling-*
python -m twine upload -u ${{ secrets.OPENCV_PYTHON_HEADLESS_ROLLING_USERNAME }} -p ${{ secrets.OPENCV_PYTHON_HEADLESS_ROLLING_PASSWORD }} --skip-existing wheelhouse/wheel-*/opencv_python_headless_rolling-*
- name: Upload wheels for opencv_contrib_python_headless_rolling
run: |
python -m pip install twine
python -m twine upload -u ${{ secrets.OPENCV_CONTRIB_PYTHON_HEADLESS_ROLLING_USERNAME }} -p ${{ secrets.OPENCV_CONTRIB_PYTHON_HEADLESS_ROLLING_PASSWORD }} --skip-existing wheelhouse/opencv_contrib_python_headless_rolling-*
python -m twine upload -u ${{ secrets.OPENCV_CONTRIB_PYTHON_HEADLESS_ROLLING_USERNAME }} -p ${{ secrets.OPENCV_CONTRIB_PYTHON_HEADLESS_ROLLING_PASSWORD }} --skip-existing wheelhouse/wheel-*/opencv_contrib_python_headless_rolling-*

Pre-release:
if: github.event_name == 'release' && github.event.release.prerelease
needs: [Build, Build_sdist, Test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: test-opencv-python-release
defaults:
run:
shell: bash
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels
path: wheelhouse/

- name: Upload all wheels
run: |
python -m pip install twine
python -m twine upload --repository testpypi -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} --skip-existing wheelhouse/opencv_* wheelhouse/opencv-*
python -m twine upload --repository testpypi -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} --skip-existing wheelhouse/wheel-*/opencv_* wheelhouse/wheel-*/opencv-*

Release:
if: github.event_name == 'release' && !github.event.release.prerelease
needs: [Build, Build_sdist, Test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: opencv-python-release
defaults:
run:
shell: bash
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels
path: wheelhouse/
- name: Upload wheels for opencv_python
run: |
python -m pip install twine
python -m twine upload -u ${{ secrets.OPENCV_PYTHON_USERNAME }} -p ${{ secrets.OPENCV_PYTHON_PASSWORD }} --skip-existing wheelhouse/opencv_python-* wheelhouse/opencv-python-[^h]*
python -m twine upload -u ${{ secrets.OPENCV_PYTHON_USERNAME }} -p ${{ secrets.OPENCV_PYTHON_PASSWORD }} --skip-existing wheelhouse/wheel-*/opencv_python-* wheelhouse/wheel-*/opencv-python-[^h]*
- name: Upload wheels for opencv_contrib_python
run: |
python -m pip install twine
python -m twine upload -u ${{ secrets.OPENCV_CONTRIB_PYTHON_USERNAME }} -p ${{ secrets.OPENCV_CONTRIB_PYTHON_PASSWORD }} --skip-existing wheelhouse/opencv_contrib_python-* wheelhouse/opencv-contrib-python-[^h]*
python -m twine upload -u ${{ secrets.OPENCV_CONTRIB_PYTHON_USERNAME }} -p ${{ secrets.OPENCV_CONTRIB_PYTHON_PASSWORD }} --skip-existing wheelhouse/wheel-*/opencv_contrib_python-* wheelhouse/wheel-*/opencv-contrib-python-[^h]*
- name: Upload wheels for opencv_python_headless
run: |
python -m pip install twine
python -m twine upload -u ${{ secrets.OPENCV_PYTHON_HEADLESS_USERNAME }} -p ${{ secrets.OPENCV_PYTHON_HEADLESS_PASSWORD }} --skip-existing wheelhouse/opencv_python_headless-* wheelhouse/opencv-python-headless-*
python -m twine upload -u ${{ secrets.OPENCV_PYTHON_HEADLESS_USERNAME }} -p ${{ secrets.OPENCV_PYTHON_HEADLESS_PASSWORD }} --skip-existing wheelhouse/wheel-*/opencv_python_headless-* wheelhouse/wheel-*/opencv-python-headless-*
- name: Upload wheels for opencv_contrib_python_headless
run: |
python -m pip install twine
python -m twine upload -u ${{ secrets.OPENCV_CONTRIB_PYTHON_HEADLESS_USERNAME }} -p ${{ secrets.OPENCV_CONTRIB_PYTHON_HEADLESS_PASSWORD }} --skip-existing wheelhouse/opencv_contrib_python_headless-* wheelhouse/opencv-contrib-python-headless-*
python -m twine upload -u ${{ secrets.OPENCV_CONTRIB_PYTHON_HEADLESS_USERNAME }} -p ${{ secrets.OPENCV_CONTRIB_PYTHON_HEADLESS_PASSWORD }} --skip-existing wheelhouse/wheel-*/opencv_contrib_python_headless-* wheelhouse/wheel-*/opencv-contrib-python-headless-*
33 changes: 13 additions & 20 deletions .github/workflows/build_wheels_linux_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Linux ARM64
on:
pull_request:
branches:
- master
- 3.4
- 4.x
- 5.x
paths-ignore:
Expand All @@ -27,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7']
python-version: ['3.9']
platform: [x64]
with_contrib: [0, 1]
without_gui: [0, 1]
Expand All @@ -42,7 +40,7 @@ jobs:
MB_ML_VER: 2014
TRAVIS_BUILD_DIR: ${{ github.workspace }}
CONFIG_PATH: travis_config.sh
DOCKER_IMAGE: quay.io/opencv-ci/opencv-python-manylinux2014-aarch64:20230117
DOCKER_IMAGE: quay.io/opencv-ci/opencv-python-manylinux2014-aarch64:20250630
USE_CCACHE: 0
UNICODE_WIDTH: 32
SDIST: ${{ matrix.build_sdist || 0 }}
Expand All @@ -64,13 +62,8 @@ jobs:
fetch-depth: 0
- name: Build a package
run: source scripts/build.sh
- name: Saving all wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: wheelhouse/opencv*.whl
- name: Saving a wheel accordingly to matrix
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
path: wheelhouse/opencv*.whl
Expand All @@ -84,7 +77,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
platform: [x64]
with_contrib: [0, 1]
without_gui: [0, 1]
Expand All @@ -94,7 +87,7 @@ jobs:
MB_PYTHON_VERSION: ${{ matrix.python-version }}
PLAT: aarch64
NP_TEST_DEP: numpy==1.19.4
NP_TEST_DEP_LATEST: numpy==1.24.0
NP_TEST_DEP_LATEST: numpy==2.2.6
CONFIG_PATH: travis_config.sh
DOCKER_TEST_IMAGE: multibuild/focal_arm64v8
UNICODE_WIDTH: 32
Expand All @@ -108,9 +101,9 @@ jobs:
submodules: true
fetch-depth: 0
- name: Setup Environment variables
run: if [ "3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ 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
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@v3
uses: actions/download-artifact@v4
with:
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
path: wheelhouse/
Expand All @@ -120,13 +113,13 @@ jobs:
Release_rolling:
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
needs: [Build, Test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: opencv-python-rolling-release
defaults:
run:
shell: bash
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels
path: wheelhouse/
Expand All @@ -150,13 +143,13 @@ jobs:
Pre-release:
if: github.event_name == 'release' && github.event.release.prerelease
needs: [Build, Test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: test-opencv-python-release
defaults:
run:
shell: bash
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels
path: wheelhouse/
Expand All @@ -168,13 +161,13 @@ jobs:
Release:
if: github.event_name == 'release' && !github.event.release.prerelease
needs: [Build, Test]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: opencv-python-release
defaults:
run:
shell: bash
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels
path: wheelhouse/
Expand Down
Loading