Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headless fails on 3.0.0.dev31 #2323

Open
JackAshwell11 opened this issue Jul 27, 2024 · 0 comments
Open

Headless fails on 3.0.0.dev31 #2323

JackAshwell11 opened this issue Jul 27, 2024 · 0 comments
Labels

Comments

@JackAshwell11
Copy link
Contributor

When running tests in CI on headless mode, the following stack trace is thrown:

ImportError while loading conftest '/home/runner/work/Hades/Hades/tests/conftest.py'.
tests/conftest.py:25: in <module>
    WINDOW: Final[Window] = Window()
.nox/tests-3-12/lib/python3.12/site-packages/arcade/application.py:208: in __init__
    super().__init__(
.nox/tests-3-12/lib/python3.12/site-packages/pyglet/window/__init__.py:567: in __init__
    self._create()
.nox/tests-3-12/lib/python3.12/site-packages/pyglet/window/headless/__init__.py:110: in _create
    self.context.attach(self.canvas)
.nox/tests-3-12/lib/python3.12/site-packages/pyglet/gl/headless.py:131: in attach
    super().attach(canvas)
.nox/tests-3-12/lib/python3.12/site-packages/pyglet/gl/base.py:266: in attach
    raise RuntimeError(msg)
E   RuntimeError: Cannot attach <pyglet.display.headless.HeadlessCanvas object at 0x7fce58069760> to HeadlessContext(id=140524185915456, share=None)

No code changes were made to these tests before the update to Arcade 3.0.0.dev31

@einarf einarf added the bug label Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants