Package Details: python-moderngl-window 3.1.1-2

Git Clone URL: https://aur.archlinux.org/python-moderngl-window.git (read-only, click to copy)
Package Base: python-moderngl-window
Description: A utility library for ModernGL making window creation and resource loading simple.
Upstream URL: https://github.com/moderngl/moderngl-window
Licenses: MIT
Submitter: groctel
Maintainer: groctel
Last Packager: groctel
Votes: 2
Popularity: 0.000000
First Submitted: 2021-04-04 21:17 (UTC)
Last Updated: 2025-04-01 16:35 (UTC)

Latest Comments

1 2 Next › Last »

farkaslory commented on 2025-04-04 12:25 (UTC)

After I have modified the python-pyglm PKGBUILD by groctel instruction, I get:

======================== short test summary info =========================
ERROR tests/test_attribute_names.py
ERROR tests/test_camera.py
ERROR tests/test_finders.py
ERROR tests/test_geometry.py
ERROR tests/test_headless.py
ERROR tests/test_loaders_data.py
ERROR tests/test_loaders_program.py
ERROR tests/test_loaders_scene.py
ERROR tests/test_loaders_texture.py
ERROR tests/test_moderngl_window.py
ERROR tests/test_projection.py
ERROR tests/test_resources.py
ERROR tests/test_screenshot.py
ERROR tests/test_shader_source.py
ERROR tests/test_vao.py
ERROR tests/test_windowconfig.py
!!!!!!!!!!!!!!!! Interrupted: 16 errors during collection !!!!!!!!!!!!!!!!
=========================== 16 errors in 0.44s ===========================

Most of the errors come from

ImportError: /usr/lib/python3.13/site-packages/pyglm/glm.cpython-313-x86_64-linux-gnu.so: undefined symbol: _ZN3glm21infinitePerspectiveLHIfEENS_3matILi4ELi4ET_LNS_9qualifierE0EEES2_S2_S2_

groctel commented on 2025-04-01 11:29 (UTC)

I hadn't found a way to do this in many packages. This should be fixed here and in other places :)

micwoj92 commented on 2025-03-17 18:42 (UTC)

Please do not install using pip. This should be checked against system packages.

groctel commented on 2025-03-15 19:30 (UTC)

@micwoj92: This should be fixed

micwoj92 commented on 2025-02-19 22:06 (UTC)

Check fails with:

================================================================================ short test summary info =================================================================================
FAILED tests/test_loaders_scene.py::SceneLoadersTestCase::test_stl - ModuleNotFoundError: No module named 'pywavefront'
FAILED tests/test_loaders_scene.py::SceneLoadersTestCase::test_wavefont_not_found - ModuleNotFoundError: No module named 'pywavefront'
FAILED tests/test_loaders_scene.py::SceneLoadersTestCase::test_wavefront - ModuleNotFoundError: No module named 'pywavefront'

deanrw commented on 2024-10-04 12:51 (UTC)

@groctel I can confirm that adding python-setuptools to the makedepends allows this package to be built successfully in a clean chroot.

groctel commented on 2024-05-02 17:35 (UTC)

@Vekhir Can you check if just python-setuptools is good enough for the package to build? My testing environment doesn't individually clean the makedepends for each dependency before proceeding to the next. I've noted the task but cannot do it atm.

Vekhir commented on 2024-05-01 07:50 (UTC)

I'm hitting this error when building python-moderngl-window 2.4.6 in a clean chroot:

* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
    raise BackendUnavailable(
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

ERROR Backend 'setuptools.build_meta' is not available.

My last build was with 2.4.2, the build process was changed since then. Maybe a dependency on python-setuptools-scm was missed in the PKGBUILD? Adding it solved the issue for me.

Cryen commented on 2022-12-13 03:21 (UTC)

Additionally, manim (the Community Edition) also works with non-git python-moderngl but the python-pyglet package cannot be updated to version 2 while it worked on python-manimgl

Cryen commented on 2022-12-13 01:08 (UTC) (edited on 2022-12-13 01:08 (UTC) by Cryen)

This package breaks the dependencies for python-manimgl. I had to install the python-moderngl first nad then this package but without a python-moderngl-git dependency.

paru -S --asdeps python-moderngl
paru -S --asdeps python-moderngl-window --assume-installed python-moderngl-git

It works after that but it's still inconvenient.