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:
27
27
python -m pytest -v ./tests
28
28
29
29
test :
30
- name : ${{ matrix.os }} ${{ matrix.python }} ${{ matrix.openassetio }}
30
+ name : ${{ matrix.os }} ${{ matrix.python }}
31
31
runs-on : ${{ matrix.os }}
32
32
strategy :
33
33
fail-fast : false
34
34
matrix :
35
35
os : ["windows-latest", "ubuntu-latest", "macos-latest"]
36
36
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\""]
40
37
steps :
41
38
- uses : actions/checkout@v4
42
39
- uses : actions/setup-python@v5
43
40
with :
44
41
python-version : ${{ matrix.python }}
45
42
- run : |
46
- python -m pip install ${{ matrix.openassetio }}
47
43
python -m pip install .
48
44
python -m pip install -r tests/requirements.txt
49
45
python -m pytest -v ./tests
Original file line number Diff line number Diff line change 11
11
# the this class. See the notes under the "Initialization" section of:
12
12
# https://openassetio.github.io/OpenAssetIO/classopenassetio_1_1v1_1_1manager_api_1_1_manager_interface.html#details (pylint: disable=line-too-long)
13
13
# 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
21
17
from openassetio .access import PolicyAccess , ResolveAccess , EntityTraitsAccess
22
18
from openassetio .managerApi import ManagerInterface
23
19
from openassetio_mediacreation .traits .content import LocatableContentTrait
You can’t perform that action at this time.
0 commit comments