Skip to content

maint: bump minimum dependency versions according to policy#11231

Merged
jhamman merged 14 commits intopydata:mainfrom
jhamman:maint/202603-version-bumps
Mar 19, 2026
Merged

maint: bump minimum dependency versions according to policy#11231
jhamman merged 14 commits intopydata:mainfrom
jhamman:maint/202603-version-bumps

Conversation

@jhamman
Copy link
Member

@jhamman jhamman commented Mar 14, 2026

This PR updates our minimum dependency versions. There are a number of notable bumps in here:

  • "numpy>=2.1"

  • zarr>=3.0"

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

See #11232 for the larger zarr3 cleanup

@jhamman jhamman mentioned this pull request Mar 14, 2026
1 task
@github-actions github-actions bot added the CI Continuous Integration tools label Mar 14, 2026
elif zarr_format == 3:
# specifying codecs in zarr_format=3 requires importing from zarr 3 namespace
from zarr.registry import get_codec_class
import zarr
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are the minimal required changes to get this new environment spec passing in CI. A more comprehensive cleanup of the Zarr backend and tests can be found in #11232

@jhamman jhamman requested a review from ianhi March 14, 2026 18:45
@jhamman
Copy link
Member Author

jhamman commented Mar 14, 2026

This is ready for a review. I don't believe the failing flaky tests are related to any changes here.

@jsignell
Copy link
Member

I don't have an opinion on this, but just for reference @dcherian had also started on this in #11107

@dcherian
Copy link
Contributor

Yeah apparently numpy>=2 is being delayed till Q2 which is pretty close !

scientific-python/specs#386 (comment)

@jhamman
Copy link
Member Author

jhamman commented Mar 16, 2026

@dcherian had also started on this in #11107

Sorry I missed this!

numpy>=2 is being delayed till Q2 which is pretty close !

I could revert the numpy changes to this PR if that is the only blocker?

@jsignell
Copy link
Member

numpy>=2 is being delayed till Q2 which is pretty close !

I could revert the numpy changes to this PR if that is the only blocker?

Yeah I guess so if you want to merge before Q2

@jhamman
Copy link
Member Author

jhamman commented Mar 19, 2026

I've reverted the numpy 2 changes for now.

- hypothesis
- pytz
- pytest-reportlog
- pyarrow # transitive dependency of dask.dataframe, not an xarray dependency
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we care about dask.dataframe?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we test exporting datasets to dask-dataframe.


Breaking Changes
~~~~~~~~~~~~~~~~
The minimum versions of some dependencies were changed:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's call out the Zarr bump and clarify that Zarr 2 formats are still readable.

@jhamman jhamman enabled auto-merge (squash) March 19, 2026 16:58
@jhamman jhamman merged commit a1c0617 into pydata:main Mar 19, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration tools topic-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants