Skip to content

fix(output_format): ensure NumPy 2.0 compatibility for string and float types - #931

Open
aoright wants to merge 1 commit into
hugapi:developfrom
aoright:fix/numpy2-compatibility
Open

fix(output_format): ensure NumPy 2.0 compatibility for string and float types#931
aoright wants to merge 1 commit into
hugapi:developfrom
aoright:fix/numpy2-compatibility

Conversation

@aoright

@aoright aoright commented Aug 21, 2026

Copy link
Copy Markdown

Summary

  • Support NumPy 2.0 where np.unicode_ and np.float_ have been removed in favor of np.str_ and np.float64.
  • Update hug/output_format.py and associated tests to safely resolve NumPy string and float types across both NumPy 1.x and 2.x.

…at types

Signed-off-by: aoright <102943475+aoright@users.noreply.github.com>
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.

1 participant