Skip to content

Widen NumPy and SciPy compatibility bounds - #410

Merged
PierreRaybaut merged 2 commits into
developfrom
maintenance/scientific-dependency-bounds
Oct 21, 2026
Merged

PierreRaybaut merged 2 commits into
developfrom
maintenance/scientific-dependency-bounds

Conversation

@PierreRaybaut

@PierreRaybaut PierreRaybaut commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Widen NumPy from <2.5 to <2.6, admitting the latest stable 2.5.4.
  • Widen SciPy from <1.17 to <1.19, admitting the latest stable 1.18.1.
  • Synchronize pyproject.toml and requirements.txt; preserve all minimum versions and Python 3.9 support.
  • Leave the other scientific upper bounds unchanged: they already admit scikit-image 0.26.0, pandas 3.0.6 and PyWavelets 1.10.0.

Validation

  • Parsed TOML and verified the exact intended changes in both manifests.
  • Verified unchanged minimum dependencies and Python support, and admission of all five current stable scientific releases.
  • git diff --check passed. The existing PR CI is responsible for runtime compatibility qualification; Python 3.9 intentionally resolves older compatible scientific releases.

Automation evaluation

The initially proposed Dependabot pip configuration was removed after inspecting its current Python interpreter selection: with the project's broad requires-python range, the updater can select an older supported interpreter and filter out the recent scientific releases this process is intended to qualify. Per maintainer decision, this PR therefore contains only the compatibility-bound updates, rather than claiming that native Dependabot fully implements the upper-bound policy.

DataLab Web's existing npm Dependabot automation is unaffected; its next scheduled run was preferred to manual duplicate PRs.

All work was performed in fresh isolated clones, without modifying existing developer checkouts or installed Python environments.

Coordination

Companion: DataLab-Platform/Sigima#76. Both branches are named maintenance/scientific-dependency-bounds, so the existing development CI can install the widened Sigima revision. Merge the Sigima PR first. SigimaX has no independent scientific upper bounds and needs no manifest change.

The datalab-capsule bound already admits its latest 0.1.0 release. The release-specific PyInstaller pin is intentionally unchanged.

Allow NumPy 2.5.4 and SciPy 1.18.1 without raising minimum versions. Keep requirements synchronized and schedule grouped scientific range updates.

Assisted-by: GPT-6.1 Sol
Remove the proposed pip automation after verifying that Dependabot can select an older Python interpreter from the supported range and miss newer scientific releases. Keep this PR focused on the requested compatibility bounds.

Assisted-by: GPT-6.1 Sol
@PierreRaybaut PierreRaybaut changed the title Widen NumPy/SciPy bounds and automate scientific dependency updates Widen NumPy and SciPy compatibility bounds Oct 21, 2026
@PierreRaybaut
PierreRaybaut merged commit 2d15b01 into develop Oct 21, 2026
6 checks passed
@PierreRaybaut
PierreRaybaut deleted the maintenance/scientific-dependency-bounds branch October 23, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant