Skip to content

Commit e3db618

Browse files
committed
[Build] No longer support OpenAssetIO alpha.
With the addition of EntityTraits, this became untenable. Signed-off-by: Elliot Morris <[email protected]>
1 parent d9cc939 commit e3db618

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,19 @@ jobs:
2727
python -m pytest -v ./tests
2828
2929
test:
30-
name: ${{ matrix.os }} ${{ matrix.python }} ${{ matrix.openassetio }}
30+
name: ${{ matrix.os }} ${{ matrix.python }}
3131
runs-on: ${{ matrix.os }}
3232
strategy:
3333
fail-fast: false
3434
matrix:
3535
os: ["windows-latest", "ubuntu-latest", "macos-latest"]
3636
python: ["3.7", "3.9", "3.10"]
37-
# We use a deprecation for demonstrative purposes, so test
38-
# before/after
39-
openassetio: ["\"openassetio==1.0.0a14\"", "\"openassetio>=1.0.0b1.rev0\""]
4037
steps:
4138
- uses: actions/checkout@v4
4239
- uses: actions/setup-python@v5
4340
with:
4441
python-version: ${{ matrix.python }}
4542
- run: |
46-
python -m pip install ${{ matrix.openassetio }}
4743
python -m pip install .
4844
python -m pip install -r tests/requirements.txt
4945
python -m pytest -v ./tests

plugin/my_asset_manager/MyAssetManagerInterface.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,9 @@
1111
# the this class. See the notes under the "Initialization" section of:
1212
# https://openassetio.github.io/OpenAssetIO/classopenassetio_1_1v1_1_1manager_api_1_1_manager_interface.html#details (pylint: disable=line-too-long)
1313
# As such, any expensive module imports should be deferred.
14-
from openassetio import constants, TraitsData, BatchElementError
15-
16-
# TraitsData and BatchElementError got moved with a deprecation. If you
17-
# don't need to support versions prior to beta 1.0, you should use the
18-
# below two imports instead.
19-
# from openassetio.traits import TraitsData
20-
# from openassetio.errors import BatchElementError
14+
from openassetio import constants
15+
from openassetio.trait import TraitsData
16+
from openassetio.errors import BatchElementError
2117
from openassetio.access import PolicyAccess, ResolveAccess, EntityTraitsAccess
2218
from openassetio.managerApi import ManagerInterface
2319
from openassetio_mediacreation.traits.content import LocatableContentTrait

0 commit comments

Comments
 (0)