diff --git a/.github/workflows/wheel_workflow.yml b/.github/workflows/wheel_workflow.yml index f7055b1841..9db00dec80 100644 --- a/.github/workflows/wheel_workflow.yml +++ b/.github/workflows/wheel_workflow.yml @@ -78,29 +78,8 @@ jobs: matrix: include: # ------------------------------------------------------------------- - # CPython 32 bits - # ------------------------------------------------------------------- - - build: CPython 3.6 32 bits - python: cp36-manylinux* - arch: i686 - - build: CPython 3.7 32 bits - python: cp37-manylinux* - arch: i686 - - build: CPython 3.8 32 bits - python: cp38-manylinux* - arch: i686 - - build: CPython 3.9 32 bits - python: cp39-manylinux* - arch: i686 - - build: CPython 3.10 32 bits - python: cp310-manylinux* - arch: i686 - # ------------------------------------------------------------------- # CPython 64 bits # ------------------------------------------------------------------- - - build: CPython 3.6 64 bits - python: cp36-manylinux* - arch: x86_64 - build: CPython 3.7 64 bits python: cp37-manylinux* arch: x86_64 @@ -113,12 +92,12 @@ jobs: - build: CPython 3.10 64 bits python: cp310-manylinux* arch: x86_64 + - build: CPython 3.11 64 bits + python: cp311-manylinux* + arch: x86_64 # ------------------------------------------------------------------- # CPython ARM 64 bits # ------------------------------------------------------------------- - - build: CPython 3.6 ARM 64 bits - python: cp36-manylinux* - arch: aarch64 - build: CPython 3.7 ARM 64 bits python: cp37-manylinux* arch: aarch64 @@ -131,6 +110,9 @@ jobs: - build: CPython 3.10 ARM 64 bits python: cp310-manylinux* arch: aarch64 + - build: CPython 3.11 ARM 64 bits + python: cp311-manylinux* + arch: aarch64 steps: - uses: actions/checkout@v2 @@ -146,7 +128,7 @@ jobs: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.3.1 + uses: pypa/cibuildwheel@v2.11.2 env: CIBW_BUILD: ${{ matrix.python }} CIBW_ARCHS: ${{ matrix.arch }} @@ -172,9 +154,6 @@ jobs: # ------------------------------------------------------------------- # CPython 64 bits # ------------------------------------------------------------------- - - build: CPython 3.6 64 bits - python: cp36-* - arch: x86_64 - build: CPython 3.7 64 bits python: cp37-* arch: x86_64 @@ -187,18 +166,24 @@ jobs: - build: CPython 3.10 64 bits python: cp310-* arch: x86_64 + - build: CPython 3.11 64 bits + python: cp311-* + arch: x86_64 # ------------------------------------------------------------------- # CPython ARM 64 bits # ------------------------------------------------------------------- - build: CPython 3.8 ARM 64 bits python: cp38-* - arch: universal2 + arch: arm64 - build: CPython 3.9 ARM 64 bits python: cp39-* - arch: universal2 + arch: arm64 - build: CPython 3.10 ARM 64 bits python: cp310-* - arch: universal2 + arch: arm64 + - build: CPython 3.11 ARM 64 bits + python: cp311-* + arch: arm64 steps: - uses: actions/checkout@v2 @@ -209,7 +194,7 @@ jobs: python-version: '3.8' - name: Build wheels - uses: pypa/cibuildwheel@v2.3.1 + uses: pypa/cibuildwheel@v2.11.2 env: CIBW_BUILD: ${{ matrix.python }} CIBW_ARCHS: ${{ matrix.arch }} @@ -233,29 +218,8 @@ jobs: matrix: include: # ------------------------------------------------------------------- - # CPython 32 bits - # ------------------------------------------------------------------- - - build: CPython 3.6 32 bits - python: cp36-* - arch: x86 - - build: CPython 3.7 32 bits - python: cp37-* - arch: x86 - - build: CPython 3.8 32 bits - python: cp38-* - arch: x86 - - build: CPython 3.9 32 bits - python: cp39-* - arch: x86 - - build: CPython 3.10 32 bits - python: cp310-* - arch: x86 - # ------------------------------------------------------------------- # CPython 64 bits # ------------------------------------------------------------------- - - build: CPython 3.6 64 bits - python: cp36-* - arch: AMD64 - build: CPython 3.7 64 bits python: cp37-* arch: AMD64 @@ -268,6 +232,9 @@ jobs: - build: CPython 3.10 64 bits python: cp310-* arch: AMD64 + - build: CPython 3.11 64 bits + python: cp311-* + arch: AMD64 steps: - uses: actions/checkout@v2 @@ -278,7 +245,7 @@ jobs: python-version: '3.8' - name: Build wheels - uses: pypa/cibuildwheel@v2.3.1 + uses: pypa/cibuildwheel@v2.11.2 env: CIBW_BUILD: ${{ matrix.python }} CIBW_ARCHS: ${{ matrix.arch }} diff --git a/pyproject.toml b/pyproject.toml index 16a1ea6420..69672a6df7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,3 @@ - -[project] -requires-python = ">=2.7, >=3.6" - [build-system] requires = [ "setuptools>=42", diff --git a/setup.cfg b/setup.cfg index 73a8019d89..4dc522be8a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,12 +6,14 @@ classifiers = Intended Audience :: Developers Topic :: Software Development :: Libraries :: Python Modules Programming Language :: C++ + Programming Language :: Python :: 2 + Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Programming Language :: Python :: Implementation :: CPython Programming Language :: C++ description = OpenColorIO (OCIO) is a complete color management solution geared towards motion picture production with an emphasis on visual effects and computer animation. @@ -20,6 +22,7 @@ license_files = LICENSE long_description = file: README.md, LICENSE long_description_content_type = text/markdown name = opencolorio +python_requires = '>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*' url = https://opencolorio.org/ [options]