Skip to content

Commit c8e9742

Browse files
Add Python 3.10 to CI
1 parent f74081b commit c8e9742

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

.github/workflows/python-package.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
strategy:
8484
matrix:
8585
os: [ubuntu-latest, windows-latest, macos-latest]
86-
python-version: ['2.7', '3.7', '3.8', '3.9']
86+
python-version: ['2.7', '3.7', '3.8', '3.9', '3.10']
8787

8888
env:
8989
OTIO_CXX_COVERAGE_BUILD: ON
@@ -133,7 +133,7 @@ jobs:
133133
strategy:
134134
matrix:
135135
os: [ubuntu-latest, windows-latest, macos-latest]
136-
python-build: [cp27*, cp37*, cp38*, cp39*]
136+
python-build: ['cp27*', 'cp37*', 'cp38*', 'cp39*', 'cp310*']
137137
steps:
138138
- uses: actions/checkout@v3
139139

@@ -153,13 +153,26 @@ jobs:
153153
echo "DISTUTILS_USE_SDK=1" >> $GITHUB_ENV
154154
echo "MSSdk=1" >> $GITHUB_ENV
155155
156-
- name: Build wheels
156+
- name: Build wheels (Python 2.7)
157+
if: matrix.python-build == 'cp27*'
158+
# cibuildwheel 1.12.0 is the last release that supported Python 2.7.
157159
uses: pypa/[email protected]
158160
with:
159161
output-dir: wheelhouse
160162
env:
161163
CIBW_BUILD: ${{ matrix.python-build }}
162164

165+
- name: Build wheels (Python 3)
166+
uses: pypa/[email protected]
167+
if: matrix.python-build != 'cp27*'
168+
with:
169+
output-dir: wheelhouse
170+
env:
171+
CIBW_BUILD: ${{ matrix.python-build }}
172+
CIBW_SKIP: '*musllinux*'
173+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010
174+
CIBW_MANYLINUX_I686_IMAGE: manylinux2010
175+
163176
- uses: actions/upload-artifact@v2
164177
with:
165178
name: wheels

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ OpenTimelineIO
44
==============
55

66
[![Supported VFX Platform Versions](https://img.shields.io/badge/vfx%20platform-2018--2021-lightgrey.svg)](http://www.vfxplatform.com/)
7-
![Supported Versions](https://img.shields.io/badge/python-2.7%2C%203.7%2C%203.8%2C%203.9-blue)
7+
![Supported Versions](https://img.shields.io/badge/python-2.7%2C%203.7%2C%203.8%2C%203.9%2C%203.10-blue)
88
[![Build Status](https://github.com/PixarAnimationStudios/OpenTimelineIO/actions/workflows/python-package.yml/badge.svg)](https://github.com/PixarAnimationStudios/OpenTimelineIO/actions/workflows/python-package.yml)
99
[![codecov](https://codecov.io/gh/PixarAnimationStudios/OpenTimelineIO/branch/main/graph/badge.svg)](https://codecov.io/gh/PixarAnimationStudios/OpenTimelineIO)
1010
[![docs](https://readthedocs.org/projects/opentimelineio/badge/?version=latest)](https://opentimelineio.readthedocs.io/en/latest/index.html)
@@ -52,8 +52,7 @@ Supported VFX Platforms
5252
-----------------
5353
The current release supports:
5454
- VFX platform 2021, 2020, 2019, 2018
55-
- Python 2.7 - 3.9
56-
- Notice that Python 2.7 is deprecated & we plan to drop it in OTIO release 0.15
55+
- Python 2.7 - 3.10
5756

5857
For more information on our vfxplatform support policy: [Contribution Guidelines Documentation Page](https://opentimelineio.readthedocs.io/en/latest/tutorials/contributing.html)
5958
For more information on the vfxplatform: [VFX Platform Homepage](https://vfxplatform.com)

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ def test_otio():
290290
'Programming Language :: Python :: 3.7',
291291
'Programming Language :: Python :: 3.8',
292292
'Programming Language :: Python :: 3.9',
293+
'Programming Language :: Python :: 3.10',
293294
'Operating System :: OS Independent',
294295
'Natural Language :: English',
295296
],

0 commit comments

Comments
 (0)