Skip to content

Removed numpy.disp for NumPy 2.0 compatibility & Replaced undefined Error() with raise ValueError. - #507

Closed
ddhh-gif wants to merge 2 commits into
petercorke:mainfrom
ddhh-gif:master
Closed

ddhh-gif wants to merge 2 commits into
petercorke:mainfrom
ddhh-gif:master

Conversation

@ddhh-gif

@ddhh-gif ddhh-gif commented Jan 18, 2026 •

Copy link
Copy Markdown

Deleted ‘ from numpy import disp ' , this caused an error at loading .
Also replace undefined Error() with raise ValueError.

@ddhh-gif ddhh-gif changed the title Fix: Removed numpy.disp for NumPy 2.0 compatibility Removed numpy.disp for NumPy 2.0 compatibility & Replaced undefined Error() with raise ValueError. Jan 18, 2026
@petercorke

Copy link
Copy Markdown
Owner

Thank you for your interest in RTB, and for catching two real issues here.

The numpy.disp removal is already independently handled — DistanceTransformPlanner.py no longer imports it (NumPy 2.0 dropped numpy.disp entirely, so this would otherwise be a hard ImportError today). The Error(...) → raise ValueError(...) fix is still needed and just landed in #587, crediting your catch.

Closing as fixed, thank you for the report.

@petercorke petercorke closed this Aug 9, 2026
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.

2 participants