Skip to content

Allow numpy 2.x in openpi-client#1003

Open
Abhishek21g wants to merge 1 commit into
Physical-Intelligence:mainfrom
Abhishek21g:fix/openpi-client-numpy2-support
Open

Allow numpy 2.x in openpi-client#1003
Abhishek21g wants to merge 1 commit into
Physical-Intelligence:mainfrom
Abhishek21g:fix/openpi-client-numpy2-support

Conversation

@Abhishek21g

Copy link
Copy Markdown

Summary

Fixes #991 — relax openpi-client to support numpy 2.x integrators.

Changes

  • packages/openpi-client/pyproject.toml: numpy>=1.22.4,<3.0.0
  • Add numpy_compat_test.py for common msgpack roundtrip coverage

Verification

cd packages/openpi-client
pip install -e ".[dev]" dm-tree
pytest src/openpi_client/msgpack_numpy_test.py src/openpi_client/numpy_compat_test.py -q

Relax the client package pin to numpy<3 so downstream integrators on
numpy 2.x can install openpi-client without a separate environment.
Adds compatibility tests for common msgpack roundtrips.

Fixes Physical-Intelligence#991
@jimmyt857 jimmyt857 removed their request for review July 14, 2026 02:28
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.

Numpy > 2 Support for openpi-client?

1 participant