Skip to content

Commit 292ca4c

Browse files
dependabot[bot]helmut-hoffer-von-ankershoffenclaude
authored
chore(deps): update pandas requirement from <3,>=2.3.3 to >=2.3.3,<4 (#396)
* 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](pandas-dev/pandas@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] <support@github.com> * 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 <noreply@anthropic.com> * fix: apply auto-fixes from pre-commit hooks (remove duplicate __all__ entries, del style, uv.lock update) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Helmut Hoffer von Ankershoffen né Oertel <helmut@aignostics.com> Co-authored-by: Helmut Hoffer von Ankershoffen <helmuthva@googlemail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a15d5b2 commit 292ca4c

5 files changed

Lines changed: 5 additions & 9 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ dependencies = [
106106
"loguru>=0.7.3,<1",
107107
"openslide-bin>=4.0.0.10,<5",
108108
"openslide-python>=1.4.3,<2",
109-
"pandas>=2.3.3,<3",
109+
"pandas>=2.3.3,<4",
110110
"platformdirs>=4.3.2,<5",
111111
"procrastinate>=3.5.3",
112112
"fastparquet>=2025.12.0,<2026.0.0; python_version < '3.14'",

src/aignostics/platform/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,10 @@
112112
"CLIENT_ID_INTERACTIVE_STAGING",
113113
"CLIENT_ID_INTERACTIVE_TEST",
114114
"DEFAULT_CPU_PROVISIONING_MODE",
115-
"DEFAULT_CPU_PROVISIONING_MODE",
116115
"DEFAULT_FLEX_START_MAX_RUN_DURATION_MINUTES",
117116
"DEFAULT_GPU_PROVISIONING_MODE",
118-
"DEFAULT_GPU_PROVISIONING_MODE",
119-
"DEFAULT_GPU_TYPE",
120117
"DEFAULT_GPU_TYPE",
121118
"DEFAULT_MAX_GPUS_PER_SLIDE",
122-
"DEFAULT_MAX_GPUS_PER_SLIDE",
123119
"DEFAULT_NODE_ACQUISITION_TIMEOUT_MINUTES",
124120
"DEVICE_URL_DEV",
125121
"DEVICE_URL_PRODUCTION",
@@ -132,7 +128,6 @@
132128
"LIST_APPLICATION_RUNS_MAX_PAGE_SIZE",
133129
"LIST_APPLICATION_RUNS_MIN_PAGE_SIZE",
134130
"NOT_YET_IMPLEMENTED",
135-
"NOT_YET_IMPLEMENTED",
136131
"REDIRECT_URI_DEV",
137132
"REDIRECT_URI_PRODUCTION",
138133
"REDIRECT_URI_STAGING",
@@ -167,7 +162,6 @@
167162
"RunOutput",
168163
"RunSdkMetadata",
169164
"RunState",
170-
"RunState",
171165
"RunTerminationReason",
172166
"SchedulingMetadata",
173167
"Service",

tests/aignostics/application/cli_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,6 +1146,7 @@ def test_cli_run_execute_invalid_mapping_format(runner: CliRunner, tmp_path: Pat
11461146
str(tmp_path),
11471147
"--mapping",
11481148
".*\\.tiff:staining_method:H&E", # Wrong: colon instead of equals
1149+
"--force", # Skip health check; we're testing argument validation only
11491150
],
11501151
)
11511152
assert result.exit_code != 0
@@ -1167,6 +1168,7 @@ def test_cli_run_execute_invalid_regex_pattern(runner: CliRunner, tmp_path: Path
11671168
str(tmp_path),
11681169
"--mapping",
11691170
"*.tiff:staining_method=H&E", # Wrong: glob pattern, not regex
1171+
"--force", # Skip health check; we're testing argument validation only
11701172
],
11711173
)
11721174
assert result.exit_code != 0

tests/aignostics/system/service_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def test_get_cpu_freq_info_handles_missing_cpu_freq() -> None:
101101
had_cpu_freq = hasattr(psutil, "cpu_freq")
102102
original: Any = getattr(psutil, "cpu_freq", None)
103103
if had_cpu_freq:
104-
delattr(psutil, "cpu_freq")
104+
del psutil.cpu_freq
105105
try:
106106
result = Service._get_cpu_freq_info()
107107
finally:

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)