Skip to content

PendingDeprecationWarning: Importing PyGLM via "import glm" is going to be deprecated in the future. #225

Description

@timohl

With python 3.14 and moderngl_window 3.1.1 I get the following deprecation warning:

moderngl_window\scene\camera.py:4: PendingDeprecationWarning: Importing PyGLM via "import glm" is going to be deprecated in the future.
  Use "from pyglm import glm" instead
    import glm

Note from PyGLM readme:
Attention: Using import glm will be deprecated in PyGLM 3.0.

Could we fix this or is there some legacy support issue?
If you are interested in a quick fix, I can create a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions