Dependency refresh, sunset 3.11 - #386
Open
aaTman wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes an install failure from a hard
cartopy==0.24.1pin, then audits the restof the tree. All four
==pins traced back to one commit (144b1e4) where theywere CI workarounds, not real constraints.
cartopy,eccodes,frozenlist,pyogrio,virtualizarr— no==left in published metadata.eccodesandfrozenlistare gone entirely (never imported);pyogrioalready comes viageopandas. Swapped
kerchunk[dev](kerchunk's own test extra, which is whatdragged in cfgrib → eccodes) for
kerchunk>=0.2.10+fastparquet, anddropped the kerchunk git override. Added
shapely, previously a transitiveimport.
shapereader.natural_earthinutils.py; replaced with pooch + geopandas, verified identical across all3 resolutions x 3 layers. Now lives in
data-prepfor the plotting scripts.3.12+); 3.14 added, now possible because cartopy publishes no cp314 wheels.
CI was testing 3.10, which contradicted the old floor. Bumped CI uv 0.5.6 →
0.12.3 so it recognizes cp314 tags.
numba>=0.66(it's what capsnumpy),
icechunk>=2.1.2,virtualizarr>=2.7.3moved.pandas<3. It was unbounded, so users already got 3.0.5 while thelock sat on 2.3.3. Tested it: 11 failures. Migration deserves its own PR.
(1-d→scalar coercion, implicit densification). Library code was already
correct; fixed the tests rather than capping numpy/sparse.
Verification
1093 tests pass, pre-commit and deptry clean, wheel metadata has no
==pins orgit URLs, and ewb now resolves alongside
cartopy==0.25.0.Not verified locally: the suite hasn't run on 3.14 (no interpreter available)
— evidence is a wheels-only resolve succeeding. CI will prove it.
Breaking
Sunsets Python 3.11 support.
pip install extremeweatherbenchno longer bringscartopy — use
[data-prep]or depend on it directly.