diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eefdc12..3fc7cb7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 489e79a..2287462 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/arcaflow_plugin_sdk/schema.py b/src/arcaflow_plugin_sdk/schema.py index 3e25b5e..4c57812 100644 --- a/src/arcaflow_plugin_sdk/schema.py +++ b/src/arcaflow_plugin_sdk/schema.py @@ -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 @@ -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 @@ -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