Skip to content
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

Add Python 3.11 wheels #1706

Merged
merged 7 commits into from
Oct 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
75 changes: 21 additions & 54 deletions .github/workflows/wheel_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand Down
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@

[project]
requires-python = ">=2.7, >=3.6"

[build-system]
requires = [
"setuptools>=42",
Expand Down
5 changes: 4 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
remia marked this conversation as resolved.
Show resolved Hide resolved
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.
Expand All @@ -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]
Expand Down