Skip to content

fix: image-to-gcode.py for modern numpy/tkinter#4021

Open
wucke13 wants to merge 1 commit into
LinuxCNC:masterfrom
wucke13:dev/wucke13/fix-image-to-gcode-for-modern-numpy-and-tk
Open

fix: image-to-gcode.py for modern numpy/tkinter#4021
wucke13 wants to merge 1 commit into
LinuxCNC:masterfrom
wucke13:dev/wucke13/fix-image-to-gcode-for-modern-numpy-and-tk

Conversation

@wucke13
Copy link
Copy Markdown

@wucke13 wucke13 commented May 13, 2026

- Numpy renamed `numpy.core.Inf` -> `numpy.core.inf`.
  - However, `numpy.core` was also deprecated and renamed, hence it
    would be `numpy._core.inf`.
  - But really, `numpy.inf` does work too.
- Avoid closing the `_default_root`, it's not necessary anymore (probably
  since python/cpython#23897). Nowadays, there
  isn't even a `tkinter._default_root` per default.

Signed-off-by: wucke13 <wucke13+github@gmail.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