Skip to content

Bump minimum dependency versions - #11728

Merged
headtr1ck merged 8 commits into
pydata:mainfrom
headtr1ck:bump-min-versions
Oct 14, 2026
Merged

headtr1ck merged 8 commits into
pydata:mainfrom
headtr1ck:bump-min-versions

Conversation

@headtr1ck

@headtr1ck headtr1ck commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Bump the minimum dependency versions to the policy and remove the version guards that are now always true.

  • numpy 2.2, pandas 2.3, scipy 1.16, dask 2025.9, zarr 3.1, … (full table in whats-new)

  • netcdf4 1.7, because 1.6 has no builds compatible with numpy 2. conda-forge has no netcdf4 1.7.0, so the policy tool never considers 1.7 released; added a policy override until Use the first release of each minor version for the policy xarray-contrib/minimum-dependency-versions#94 is released.

  • Removed the obsolete has_*/requires_* test guards and test_append_string_length_mismatch_works, which is always skipped on zarr ≥ 3.1.

  • Removed the numpy < 2, dask < 2024.11 and flox < 0.10 code paths in the source, including xarray/compat/npcompat.py.

  • Extended the upgrade-min-versions skill with the source cleanup, the pitfalls hit here and the PR template.

  • User visible changes (including notable bug fixes) are documented in whats-new.rst

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.
    • Tools: Claude Code with Opus 5.5

🤖 Generated with Claude Code

headtr1ck and others added 2 commits October 14, 2026 08:44
Bump to the versions required by the minimum dependency policy and remove
test guards for versions that are now always available.

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the CI Continuous Integration tools label Oct 14, 2026
Co-authored-by: Claude <noreply@anthropic.com>
Also restore the install guards of tests whose version decorators were
removed, and extend the upgrade-min-versions skill.

Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added topic-indexing topic-groupby topic-dask topic-plotting topic-arrays related to flexible array support topic-NamedArray Lightweight version of Variable labels Oct 14, 2026
headtr1ck and others added 2 commits October 14, 2026 09:11
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added topic-backends topic-zarr Related to zarr storage library io labels Oct 14, 2026
headtr1ck and others added 2 commits October 14, 2026 09:44
The workaround is still needed, zarr rejects the zero-sized chunks.

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
@headtr1ck headtr1ck removed topic-backends topic-indexing topic-groupby topic-dask topic-plotting topic-zarr Related to zarr storage library topic-arrays related to flexible array support CI Continuous Integration tools io topic-NamedArray Lightweight version of Variable labels Oct 14, 2026
@headtr1ck headtr1ck added plan to merge Final call for comments dependencies Pull requests that update a dependency file labels Oct 14, 2026
@headtr1ck
headtr1ck merged commit caba01c into pydata:main Oct 14, 2026
67 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file plan to merge Final call for comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants