diff --git a/pyproject.toml b/pyproject.toml index ec2d25b3c..d317bc592 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,7 +106,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'", 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/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 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" },