diff --git a/.github/workflows/build_wheels_macos.yml b/.github/workflows/build_wheels_macos.yml index 43f98c7fb0cb8b4693c7fa3ae3cca6ce1119695d..1defd1e5d0acf3e354c3d70e94d2bc98f49151e4 100644 --- a/.github/workflows/build_wheels_macos.yml +++ b/.github/workflows/build_wheels_macos.yml @@ -48,7 +48,6 @@ jobs: SDIST: ${{ matrix.build_sdist || 0 }} ENABLE_HEADLESS: ${{ matrix.without_gui }} ENABLE_CONTRIB: ${{ matrix.with_contrib }} - MACOSX_DEPLOYMENT_TARGET: 10.13 steps: - name: Cleanup run: find . -mindepth 1 -delete diff --git a/README.md b/README.md index bd818bc1619fe6922ee2f4edc804de13c01abd6e..60cdebeafec63486a783de5200e76bd9aa752f9a 100644 --- a/README.md +++ b/README.md @@ -216,11 +216,11 @@ The default ``manylinux2014`` images have been extended with some OpenCV depende Python 3.x compatible pre-built wheels are provided for the officially supported Python versions (not in EOL): -- 3.6 - 3.7 - 3.8 - 3.9 - 3.10 +- 3.11 ### Backward compatibility @@ -228,3 +228,4 @@ Starting from 4.2.0 and 3.4.9 builds the macOS Travis build environment was upda Starting from 4.3.0 and 3.4.10 builds the Linux build environment was updated from `manylinux1` to `manylinux2014`. This dropped support for old Linux distributions. +Starting from version 4.7.0 the Mac OS GitHub Actions build environment was update to version 11. Mac OS 10.x support depricated. See https://github.com/actions/runner-images/issues/5583 diff --git a/pyproject.toml b/pyproject.toml index fa0c3a32232e2f729a009d55cc233cbf3c18a76c..659bbf036fd996b39d2639dec7b1e3dffbd88214 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,7 @@ requires = [ "numpy==1.19.3; python_version<='3.9' and sys_platform == 'linux' and platform_machine == 'aarch64'", "numpy==1.21.0; python_version<='3.9' and sys_platform == 'darwin' and platform_machine == 'arm64'", "numpy==1.19.3; python_version=='3.9' and platform_machine != 'aarch64' and platform_machine != 'arm64'", - "numpy==1.21.2; python_version>='3.10' and platform_system!='Darwin'", - "numpy==1.21.4; python_version>='3.10' and platform_system=='Darwin'" + "numpy==1.21.2; python_version=='3.10' and platform_system!='Darwin'", + "numpy==1.21.4; python_version=='3.10' and platform_system=='Darwin'", + "numpy==1.22.0; python_version>='3.11'" ] diff --git a/setup.py b/setup.py index a5f5fc0ed254157d8ce6596d7dfb01ed6912c0ae..e0e3ed3179e7f82fe9ea5fd84bd6f836cef268fc 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ def main(): 'numpy>=1.19.3; python_version>="3.6" and platform_system=="Linux" and platform_machine=="aarch64"', 'numpy>=1.21.0; python_version<="3.9" and platform_system=="Darwin" and platform_machine=="arm64"', 'numpy>=1.21.4; python_version>="3.10" and platform_system=="Darwin"', + "numpy>=1.22.0; python_version>='3.11'" ] python_version = cmaker.CMaker.get_python_version() @@ -262,7 +263,7 @@ def main(): name=package_name, version=package_version, url="https://github.com/opencv/opencv-python", - license="MIT", + license="Apache 2.0", description="Wrapper package for OpenCV python bindings.", long_description=long_description, long_description_content_type="text/markdown", @@ -279,7 +280,7 @@ def main(): "Intended Audience :: Education", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", + "License :: OSI Approved :: Apache 2.0", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", @@ -292,6 +293,7 @@ def main(): "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: C++", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering",