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
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ jobs:
name: Build
strategy:
matrix:
python-version:
- ${{ vars.ARCALOT_PYTHON_VERSION }}
- '3.10'
- 'pypy3.9'
runs-on: ubuntu-22.04
python-version: ${{ fromJSON(vars.ARCALOT_PYTHON_SUPPORTED_VERSIONS) }}
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ homepage = "https://github.com/arcalot/arcaflow-plugin-sdk-python"
"Bug Tracker" = "https://github.com/arcalot/arcaflow-plugin-sdk-python/issues"

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.12"
cbor2 = "~5.6.0"
PyYAML = "~6.0.1"

Expand Down
12 changes: 6 additions & 6 deletions src/arcaflow_plugin_sdk/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -3416,8 +3416,8 @@ def unserialize(
:param data: the raw data.
:param path: the list of structural elements that lead to this point
for error messages.
:return: the advanced datatype. :raise ConstraintException: if the
passed data was not valid.
:return: the advanced datatype.
:raise ConstraintException: if the passed data was not valid.
"""
pass

Expand All @@ -3428,8 +3428,8 @@ def validate(self, data: TypeT, path: typing.Tuple[str] = tuple([])):

:param data: the unserialized data.
:param path: the path that lead to this validation call, in order to
produce a nice error message :raise ConstraintException: if the
passed data was not valid.
produce a nice error message
:raise ConstraintException: if the passed data was not valid.
"""

@abstractmethod
Expand All @@ -3442,8 +3442,8 @@ def serialize(
:param data: the underlying data type to be serialized.
:param path: the list of structural elements that lead to this point
for error messages.
:return: the raw datatype. :raise ConstraintException: if the passed
data was not valid.
:return: the raw datatype.
:raise ConstraintException: if the passed data was not valid.
"""
pass

Expand Down