Skip to content

Conversation

@ramenguy99
Copy link
Collaborator

@ramenguy99 ramenguy99 commented Sep 12, 2025

Fixes #79 #71 and an issues with missing np.NINF, np.float and np.bool8 in newer versions of numpy.

Also advances dependencies for moderngl, moderngl-window, numpy and trimesh and required python version to >=3.9,<3.13

Some steps have been taken to ensure backwards compatibility, but differences in behavior with the newer trimesh and moderngl versions might be possible. However, we have to update these dependencies to support newer python and numpy versions.

It might make sense to backport some of the fixes and make a 1.13.1 patch release before releasing these changes as 1.14.0 to make a working version that support for python 3.7 and 3.8.

… and trimesh

We need python>=3.9 to support recent versions of moderngl-window.
We also cannot support 3.13 because pyimgui does not support it.

In the future we should switch to a newer version of pyimgui if it will
be released, or to imgui_bundle (which is also what moderngl-window did).
Callbacks were renamed in a previous commit due to a moderngl-window
update, we keep the existing function names for backwards compatibility
with existing aitviewer integrations.
chkim1011 added a commit to chkim1011/aitviewer that referenced this pull request Nov 22, 2025
Adopts PR eth-ait#81 changes:
- Python 3.9-3.12 support (was blocking on numpy issues)
- numpy: Remove upper bound (>=1.18) - fixes compatibility issues
- moderngl-window: Update to 3.1.1 with backward compatibility helpers
- moderngl: Update to 5.12.0
- trimesh: Update to >=4.4,<5
- Add remote skeleton support
- Fix NumPy deprecated attributes (np.float, np.NINF, np.bool8)

Resolves numpy version compatibility issues.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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.

Compatibility issue with moderngl-windows >= 3.0 due to callback renaming

2 participants