Skip to content

Conversation

@aseyboldt
Copy link
Member

@aseyboldt aseyboldt commented Jan 28, 2026

Fixes an issue with the recent pandas 3.0 release:

RuntimeError: Coordinate unconstrained_parameter value has unsupported type

Caused by:
    RuntimeError: Could not convert to Value. Unsupported type: ArrowStringArray

Also Closes #270

@aseyboldt aseyboldt force-pushed the fix-pandas3 branch 2 times, most recently from 97fcc43 to e3a3d9e Compare January 28, 2026 16:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 ArrowStringArray handling 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.

@aseyboldt aseyboldt merged commit 289e649 into pymc-devs:main Jan 29, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task: Release for python 3.14

1 participant