-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Sets VFX platform supported years as 2022, 2021, and 2020 * Removes Python2.7 support from the library * Removes Python2.7 build matrix lines from CI/github actions * updates setup.py project metadata to drop 2.7 from versions * modernizes to python3 patterns by running pyupgrade --py37-plus Signed-off-by: Stephan Steinbach <[email protected]> Co-authored-by: ssteinbach <[email protected]> Co-authored-by: Jean-Christophe Morin <[email protected]>
- Loading branch information
1 parent
238e64c
commit 41ceb58
Showing
91 changed files
with
1,005 additions
and
1,163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,7 +87,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
python-version: ['2.7', '3.7', '3.8', '3.9', '3.10'] | ||
python-version: ['3.7', '3.8', '3.9', '3.10'] | ||
include: | ||
- { os: ubuntu-latest, shell: bash } | ||
- { os: macos-latest, shell: bash } | ||
|
@@ -130,9 +130,6 @@ jobs: | |
- name: Install python build dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel "flake8>=3.5" check-manifest | ||
- name: install mock for python 2.7 tests only | ||
if: matrix.python-version == 2.7 | ||
run: python -m pip install --upgrade mock | ||
- name: Run check-manifest and lint check | ||
run: make ci-prebuild | ||
- name: Build and Install | ||
|
@@ -172,22 +169,6 @@ jobs: | |
# by CMake. CMake is able to find the right toolchain, thanks to | ||
# the -A argument that we specify in the setup.py to set the | ||
# target platform (x86, x64, etc). | ||
- name: Set Windows Python 2.7 environment variables | ||
if: matrix.python-build == 'cp27*' && runner.os == 'Windows' | ||
shell: bash | ||
run: | | ||
echo "DISTUTILS_USE_SDK=1" >> $GITHUB_ENV | ||
echo "MSSdk=1" >> $GITHUB_ENV | ||
- name: Build wheels (Python 2.7) | ||
if: matrix.python-build == 'cp27*' | ||
# cibuildwheel 1.12.0 is the last release that supported Python 2.7. | ||
uses: pypa/[email protected] | ||
with: | ||
output-dir: wheelhouse | ||
env: | ||
CIBW_BUILD: ${{ matrix.python-build }} | ||
|
||
- name: Build wheels (Python 3) | ||
uses: pypa/[email protected] | ||
if: matrix.python-build != 'cp27*' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ OpenTimelineIO | |
[](http://opentimeline.io) | ||
============== | ||
|
||
[](http://www.vfxplatform.com/) | ||
 | ||
[](http://www.vfxplatform.com/) | ||
 | ||
[](https://github.com/AcademySoftwareFoundation/OpenTimelineIO/actions/workflows/python-package.yml) | ||
[](https://codecov.io/gh/AcademySoftwareFoundation/OpenTimelineIO) | ||
[](https://opentimelineio.readthedocs.io/en/latest/index.html) | ||
|
@@ -54,8 +54,8 @@ Documentation, including quick start, architecture, use cases, API docs, and muc | |
Supported VFX Platforms | ||
----------------- | ||
The current release supports: | ||
- VFX platform 2022, 2021, 2020, 2019 | ||
- Python 2.7 - 3.10 | ||
- VFX platform 2023, 2022, 2021, 2020 | ||
- Python 3.7 - 3.10 | ||
|
||
For more information on our vfxplatform support policy: [Contribution Guidelines Documentation Page](https://opentimelineio.readthedocs.io/en/latest/tutorials/contributing.html) | ||
For more information on the vfxplatform: [VFX Platform Homepage](https://vfxplatform.com) | ||
|
@@ -155,8 +155,8 @@ You can also install the PySide2 dependency with `python -m pip install .[view]` | |
|
||
You may need to escape the `[` depending on your shell, `\[view\]` . | ||
|
||
Currently the code base is written against python 2.7, 3.7, 3.8 and 3.9, | ||
in keeping with the pep8 style. We ask that before developers submit pull | ||
Currently the code base is written against python 3.7, 3.8, 3.9, and 3.10, in | ||
keeping with the pep8 style. We ask that before developers submit pull | ||
request, they: | ||
|
||
- run `make test` -- to ensure that none of the unit tests were broken | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.