Skip to content

chore(deps): bump cast-value.rs - #4584

Merged
d-v-b merged 4 commits into
zarr-developers:mainfrom
d-v-b:bump-cast-value-2
Nov 1, 2026
Merged

d-v-b merged 4 commits into
zarr-developers:mainfrom
d-v-b:bump-cast-value-2

Conversation

@d-v-b

@d-v-b d-v-b commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bumps the minimum version of cast-value.rs to 0.5.1. cast-value.rs 0.5.1 fixes some correctness bugs. See zarr-developers/cast-value.rs#36

Author attestation

  • I am a human, these are my changes, and I have reviewed and understood every change and can explain why each is correct.

TODO

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/user-guide/*.md
  • Changes documented as a new file in changes/
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

d-v-b added 3 commits October 31, 2026 20:30
The previous commit raised the packaging floor to 0.5.1 but left the
runtime check at 0.4.2. cast-value-rs 0.5.0 makes casts exact at integer
and float range limits; 0.5.0 was never published to PyPI, so the floor
is 0.5.1. Also update the error message, the version-check test cases,
and uv.lock.

Assisted-by: ClaudeCode:claude-opus-5-5
The cases hard-coded versions near the floor, so every floor bump meant
rewriting them. Build them from CAST_VALUE_RS_MIN_VERSION instead, and
drop cases that repeated the same comparison. A floor bump now touches
only pyproject.toml and the constant.

Assisted-by: ClaudeCode:claude-opus-5-5
@github-actions github-actions Bot added the needs release notes Automatically applied to PRs which haven't added release notes label Oct 31, 2026
@codecov

codecov Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.84%. Comparing base (d105210) to head (41c09ee).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4584   +/-   ##
=======================================
  Coverage   94.84%   94.84%           
=======================================
  Files          96       96           
  Lines       13998    13998           
=======================================
  Hits        13276    13276           
  Misses        722      722           
Files with missing lines Coverage Δ
src/zarr/codecs/cast_value.py 98.73% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@d-v-b
d-v-b merged commit be4d9d4 into zarr-developers:main Nov 1, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs release notes Automatically applied to PRs which haven't added release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant