10000 [pull] master from opencv:master by pull[bot] · Pull Request #5 · Adsryen/opencv-python · GitHub
[go: up one dir, main page]

Skip to content

[pull] master from opencv:master #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 93 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
eb0efe2
Readme update after migration to Github Actions for CI.
asmorkalov Jul 16, 2021
c1cc7e5
Merge pull request #515 from asmorkalov/as/docs_update_actions
sergregory Jul 23, 2021
ecd163d
fix typo in Readme
Skylion007 Sep 17, 2021
f07201c
Merge pull request #545 from Skylion007/patch-1
asmorkalov Sep 20, 2021
5fedf82
Added the lapack installation
asenyaev Sep 21, 2021
3c1ea44
Changed blas to openblas and fixed flow to a proper installation
Oct 1, 2021
40e0e3b
Fixed aarch64 openblas installation
Oct 1, 2021
1d6e034
Fixed an issue when machine:X86 was defined on Windows x64
Oct 1, 2021
76a6fb2
Added fix for MacOS with M1
Oct 6, 2021
3f01089
Removed env variables and defined CI_BUILD variable globally
Oct 6, 2021
4b49e0b
Merge pull request #555 from asenyaev/asen/fix_macos_m1
asenyaev Oct 7, 2021
80f0790
Merge pull request #547 from asenyaev/asen/lapack_issue
asenyaev Oct 7, 2021
d82a270
Updated Github Actions to python 3.10 and fixed following issues
Oct 7, 2021
0114953
Fixed the version of numpy for linux aarch64 and python3.6
Oct 8, 2021
9f43c0b
Changed the image for tests on linux arm
Oct 8, 2021
4d0f6d2
Fixed if condition for numpy test version on linux arm and renamed nu…
Oct 9, 2021
fdcbcb1
Added lowest numpy version support instead of latest
Oct 9, 2021
51226a7
Travis CI seems to be on vacation
cclauss Oct 11, 2021
5c81cda
Fix typo in Readme
andruekonst Oct 13, 2021
69be49c
Merge pull request #556 from asenyaev/asen/upgrade_to_python_3_10
asenyaev Oct 15, 2021
85b9bc5
Merge pull request #558 from cclauss/patch-2
asenyaev Oct 15, 2021
6a1f61b
Updated submodules to the release 4.5.4, added python loader support,…
asenyaev Oct 15, 2021
545fe24
Added comments for new changes
asenyaev Oct 15, 2021
7e67ab5
"Programming Language :: Python :: 3.10",
cclauss Oct 16, 2021
851182f
Removed useless lines and added replacing lines into init file
asenyaev Oct 18, 2021
a0f47e9
Merge pull request #563 from asenyaev/asen/python_loader_support
asenyaev Oct 20, 2021
3cd06d9
Merge pull request #565 from cclauss/patch-2
asenyaev Oct 20, 2021
84bfd76
Merge pull request #561 from andruekonst/patch-1
asenyaev Oct 20, 2021
810ca4e
Fixed a build from the source
asenyaev Nov 1, 2021
28eb5bf
Updated attached commit for opencv repository
asenyaev Nov 1, 2021
012f556
Added 3.10 python version in the description
asenyaev Nov 1, 2021
a25a2a8
Added lines for a proper work using pylint and an autocomplete in IDE
Nov 3, 2021
e7ce051
Use PEP-508 compliant dependency specifiers
amyreese Nov 3, 2021
f46eabb
Moving to auditwheel==5.0.0 (default in the latest manylinux image)
asenyaev Nov 7, 2021
2188a44
Fix typos
kianmeng Nov 8, 2021
9a7af2a
Changed defining path to scripts/__init__.py file
asenyaev Nov 8, 2021
e231f08
Merge pull request #578 from asenyaev/asen/update_submodules_for_release
asenyaev Nov 8, 2021
7052ed7
Merge pull request #582 from kianmeng/fix-typos
asenyaev Nov 8, 2021
69a9a93
Merge pull request #581 from asenyaev/asen/upgrade_auditwheel
asenyaev Nov 9, 2021
b6e1ec8
Fixed imports for a proper package work
Nov 9, 2021
7319276
Merge pull request #577 from asenyaev/asen/fix_build_from_source
asenyaev Nov 10, 2021
8cb031a
Changed a string substitution to os.path.join
asenyaev Nov 12, 2021
053e8cc
Merge pull request #579 from asenyaev/asen/fix_pylin_and_pycharm
asenyaev Nov 17, 2021
8f763b1
Delete appveyor.yml
cclauss Nov 26, 2021
53e5ed3
Merge pull request #580 from jreese/patch-1
asenyaev Nov 29, 2021
d0ebd71
Merge pull request #590 from cclauss/patch-4
asenyaev Dec 3, 2021
040dc8d
Added python limited API support
asenyaev Dec 15, 2021
fd3bf88
Merge pull request #595 from asenyaev/asen/python_limited_api
asenyaev Dec 15, 2021
edd6b14
Changed a path to config-X.py file after python limited API support, …
asenyaev Dec 15, 2021
c1ca98c
Merge pull request #596 from asenyaev/asen/config_version
asenyaev Dec 16, 2021
cc12af6
Updated commits to 4.5.5 release
asenyaev Dec 25, 2021
ec7b7e4
Added openexr build flag
asenyaev Dec 26, 2021
569acce
Merge pull request #598 from asenyaev/asen/4.5.5_release
asenyaev Dec 27, 2021
0a17e6c
Updated dependencies to the latest releases (openssl and ffmpeg) in a…
asenyaev Jan 24, 2022
0066feb
Added versions of dependecies as arguments in dockerfiles
asenyaev Jan 25, 2022
209d32e
Merge pull request #617 from asenyaev/asen/update_dockerfile
asenyaev Jan 25, 2022
700cb00
Defined static version of windows server
asenyaev Mar 3, 2022
141a763
Updated MSBuild action
asenyaev Mar 3, 2022
602a8be
Defined ffmpeg version for macos (4.4.1) and fixed MacOS build
asenyaev Mar 3, 2022
8880543
Merge pull request #632 from asenyaev/asen/fix_current_builds
asenyaev Mar 4, 2022
9de011e
Added pylint test
asenyaev Mar 22, 2022
1e26c5d
Pinned pylint version
asenyaev Mar 23, 2022
ed16e8e
Changed using custom test for pylint to opencv sample
asenyaev Mar 23, 2022
623401a
Merge pull request #638 from asenyaev/asen/pylint_test
asenyaev Mar 24, 2022
3a4c30e
Added pre-downloaded 3rdparty files to source packages
asenyaev Mar 24, 2022
65f12d9
Merge pull request #639 from asenyaev/asen/pre_downloaded_files
asenyaev Mar 25, 2022
7ba53fc
Revert changes for pre-downloaded files
asenyaev Mar 25, 2022
ad01042
Skip only gapi if it was not found
asenyaev Mar 25, 2022
9ad778e
Merge pull request #641 from asenyaev/asen/revert_pre_downloaded_files
asenyaev Mar 25, 2022
f68be38
Skip only gapi if it was not found
asenyaev Mar 25, 2022
cd0476f
Merge branch 'asen/skip_gapi' of https://github.com/asenyaev/opencv-p…
asenyaev Mar 25, 2022
96cffde
Synchronize with scikit-build
Mar 21, 2022
0eb6c12
Merge pull request #642 from asenyaev/asen/skip_gapi
asenyaev Mar 28, 2022
7419f58
add support for building windows/arm64 package
niyas-sait Mar 28, 2022
056f900
Merge pull request #637 from orbisvicis/master
asenyaev Apr 7, 2022
4b068fc
Pinned versions for dependencies
asenyaev Apr 7, 2022
f89dca7
Downgraded cmake version
asenyaev Apr 8, 2022
443b747
Downgraded cmake version to 3.1
asenyaev Apr 8, 2022
8f2049e
Merge pull request #652 from asenyaev/asen/pinned_dependencies
asenyaev Apr 8, 2022
5de8d66
Merge pull request #644 from nsait-linaro/windows-arm64
asmorkalov Apr 12, 2022
3ac27ad
Updated dependecies for the next release
asenyaev May 30, 2022
4f8289d
Updated dependecies for the next release
asenyaev May 31, 2022
f2f924c
Merge pull request #666 from asenyaev/asen/update_all_dependencies
asmorkalov May 31, 2022
9ec924e
Updated submodules to the latest commits
asenyaev May 31, 2022
df365e5
Check changes on 3.4 branch in PRs
asenyaev May 31, 2022
5633cf3
Removed unused lines
asenyaev May 31, 2022
04b1a52
Updated submodules to 4.6.0 release
asenyaev Jun 5, 2022
b45a6a9
Merge pull request #668 from asenyaev/asen/check_latest_commits_4.x
asenyaev Jun 6, 2022
8d04505 8000
Changed format of an archive for source packages
asenyaev Jun 8, 2022
009743d
Merge pull request #672 from asenyaev/asen/change_format_for_source_p…
asmorkalov Jun 10, 2022
54473f1
Updated multibuild to upgrade default 64-bit test image to focal
radarhere Jun 24, 2022
fcc900e
Merge pull request #684 from radarhere/multibuild
asenyaev Jun 24, 2022
4638ce5
Changed labeles for macOS ARM64 and Linux ARM64 builds (#681)
asenyaev Jul 4, 2022
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
119 changes: 66 additions & 53 deletions .github/workflows/build_wheels_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- master
- 3.4
paths-ignore:
- '.github/workflows/build_wheels_linux_arm.yml'
- '.github/workflows/build_wheels_windows*'
Expand All @@ -14,21 +15,18 @@ on:

jobs:
build:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-20.04
defaults:
run:
shell: bash

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ['3.6']
platform: [x64]
with_contrib: [0, 1]
without_gui: [0, 1]
build_sdist: [0]

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
REPO_DIR: .
Expand All @@ -37,64 +35,93 @@ jobs:
MB_PYTHON_VERSION: ${{ matrix.python-version }}
TRAVIS_PYTHON_VERSION: ${{ matrix.python-version }}
MB_ML_VER: 2014
NP_TEST_DEP: numpy==1.19.4
TRAVIS_BUILD_DIR: ${{ github.workspace }}
CONFIG_PATH: travis_config.sh
DOCKER_IMAGE: quay.io/skvark/manylinux2014_${PLAT}
USE_CCACHE: 1
DOCKER_IMAGE: quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20220628
USE_CCACHE: 0
UNICODE_WIDTH: 32
PLAT: x86_64
SDIST: ${{ matrix.build_sdist || 0 }}
ENABLE_HEADLESS: ${{ matrix.without_gui }}
ENABLE_CONTRIB: ${{ matrix.with_contrib }}

steps:
- name: Cleanup
run: find . -mindepth 1 -delete
working-directory: ${{ github.workspace }}
- name: Checkout
uses: actions/checkout@v2
with:
submodules: false
fetch-depth: 0

- name: Update submodules
if: github.event_name == 'pull_request'
run: git submodule update --remote

- name: Setup Environment variables
run: |
if [ "schedule" == "${{ github.event_name }}" ]; then echo "TRAVIS_EVENT_TYPE=cron" >> $GITHUB_ENV; else echo "TRAVIS_EVENT_TYPE=${{ github.event_name }}" >> $GITHUB_ENV; fi
if [ "schedule" == "${{ github.event_name }}" ]; then echo "BUILD_COMMIT=master" >> $GITHUB_ENV; else echo "BUILD_COMMIT=$BUILD_COMMIT" >> $GITHUB_ENV; fi
if [ "x64" == "${{ matrix.platform }}" ]; then echo "PLAT=x86_64" >> $GITHUB_ENV; fi
echo "BUILD_DEPENDS=$(echo $NP_BUILD_DEP)" >> $GITHUB_ENV;
echo "TEST_DEPENDS=$(echo $NP_TEST_DEP)" >> $GITHUB_ENV;

- name: build
- name: Build a package
run: source scripts/build.sh

- name: install and test
run: source scripts/install.sh

- name: saving artifacts
- name: Saving all wheels
uses: actions/upload-artifact@v2
with:
name: wheels
path: wheelhouse/opencv*.whl
- name: Saving a wheel accordingly to matrix
uses: actions/upload-artifact@v2
with:
name: wheel-${{ matrix.with_contrib }}-${{ matrix.without_gui }}-${{ matrix.build_sdist }}
path: wheelhouse/opencv*.whl

test:
needs: [build]
runs-on: ubuntu-20.04
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
platform: [x64]
with_contrib: [0, 1]
without_gui: [0, 1]
build_sdist: [0]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
MB_PYTHON_VERSION: ${{ matrix.python-version }}
NP_TEST_DEP: numpy==1.19.4
NP_TEST_DEP_LATEST: numpy==1.21.2
CONFIG_PATH: travis_config.sh
PLAT: x86_64
steps:
- name: Cleanup
run: find . -mindepth 1 -delete
working-directory: ${{ github.workspace }}
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: Setup Environment variables
run: if [ "3.10" == "${{ 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@v2
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: ${{ matrix.os }}
runs-on: ubuntu-20.04
defaults:
run:
shell: bash

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.8]
platform: [x64]
with_contrib: [0, 1]
without_gui: [0, 1]
build_sdist: [1]

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
REPO_DIR: .
Expand All @@ -107,50 +134,41 @@ jobs:
NP_TEST_DEP: numpy==1.19.4
TRAVIS_BUILD_DIR: ${{ github.workspace }}
CONFIG_PATH: travis_config.sh
DOCKER_IMAGE: quay.io/skvark/manylinux2014_${PLAT}
DOCKER_IMAGE: quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20220628
USE_CCACHE: 1
UNICODE_WIDTH: 32
SDIST: ${{ matrix.build_sdist || 0 }}
ENABLE_HEADLESS: ${{ matrix.without_gui || 0 }}
ENABLE_CONTRIB: ${{ matrix.with_contrib || 0 }}

steps:
- name: Cleanup
run: find . -mindepth 1 -delete
working-directory: ${{ github.workspace }}
- name: Checkout
uses: actions/checkout@v2
with:
submodules: false
fetch-depth: 0

- name: Update submodules
if: github.event_name == 'pull_request'
run: git submodule update --remote

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.platform }}

