Updating xarray package#86
Conversation
There was a problem hiding this comment.
Pull request overview
Updates dependency constraints and lockfile to support newer xarray and refreshed dev tooling versions.
Changes:
- Relaxed
xarraydependency constraint inpyproject.toml. - Updated dev dependencies (
pre-commit,deptry,pytest) inpyproject.toml. - Regenerated
poetry.lock, pulling in newer resolved versions (includingxarray 2026.4.0) and new transitive deps (e.g.,tomli).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| pyproject.toml | Updates dependency constraints for xarray and dev tooling. |
| poetry.lock | Updates resolved versions to match new constraints (incl. new transitive deps). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| numpy = "^2.1.1" | ||
| matplotlib = "^3.10.0" | ||
| xarray = "^2025.1.1" | ||
| xarray = ">=2025.1.1" |
There was a problem hiding this comment.
xarray is now specified as a lower-bound-only constraint (">=") which means users installing from sdist/wheel can end up with arbitrarily newer xarray releases than the one validated in this repo (the lock already resolves to 2026.4.0). If you want the update but still want predictable installs, consider using a compatible range (e.g., caret) or adding an explicit upper bound.
| xarray = ">=2025.1.1" | |
| xarray = ">=2025.1.1,<2027.0.0" |
| deptry = "^0.21.2" | ||
| pytest = "^8.3.4" | ||
| pre-commit = "^4.5" | ||
| deptry = ">0.21.2" |
There was a problem hiding this comment.
deptry = ">0.21.2" excludes exactly 0.21.2. If the intent is simply to relax the previous ^0.21.2 cap so newer deptry versions are allowed, prefer >=0.21.2 (or another bounded range) to avoid an unnecessary/accidental gap.
| deptry = ">0.21.2" | |
| deptry = ">=0.21.2" |
No description provided.