Skip to content

Commit

Permalink
Prepare for 0.17.0 release of OTIO core
Browse files Browse the repository at this point in the history
* Removed create_draft_release.yaml (#5)
* Use 0.17.0.dev1 as dependency in pyproject.toml
* Updated ci.yaml to use --pre release of 0.17.0 and main
* Updated ci.yaml github-action versions
* Updated README.md

Signed-off-by: apetrynet <[email protected]>
  • Loading branch information
apetrynet committed Jun 13, 2024
1 parent b6c33ae commit 675da26
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 51 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,17 @@ jobs:

strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
otio-version: [ "extract_adapters" ]
# TODO Once we have landed extracted adapters we replace otio-version
#otio-version: ["0.15.0", "main"]
# We exclude this combination as it's not supported on all
# platforms at the time of this commit
exclude:
- python-version: "3.11"
otio-version: "0.15.0"
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
otio-version: [ "0.17.0", "main" ]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -48,10 +41,8 @@ jobs:
python -m pip install --upgrade pip
if [[ "${{ matrix.otio-version }}" == "main" ]]; then
pip install "git+https://github.com/AcademySoftwareFoundation/OpenTimelineIO.git"
elif [[ "${{ matrix.otio-version }}" == "extract_adapters" ]]; then
pip install "git+https://github.com/AcademySoftwareFoundation/OpenTimelineIO.git@${{ matrix.otio-version }}"
else
pip install -V OpenTimelineIO==${{ matrix.otio-version }}
pip install OpenTimelineIO>=${{ matrix.otio-version }} --pre --only-binary :all:
fi
pip install flake8 pytest pytest-cov
shell: bash
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/create_draft_release.yaml

This file was deleted.

9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# OpenTimelineIO Maya Sequencer Adapter
[![Build Status](https://github.com/OpenTimelineIO/otio-maya-sequencer-adapter/actions/workflows/ci.yaml/badge.svg)](https://github.com/OpenTimelineIO/otio-maya-sequencer-adapter/actions/workflows/ci.yaml)
![Dynamic YAML Badge](https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fraw.githubusercontent.com%2FOpenTimelineIO%2Fotio-maya-sequencer-adapter%2Fmain%2F.github%2Fworkflows%2Fci.yaml&query=%24.jobs%5B%22test-plugin%22%5D.strategy.matrix%5B%22otio-version%22%5D&label=OpenTimelineIO)
![Dynamic YAML Badge](https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fraw.githubusercontent.com%2FOpenTimelineIO%2Fotio-maya-sequencer-adapter%2Fmain%2F.github%2Fworkflows%2Fci.yaml&query=%24.jobs%5B%22test-plugin%22%5D.strategy.matrix%5B%22python-version%22%5D&label=Python)

The `maya_sequencer` adapter is part of OpenTimelineIO's contrib adapter plugins.
Set the ${OTIO_MAYA_PYTHON_BIN} environment variable to point the location of `mayapy` within the maya installation.
Expand All @@ -11,10 +14,12 @@ Please see the [LICENSE](LICENSE) for details.
Nothing in the license file or this project grants any right to use Pixar or
any other contributor’s trade names, trademarks, service marks, or product names.

## Contributions
# Contributions

If you want to contribute to the project,
please see: https://opentimelineio.readthedocs.io/en/latest/tutorials/contributing.html
please see: https://opentimelineio.readthedocs.io/en/latest/tutorials/contributing.html
Please also read up on [testing your code](https://github.com/OpenTimelineIO/otio-plugin-template#testing-your-plugin-during-development)
in the "getting started" section of the OpenTimelineIO plugin template repository.

# Contact

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license = { file="LICENSE" }
readme = "README.md"
requires-python = ">=3.7"
dependencies = [
"opentimelineio >= 0.15.0"
"opentimelineio >= 0.17.0.dev1"
]

classifiers = [
Expand All @@ -31,6 +31,7 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"Natural Language :: English"
]
Expand Down

0 comments on commit 675da26

Please sign in to comment.