- name: Setup Environment variables
run: |
if [ "schedule" == "${{ github.event_name }}" ]; then echo "TRAVIS_EVENT_TYPE=cron" >> $GITHUB_ENV; else echo "TRAVIS_EVENT_TYPE=${{ github.event_name }}" >> $GITHUB_ENV; fi
if [ "schedule" == "${{ github.event_name }}" ]; then echo "BUILD_COMMIT=master" >> $GITHUB_ENV; else echo "BUILD_COMMIT=$BUILD_COMMIT" >> $GITHUB_ENV; fi
echo "BUILD_DEPENDS=$(echo $NP_BUILD_DEP)" >> $GITHUB_ENV;
echo "TEST_DEPENDS=$(echo $NP_TEST_DEP)" >> $GITHUB_ENV;

- name: before install
- name: Build a package
run: |
set -e
# Build and package
set -x
python -m pip install --upgrade pip
python -m pip install scikit-build
python setup.py sdist
python setup.py sdist --formats=gztar
set +x
# Install and run tests
set -x
echo "skipping tests because of sdist"

- name: saving artifacts
uses: actions/upload-artifact@v2
with:
Expand All @@ -159,8 +177,8 @@ jobs:

test_release_opencv_python:
if: github.event_name == 'release' && github.event.release.prerelease
needs: [build, build_sdist]
runs-on: ubuntu-latest
needs: [build, build_sdist, test]
runs-on: ubuntu-20.04
environment: test-opencv-python-release
defaults:
run:
Expand All @@ -170,16 +188,15 @@ jobs:
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-*

release_opencv_python:
if: github.event_name == 'release' && !github.event.release.prerelease
needs: [build, build_sdist]
runs-on: ubuntu-latest
needs: [build, build_sdist, test]
runs-on: ubuntu-20.04
environment: opencv-python-release
defaults:
run:
Expand All @@ -189,22 +206,18 @@ jobs:
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]*

- 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]*

- 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-*

- name: Upload wheels for opencv_contrib_python_headless
run: |
python -m pip install twine
Expand Down
Loading
0