fix: compatibility with pandas 3.0 for string coords#273
Merged
aseyboldt merged 5 commits intopymc-devs:mainfrom Jan 29, 2026
Merged
fix: compatibility with pandas 3.0 for string coords#273aseyboldt merged 5 commits intopymc-devs:mainfrom
aseyboldt merged 5 commits intopymc-devs:mainfrom
Conversation
97fcc43 to
e3a3d9e
Compare
e3a3d9e to
d5ebe11
Compare
There was a problem hiding this comment.
Pull request overview
Updates nutpie to handle pandas 3.0’s Arrow-backed string coordinates (avoiding ArrowStringArray conversion failures) and expands CI/release support for Python 3.14.
Changes:
- Add
ArrowStringArrayhandling in Rust ↔ Python value conversion to support pandas 3.0 string coords. - Loosen a datetime64 dtype assertion in PyMC zarr tests to accommodate pandas 3.0 precision changes.
- Bump several Rust dependencies and extend CI matrices/build arguments to include Python 3.14 (plus macOS runner adjustments).
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/common.rs |
Adds conversion path for pandas ArrowStringArray into Value::Strings. |
tests/test_pymc.py |
Updates datetime64 dtype assertions to accept pandas 3.0 precision changes. |
Cargo.toml |
Updates Rust dependency versions (incl. object store / zarr-related crates, criterion, tch). |
Cargo.lock |
Lockfile refresh reflecting dependency upgrades. |
.github/workflows/ci.yml |
Adds Python 3.14 to CI/builds, updates macOS runner, and conditionally skips some macOS x86_64 tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Fixes an issue with the recent pandas 3.0 release:
Also Closes #270