1717
1818jobs :
1919 Build :
20- runs-on : ${{ matrix.platform == 'aarch64' && 'opencv-cn-lin-arm64 ' || 'ubuntu-22.04' }}
20+ runs-on : ${{ matrix.platform == 'aarch64' && 'ubuntu-22.04-arm ' || 'ubuntu-22.04' }}
2121 defaults :
2222 run :
2323 shell : bash
@@ -33,16 +33,16 @@ jobs:
3333 include :
3434 - platform : aarch64
3535 manylinux : 2014
36- DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux2014-aarch64:20260531
36+ DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux2014-aarch64:20260901
3737 - platform : x86_64
3838 manylinux : 2014
39- DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20260531
39+ DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20260725
4040 - platform : x86_64
4141 manylinux : 2_28
42- DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux_2_28-x86-64:20260531
42+ DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux_2_28-x86-64:20260725
4343 - platform : aarch64
4444 manylinux : 2_28
45- DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux_2_28-aarch64:20260531
45+ DOCKER_IMAGE : quay.io/opencv-ci/opencv-python-manylinux_2_28-aarch64:20260901
4646
4747 env :
4848 ACTIONS_ALLOW_UNSECURE_COMMANDS : true
@@ -71,22 +71,22 @@ jobs:
7171 echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
7272 fi
7373 - name : Checkout
74- uses : actions/checkout@v3
74+ uses : actions/checkout@v7
7575 with :
7676 submodules : false
7777 fetch-depth : 0
7878
7979 - name : Build a package
8080 run : source scripts/build.sh
8181 - name : Saving a wheel accordingly to matrix
82- uses : actions/upload-artifact@v4
82+ uses : actions/upload-artifact@v7
8383 with :
8484 name : wheel-${{ matrix.platform }}-${{ matrix.manylinux }}-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
8585 path : wheelhouse/opencv*.whl
8686
8787 Test :
8888 needs : [Build]
89- runs-on : ${{ matrix.platform == 'aarch64' && 'opencv-cn-lin-arm64 ' || 'ubuntu-22.04' }}
89+ runs-on : ${{ matrix.platform == 'aarch64' && 'ubuntu-24.04-arm ' || 'ubuntu-22.04' }}
9090 defaults :
9191 run :
9292 shell : bash
@@ -103,8 +103,9 @@ jobs:
103103 env :
104104 ACTIONS_ALLOW_UNSECURE_COMMANDS : true
105105 MB_PYTHON_VERSION : ${{ matrix.python-version }}
106- NP_TEST_DEP : numpy==1.19.4
107- NP_TEST_DEP_LATEST : numpy==2.2.6
106+ NP_TEST_DEP_OLD : numpy==1.19.4
107+ NP_TEST_DEP : numpy==2.2.6
108+ NP_TEST_DEP_LATEST : numpy==2.5.0
108109 CONFIG_PATH : travis_config.sh
109110 PLAT : ${{ matrix.platform }}
110111 SDIST : ${{ matrix.build_sdist || 0 }}
@@ -116,15 +117,24 @@ jobs:
116117 run : find . -mindepth 1 -delete
117118 working-directory : ${{ github.workspace }}
118119 - name : Checkout
119- uses : actions/checkout@v3
120+ uses : actions/checkout@v7
120121 with :
121122 submodules : true
122123 fetch-depth : 0
123124
124125 - name : Setup Environment variables
125- 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 }}" -o "3.14" == "${{ 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
126+ run : |
127+ if [ "3.8" == "${{ matrix.python-version }}" -o "3.9" == "${{ matrix.python-version }}" ]
128+ then
129+ echo "TEST_DEPENDS=$(echo $NP_TEST_DEP_OLD)" >> $GITHUB_ENV
130+ elif [ "3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ matrix.python-version }}" -o "3.12" == "${{ matrix.python-version }}" -o "3.13" == "${{ matrix.python-version }}" ]
131+ then
132+ echo "TEST_DEPENDS=$(echo $NP_TEST_DEP)" >> $GITHUB_ENV
133+ else
134+ echo "TEST_DEPENDS=$(echo $NP_TEST_DEP_LATEST)" >> $GITHUB_ENV
135+ fi
126136 - name : Download a wheel accordingly to matrix
127- uses : actions/download-artifact@v4
137+ uses : actions/download-artifact@v8
128138 with :
129139 name : wheel-${{ matrix.platform }}-${{ matrix.manylinux }}-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
130140 path : wheelhouse/
@@ -171,7 +181,7 @@ jobs:
171181 echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
172182 fi
173183 - name : Checkout
174- uses : actions/checkout@v3
184+ uses : actions/checkout@v7
175185 with :
176186 submodules : false
177187 fetch-depth : 0
@@ -193,7 +203,7 @@ jobs:
193203 set -x
194204 echo "skipping tests because of sdist"
195205 - name : saving artifacts
196- uses : actions/upload-artifact@v4
206+ uses : actions/upload-artifact@v7
197207 with :
198208 name : wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
199209 path : dist/opencv*.tar.gz
@@ -207,7 +217,7 @@ jobs:
207217 run :
208218 shell : bash
209219 steps :
210- - uses : actions/download-artifact@v4
220+ - uses : actions/download-artifact@v8
211221 with :
212222 path : wheelhouse/
213223
@@ -237,7 +247,7 @@ jobs:
237247 run :
238248 shell : bash
239249 steps :
240- - uses : actions/download-artifact@v4
250+ - uses : actions/download-artifact@v8
241251 with :
242252 path : wheelhouse/
243253
@@ -256,22 +266,22 @@ jobs:
256266 run :
257267 shell : bash
258268 steps :
259- - uses : actions/download-artifact@v4
269+ - uses : actions/download-artifact@v8
260270 with :
261271 path : wheelhouse/
262272 - name : Upload wheels for opencv_python
263273 run : |
264274 python -m pip install twine
265- 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]*
275+ python -m twine upload -u ${{ secrets.OPENCV_PYTHON_USERNAME }} -p ${{ secrets.OPENCV_PYTHON_PASSWORD }} --skip-existing wheelhouse/opencv_python-* wheelhouse/opencv-python-[^h]*
266276 - name : Upload wheels for opencv_contrib_python
267277 run : |
268278 python -m pip install twine
269- 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]*
279+ 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]*
270280 - name : Upload wheels for opencv_python_headless
271281 run : |
272282 python -m pip install twine
273- 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-*
283+ 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-*
274284 - name : Upload wheels for opencv_contrib_python_headless
275285 run : |
276286 python -m pip install twine
277- 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-*
287+ 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-*
0 commit comments