Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# tests/requirements.txt specifies a range. Also see
# build_openassetio action.
run: |
python -m pip install openassetio==1.0.0rc1.rev0
python -m pip install openassetio==1.0.2
python -m pip install -r requirements.txt
python -m pip install -r tests/requirements.txt

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['windows-2022', 'ubuntu-22.04', 'macos-15-intel']
python: ["3.10", "3.11"]
os: ['windows-2022', 'ubuntu-22.04', 'macos-15']
python: ["3.10", "3.11", "3.12"]
Comment thread
feltech marked this conversation as resolved.
steps:
- uses: actions/checkout@v7

Expand All @@ -29,7 +29,7 @@ jobs:
# tests/requirements.txt specifies a range. Also see
# build_openassetio action.
- run: |
python -m pip install openassetio==1.0.0rc1.rev0
python -m pip install openassetio==1.0.2
python -m pip install -r tests/requirements.txt
python -m pip install .
- name: Test
Expand Down
9 changes: 9 additions & 0 deletions RELEASE_NOTES.md
Comment thread
feltech marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Release Notes
=============

v1.0.0-alpha.14
--------------

### Bug fixes

- Bumped `pyyaml` version from `6.0.0` to `6.0.3` since Conan restrictions
first added in v1.0.0-alpha.7 are no longer present and 6.0.0 is not
compatible with Python 3.12+.

v1.0.0-alpha.13
--------------

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
name = "openassetio-traitgen"
version = "1.0.0a13"
requires-python = ">=3.10"
dependencies = ["jinja2==3.1.6", "pyyaml==6.0.0", "jsonschema==4.7.2"]
dependencies = ["jinja2==3.1.6", "pyyaml==6.0.3", "jsonschema==4.7.2"]

authors = [
{ name = "Contributors to the OpenAssetIO project", email = "openassetio-discussion@lists.aswf.io" }
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# This allows them to be collected/installed prior to build if
# required.
jinja2==3.1.6
pyyaml==6.0.0 # We are currently constrained to pyyaml=6.0.0 exactly due to conan 1.60.1
pyyaml==6.0.3
jsonschema==4.7.2
2 changes: 1 addition & 1 deletion tests/ctest-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake==3.25.2 # Configure/build C++ tests
conan==1.60.1 # Install dependencies for C++ tests.
conan==1.62.0 # Install dependencies for C++ tests.
cmakelang==0.6.13 # Lint CMake
cpplint==1.6.1 # Basic linting of C++ files.
clang-tidy==15.0.2.1 # Static analysis of C++ files
Expand Down
4 changes: 2 additions & 2 deletions tests/generators/test_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ def fn(
(function_definition
declarator: (
function_declarator
declarator: (field_identifier) @func_name (eq? @func_name "{func}")
declarator: (field_identifier) @func_name (#eq? @func_name "{func}")
) @func_decl
)
)""")
Expand All @@ -867,7 +867,7 @@ def fn(
query = cpp_language.query("""(parameter_list (
parameter_declaration declarator: (
reference_declarator (identifier) @var_name
(eq? @var_name "defaultValue") )))""")
(#eq? @var_name "defaultValue") )))""")

first_has_default = bool(query.captures(first_decl))
second_has_default = bool(query.captures(second_decl))
Expand Down
6 changes: 3 additions & 3 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
pytest==9.0.3
pyyaml==6.0.0 # We are currently constrained to pyyaml=6.0.0 exactly due to conan 1.60.1
pyyaml==6.0.3
pylint==2.15.5 # Guard against warn/error changes
jsonschema==4.7.2
tree-sitter==0.20.1 # For parsing C++ AST to assert on comment text.
tree-sitter-languages==1.5.0
tree-sitter==0.21.3 # For parsing C++ AST to assert on comment text.
tree-sitter-languages==1.10.2
# Do not pin openassetio to a specific version, so that pip will not
# complain when testing against future openassetio versions (e.g.
# OpenAssetIO integration test CI).
Expand Down
Loading