From ec1d8099657b21e0d33fc3c704945e0e618f8190 Mon Sep 17 00:00:00 2001 From: Jared O'Connell <46976761+jaredoconnell@users.noreply.github.com> Date: Fri, 27 Jun 2025 11:35:43 -0400 Subject: [PATCH 1/4] Update pyproject.toml to use Python 3.12 Signed-off-by: Jared O'Connell <46976761+jaredoconnell@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From b95540e10709bbfd22684826d7147e1442861744 Mon Sep 17 00:00:00 2001 From: Jared O'Connell <46976761+jaredoconnell@users.noreply.github.com> Date: Fri, 27 Jun 2025 11:41:14 -0400 Subject: [PATCH 2/4] Make workflow use organization-wide variable. Signed-off-by: Jared O'Connell <46976761+jaredoconnell@users.noreply.github.com> --- .github/workflows/build.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eefdc12..56415c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,10 +14,7 @@ jobs: name: Build strategy: matrix: - python-version: - - ${{ vars.ARCALOT_PYTHON_VERSION }} - - '3.10' - - 'pypy3.9' + python-version: ${{ fromJSON(vars.ARCALOT_PYTHON_SUPPORTED_VERSIONS) }} runs-on: ubuntu-22.04 steps: - name: Check out code From c502d5a724b910282e53d81518616d09587fd225 Mon Sep 17 00:00:00 2001 From: Jared O'Connell <46976761+jaredoconnell@users.noreply.github.com> Date: Fri, 27 Jun 2025 11:44:51 -0400 Subject: [PATCH 3/4] Update Ubuntu version. Signed-off-by: Jared O'Connell <46976761+jaredoconnell@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 56415c2..3fc7cb7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: python-version: ${{ fromJSON(vars.ARCALOT_PYTHON_SUPPORTED_VERSIONS) }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Check out code uses: actions/checkout@v4 From d982edee2190bca5f30e6e85da2fb3005a7d24c9 Mon Sep 17 00:00:00 2001 From: Jared O'Connell Date: Fri, 27 Jun 2025 11:52:51 -0400 Subject: [PATCH 4/4] Format code to newer docformatter --- src/arcaflow_plugin_sdk/schema.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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