File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
2117from openassetio .access import PolicyAccess , ResolveAccess , EntityTraitsAccess
2218from openassetio .managerApi import ManagerInterface
2319from openassetio_mediacreation .traits .content import LocatableContentTrait
You can’t perform that action at this time.
0 commit comments