Skip to content

Pip check fails downstream, pyglet tries to load GL #116

@claudiushaag

Description

@claudiushaag

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Hi,

while trying to package arcade in this PR, I'm encountering an error which seems to stem from pyglet during the pip check call for arcade.

The exact build can be found here.
In essence, it finishes with the following message:

Installing test environment
 │ │ ✔ Successfully updated the test environment
 │ │ Traceback (most recent call last):
 │ │   File "$SRC_DIR/conda_build_script.py", line 1, in <module>
 │ │     import arcade
 │ │   File "$SRC_DIR_env/lib/python3.10/site-packages/arcade/__init__.py", line 96, in <module>
 │ │     from .application import MOUSE_BUTTON_LEFT
 │ │   File "$SRC_DIR_env/lib/python3.10/site-packages/arcade/application.py", line 15, in <module>
 │ │     import pyglet.gl as gl
 │ │   File "$SRC_DIR_env/lib/python3.10/site-packages/pyglet/gl/__init__.py", line 53, in <module>
 │ │     from pyglet.gl.gl import *  # Must always be imported before gl_info or bad things happen.  # noqa: F403
 │ │   File "$SRC_DIR_env/lib/python3.10/site-packages/pyglet/gl/gl.py", line 11, in <module>
 │ │     from pyglet.gl.lib import link_GL as _link_function
 │ │   File "$SRC_DIR_env/lib/python3.10/site-packages/pyglet/gl/lib.py", line 102, in <module>
 │ │     from pyglet.gl.lib_glx import link_GL, link_GLX
 │ │   File "$SRC_DIR_env/lib/python3.10/site-packages/pyglet/gl/lib_glx.py", line 12, in <module>
 │ │     gl_lib = pyglet.lib.load_library('GL')
 │ │   File "$SRC_DIR_env/lib/python3.10/site-packages/pyglet/lib.py", line 138, in load_library
 │ │     raise ImportError(msg)

Is pyglet missing a run-requirement for linux, to install OpenGL? @conda-forge/pyglet Your help would be much appreciated, thank you!

Installed packages

│ │ │ readline                             ┆ 8.3        ┆ h853b02a_0            ┆ conda-forge     ┆  336.99 KiB │
 │ │ │ sdl2                                 ┆ 2.32.56    ┆ h54a6638_0            ┆ conda-forge     ┆  575.34 KiB │
 │ │ │ sdl3                                 ┆ 3.2.30     ┆ h3b84278_0            ┆ conda-forge     ┆    1.85 MiB │
 │ │ │ setuptools                           ┆ 80.9.0     ┆ pyhff2d567_0          ┆ conda-forge     ┆  731.24 KiB │
 │ │ │ shaderc                              ┆ 2025.5     ┆ h3e344bc_0            ┆ conda-forge     ┆  110.70 KiB │
 │ │ │ snappy                               ┆ 1.2.2      ┆ h03e3b7b_1            ┆ conda-forge     ┆   44.75 KiB │
 │ │ │ spirv-tools                          ┆ 2025.4     ┆ hb700be7_0            ┆ conda-forge     ┆    2.14 MiB │
 │ │ │ svt-av1                              ┆ 3.1.2      ┆ hecca717_0            ┆ conda-forge     ┆    2.61 MiB │
 │ │ │ tbb                                  ┆ 2022.3.0   ┆ hb700be7_2            ┆ conda-forge     ┆  177.08 KiB │
 │ │ │ tk                                   ┆ 8.6.13     ┆ noxft_ha0e22de_103    ┆ conda-forge     ┆    3.13 MiB │
 │ │ │ typing-extensions                    ┆ 4.15.0     ┆ h396c80c_0            ┆ conda-forge     ┆   89.24 KiB │
 │ │ │ typing_extensions                    ┆ 4.15.0     ┆ pyhcf101f3_0          ┆ conda-forge     ┆   50.48 KiB │
 │ │ │ tzdata                               ┆ 2025c      ┆ hc9c84f9_1            ┆ conda-forge     ┆  116.34 KiB │
 │ │ │ wayland                              ┆ 1.24.0     ┆ hd6090a7_1            ┆ conda-forge     ┆  322.05 KiB │
 │ │ │ wayland-protocols                    ┆ 1.47       ┆ hd8ed1ab_0            ┆ conda-forge     ┆  137.18 KiB │
 │ │ │ wheel                                ┆ 0.45.1     ┆ pyhd8ed1ab_1          ┆ conda-forge     ┆   61.46 KiB │
 │ │ │ x264                                 ┆ 1!164.3095 ┆ h166bdaf_2            ┆ conda-forge     ┆  876.51 KiB │
 │ │ │ x265                                 ┆ 3.5        ┆ h924138e_3            ┆ conda-forge     ┆    3.20 MiB │
 │ │ │ xkeyboard-config                     ┆ 2.46       ┆ hb03c661_0            ┆ conda-forge     ┆  387.67 KiB │
 │ │ │ xorg-libice                          ┆ 1.1.2      ┆ hb9d3cd8_0            ┆ conda-forge     ┆   57.25 KiB │
 │ │ │ xorg-libsm                           ┆ 1.2.6      ┆ he73a12e_0            ┆ conda-forge     ┆   26.94 KiB │
 │ │ │ xorg-libx11                          ┆ 1.8.12     ┆ h4f16b4b_0            ┆ conda-forge     ┆  816.30 KiB │
 │ │ │ xorg-libxau                          ┆ 1.0.12     ┆ hb03c661_1            ┆ conda-forge     ┆   14.96 KiB │
 │ │ │ xorg-libxcursor                      ┆ 1.2.3      ┆ hb9d3cd8_0            ┆ conda-forge     ┆   31.77 KiB │
 │ │ │ xorg-libxdmcp                        ┆ 1.1.5      ┆ hb03c661_1            ┆ conda-forge     ┆   20.11 KiB │
 │ │ │ xorg-libxext                         ┆ 1.3.6      ┆ hb9d3cd8_0            ┆ conda-forge     ┆   48.89 KiB │
 │ │ │ xorg-libxfixes                       ┆ 6.0.2      ┆ hb03c661_0            ┆ conda-forge     ┆   19.60 KiB │
 │ │ │ xorg-libxrandr                       ┆ 1.5.4      ┆ hb9d3cd8_0            ┆ conda-forge     ┆   28.91 KiB │
 │ │ │ xorg-libxrender                      ┆ 0.9.12     ┆ hb9d3cd8_0            ┆ conda-forge     ┆   32.23 KiB │
 │ │ │ xorg-libxscrnsaver                   ┆ 1.2.4      ┆ hb9d3cd8_0            ┆ conda-forge     ┆   14.07 KiB │
 │ │ │ zstd                                 ┆ 1.5.7      ┆ hb78ec9c_6            ┆ conda-forge     ┆  587.28 KiB │
 │ │ ╰──────────────────────────────────────┴────────────┴───────────────────────┴─────────────────┴─────────────╯

Environment info

Testing with python 3.10.*
 │ │ 
 │ │ Resolving test environment:
 │ │   Platform: linux-64 [__unix=0=0, __linux=6.11.0=0, __glibc=2.34=0, __archspec=1=zen2]
 │ │   Channels: 
 │ │    - file:///tmp/.tmpwV7Eo8/
 │ │    - file:///home/conda/staged-recipes/build_artifacts/
 │ │    - file:///home/conda/staged-recipes/build_artifacts/
 │ │    - conda-forge
 │ │   Specs:
 │ │    - python 3.10.*
 │ │    - arcade ==3.3.3 pyhcb3b5b4_0
 │ │    - pip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions