From 81a3de852919c67100c999a8ea4075203d42dd37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Jan 2026 01:08:18 +0000 Subject: [PATCH 1/3] chore(deps): update pandas requirement from <3,>=2.3.3 to >=2.3.3,<4 Updates the requirements on [pandas](https://github.com/pandas-dev/pandas) to permit the latest version. - [Release notes](https://github.com/pandas-dev/pandas/releases) - [Commits](https://github.com/pandas-dev/pandas/compare/v2.3.3...v3.0.0) --- updated-dependencies: - dependency-name: pandas dependency-version: 3.0.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 002a7d2b0..9d84901f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,7 +107,7 @@ dependencies = [ "loguru>=0.7.3,<1", "openslide-bin>=4.0.0.10,<5", "openslide-python>=1.4.3,<2", - "pandas>=2.3.3,<3", + "pandas>=2.3.3,<4", "platformdirs>=4.3.2,<5", "procrastinate>=3.5.3", "fastparquet>=2025.12.0,<2026.0.0; python_version < '3.14'", From 95652586478365c34cc0d68740808423ec1b4b81 Mon Sep 17 00:00:00 2001 From: Helmut Hoffer von Ankershoffen Date: Sat, 25 Apr 2026 20:33:10 +0200 Subject: [PATCH 2/3] test(application): add --force to mapping validation integration tests to prevent health check timeout The two tests testing invalid mapping formats were calling `run execute` without `--force`, causing `_abort_if_system_unhealthy()` to make a network call before reaching the argument validation. On slower CI runners (Python 3.11) this exceeded the 10-second test timeout. Co-Authored-By: Claude Sonnet 4.6 --- tests/aignostics/application/cli_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/aignostics/application/cli_test.py b/tests/aignostics/application/cli_test.py index 594518db5..412e2e8dc 100644 --- a/tests/aignostics/application/cli_test.py +++ b/tests/aignostics/application/cli_test.py @@ -1146,6 +1146,7 @@ def test_cli_run_execute_invalid_mapping_format(runner: CliRunner, tmp_path: Pat str(tmp_path), "--mapping", ".*\\.tiff:staining_method:H&E", # Wrong: colon instead of equals + "--force", # Skip health check; we're testing argument validation only ], ) assert result.exit_code != 0 @@ -1167,6 +1168,7 @@ def test_cli_run_execute_invalid_regex_pattern(runner: CliRunner, tmp_path: Path str(tmp_path), "--mapping", "*.tiff:staining_method=H&E", # Wrong: glob pattern, not regex + "--force", # Skip health check; we're testing argument validation only ], ) assert result.exit_code != 0 From 59637f9366c784af9535789f1c403953e027cfd3 Mon Sep 17 00:00:00 2001 From: Helmut Hoffer von Ankershoffen Date: Sat, 25 Apr 2026 20:35:12 +0200 Subject: [PATCH 3/3] fix: apply auto-fixes from pre-commit hooks (remove duplicate __all__ entries, del style, uv.lock update) Co-Authored-By: Claude Sonnet 4.6 --- src/aignostics/platform/__init__.py | 6 ------ tests/aignostics/system/service_test.py | 2 +- uv.lock | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/aignostics/platform/__init__.py b/src/aignostics/platform/__init__.py index 8036b6b98..fed6900cd 100644 --- a/src/aignostics/platform/__init__.py +++ b/src/aignostics/platform/__init__.py @@ -112,14 +112,10 @@ "CLIENT_ID_INTERACTIVE_STAGING", "CLIENT_ID_INTERACTIVE_TEST", "DEFAULT_CPU_PROVISIONING_MODE", - "DEFAULT_CPU_PROVISIONING_MODE", "DEFAULT_FLEX_START_MAX_RUN_DURATION_MINUTES", "DEFAULT_GPU_PROVISIONING_MODE", - "DEFAULT_GPU_PROVISIONING_MODE", - "DEFAULT_GPU_TYPE", "DEFAULT_GPU_TYPE", "DEFAULT_MAX_GPUS_PER_SLIDE", - "DEFAULT_MAX_GPUS_PER_SLIDE", "DEFAULT_NODE_ACQUISITION_TIMEOUT_MINUTES", "DEVICE_URL_DEV", "DEVICE_URL_PRODUCTION", @@ -132,7 +128,6 @@ "LIST_APPLICATION_RUNS_MAX_PAGE_SIZE", "LIST_APPLICATION_RUNS_MIN_PAGE_SIZE", "NOT_YET_IMPLEMENTED", - "NOT_YET_IMPLEMENTED", "REDIRECT_URI_DEV", "REDIRECT_URI_PRODUCTION", "REDIRECT_URI_STAGING", @@ -167,7 +162,6 @@ "RunOutput", "RunSdkMetadata", "RunState", - "RunState", "RunTerminationReason", "SchedulingMetadata", "Service", diff --git a/tests/aignostics/system/service_test.py b/tests/aignostics/system/service_test.py index fe720892e..55457d5f1 100644 --- a/tests/aignostics/system/service_test.py +++ b/tests/aignostics/system/service_test.py @@ -101,7 +101,7 @@ def test_get_cpu_freq_info_handles_missing_cpu_freq() -> None: had_cpu_freq = hasattr(psutil, "cpu_freq") original: Any = getattr(psutil, "cpu_freq", None) if had_cpu_freq: - delattr(psutil, "cpu_freq") + del psutil.cpu_freq try: result = Service._get_cpu_freq_info() finally: diff --git a/uv.lock b/uv.lock index d6a516317..fe61e086d 100644 --- a/uv.lock +++ b/uv.lock @@ -205,7 +205,7 @@ requires-dist = [ { name = "openslide-bin", specifier = ">=4.0.0.10,<5" }, { name = "openslide-python", specifier = ">=1.4.3,<2" }, { name = "packaging", specifier = ">=26,<27" }, - { name = "pandas", specifier = ">=2.3.3,<3" }, + { name = "pandas", specifier = ">=2.3.3,<4" }, { name = "pillow", specifier = ">=12.2.0" }, { name = "platformdirs", specifier = ">=4.3.2,<5" }, { name = "platformdirs", specifier = ">=4.5.1,<5" },