From cf6e3e7e5d998085a22044c51024197611a6c85c Mon Sep 17 00:00:00 2001 From: Dominic Reber Date: Mon, 19 Jan 2026 13:58:55 +0100 Subject: [PATCH 1/2] release(client): v4.0.2 --- python/README.md | 3 ++- python/pyproject.toml | 2 +- python/src/aica_api/client.py | 10 +++++++++- python/uv.lock | 4 +++- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/python/README.md b/python/README.md index f6c10006..f6bc6d50 100644 --- a/python/README.md +++ b/python/README.md @@ -102,7 +102,8 @@ Use the following compatibility table to determine which client version to use. | AICA Core version | API protocol version | Matching Python client version | |-------------------|----------------------|--------------------------------| -| `>= 5.0` | `v3` | `>= 4.0.0` | +| `>= 5.1` | `v3` | `>= 4.0.2` | +| `5.0.0` | `v3` | `4.0.0` | | `>= 4.3, < 5.0` | `v2` | `>= 3.1.0` | | `>= 4.0, < 4.3` | `v2` | `>= 3.0.0` | | `3.x` | `v2` | `>= 2.0.0` | diff --git a/python/pyproject.toml b/python/pyproject.toml index 985c1abf..450648b2 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -15,7 +15,7 @@ artifacts = [ [project] name = "aica_api" -version = "4.0.1" +version = "4.0.2" authors = [{ name = "Enrico Eberhard", email = "enrico@aica.tech" }] description = "A client utility for the AICA API" readme = "README.md" diff --git a/python/src/aica_api/client.py b/python/src/aica_api/client.py index 6e4d336e..a61a27b1 100644 --- a/python/src/aica_api/client.py +++ b/python/src/aica_api/client.py @@ -292,7 +292,15 @@ def check(self) -> bool: version_info = semver.parse_version_info(self._core_version) if version_info.major == 5: - return True + if version_info.minor >= 1: + return True + else: + self._logger.error( + f'The detected AICA Core version v{self._core_version} is older than the minimum AICA ' + f'Core version supported by this client (v{self.client_version()}). Please upgrade the ' + f'AICA Core instance to a newer version.' + ) + return False elif version_info.major > 5: self._logger.error( f'The detected AICA Core version v{self._core_version} is newer than the maximum AICA ' diff --git a/python/uv.lock b/python/uv.lock index d37996aa..f5574c1c 100644 --- a/python/uv.lock +++ b/python/uv.lock @@ -8,7 +8,7 @@ resolution-markers = [ [[package]] name = "aica-api" -version = "4.0.0" +version = "4.0.1" source = { editable = "." } dependencies = [ { name = "attrs" }, @@ -779,6 +779,8 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/42/cd/85b422d24ee2096eaf6faa360c95ef9bdb59097d19b9624cebce4dd9bc2a/ruamel.yaml.clib-0.2.14-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:808c7190a0fe7ae7014c42f73897cf8e9ef14ff3aa533450e51b1e72ec5239ad", size = 725028, upload-time = "2025-09-22T19:51:19.782Z" }, { url = "https://files.pythonhosted.org/packages/4d/ac/99e6e0ea2584f84f447069d0187fe411e9b5deb7e3ddecda25001cfc7a95/ruamel.yaml.clib-0.2.14-cp39-cp39-win32.whl", hash = "sha256:6d5472f63a31b042aadf5ed28dd3ef0523da49ac17f0463e10fda9c4a2773352", size = 100915, upload-time = "2025-09-22T19:51:21.764Z" }, { url = "https://files.pythonhosted.org/packages/5d/8d/846e43369658958c99d959bb7774136fff9210f9017d91a4277818ceafbf/ruamel.yaml.clib-0.2.14-cp39-cp39-win_amd64.whl", hash = "sha256:8dd3c2cc49caa7a8d64b67146462aed6723a0495e44bf0aa0a2e94beaa8432f6", size = 118706, upload-time = "2025-09-22T19:51:20.878Z" }, + { url = "https://files.pythonhosted.org/packages/e7/cd/150fdb96b8fab27fe08d8a59fe67554568727981806e6bc2677a16081ec7/ruamel_yaml_clib-0.2.14-cp314-cp314-win32.whl", hash = "sha256:9b4104bf43ca0cd4e6f738cb86326a3b2f6eef00f417bd1e7efb7bdffe74c539", size = 102394, upload-time = "2025-11-14T21:57:36.703Z" }, + { url = "https://files.pythonhosted.org/packages/bd/e6/a3fa40084558c7e1dc9546385f22a93949c890a8b2e445b2ba43935f51da/ruamel_yaml_clib-0.2.14-cp314-cp314-win_amd64.whl", hash = "sha256:13997d7d354a9890ea1ec5937a219817464e5cc344805b37671562a401ca3008", size = 122673, upload-time = "2025-11-14T21:57:38.177Z" }, ] [[package]] From 3da13d5a711c9f09d47f8331b0d612e144511862 Mon Sep 17 00:00:00 2001 From: Dominic Reber Date: Mon, 19 Jan 2026 16:57:20 +0100 Subject: [PATCH 2/2] fix: compat --- python/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/README.md b/python/README.md index f6bc6d50..690b4a44 100644 --- a/python/README.md +++ b/python/README.md @@ -103,7 +103,7 @@ Use the following compatibility table to determine which client version to use. | AICA Core version | API protocol version | Matching Python client version | |-------------------|----------------------|--------------------------------| | `>= 5.1` | `v3` | `>= 4.0.2` | -| `5.0.0` | `v3` | `4.0.0` | +| `>= 5.0, < 5.1` | `v3` | Unsupported | | `>= 4.3, < 5.0` | `v2` | `>= 3.1.0` | | `>= 4.0, < 4.3` | `v2` | `>= 3.0.0` | | `3.x` | `v2` | `>= 2.0.0` |