Skip to content

Bump pyglet to 2.1.dev6 #2385

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

Merged
merged 2 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arcade/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def __init__(
update_rate: float = 1 / 60,
antialiasing: bool = True,
gl_version: tuple[int, int] = (3, 3),
screen: pyglet.display.Screen | None = None,
screen: Screen | None = None,
style: str | None = pyglet.window.Window.WINDOW_STYLE_DEFAULT,
visible: bool = True,
vsync: bool = False,
Expand Down
2 changes: 1 addition & 1 deletion arcade/window_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_display_size(screen_id: int = 0) -> tuple[int, int]:
Returns:
Tuple containing the width and height of the screen
"""
display = pyglet.display.Display()
display = pyglet.display.Display() # type: ignore # pending: pyglet fixes import tricks
screen = display.get_screens()[screen_id]
return screen.width, screen.height

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = [
# at the cost of slow download and constant pip install -I -e .[dev]
# "pyglet@git+https://github.com/pyglet/pyglet.git@development#egg=pyglet",
# Expected future dev preview release on PyPI (not yet released)
'pyglet==2.1.dev5',
'pyglet==2.1.dev6',
"pillow~=10.4.0",
"pymunk~=6.8.1",
"pytiled-parser~=2.2.5",
Expand Down
Loading