From d7a9686264c58d7df96d24cde544f6500eacd736 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Sun, 13 Oct 2024 20:27:42 +0200 Subject: [PATCH 1/2] Bump pymunk version + add python 3.13 --- .github/workflows/selfhosted_runner.yml | 2 +- pyproject.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/selfhosted_runner.yml b/.github/workflows/selfhosted_runner.yml index 1ce832d4b7..ad0e9f4ceb 100644 --- a/.github/workflows/selfhosted_runner.yml +++ b/.github/workflows/selfhosted_runner.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ['3.9.13', '3.10', '3.11', '3.12'] + python-version: ['3.9.13', '3.10', '3.11', '3.12', '3.13'] architecture: ['x64'] steps: diff --git a/pyproject.toml b/pyproject.toml index f82b0103fa..031b94077c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries :: Python Modules", ] @@ -25,7 +26,7 @@ dependencies = [ # Expected future dev preview release on PyPI (not yet released) 'pyglet==2.1.dev7', "pillow~=10.4.0", - "pymunk~=6.8.1", + "pymunk~=6.9.0", "pytiled-parser~=2.2.5", ] dynamic = ["version"] From 50e7aaef216d039b9a2e19d61fdfaaa1104ce52e Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Sun, 13 Oct 2024 20:31:29 +0200 Subject: [PATCH 2/2] Fix issue in pymunk_demo_top_down --- arcade/examples/pymunk_demo_top_down.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arcade/examples/pymunk_demo_top_down.py b/arcade/examples/pymunk_demo_top_down.py index e7c33c152d..65b73c795c 100644 --- a/arcade/examples/pymunk_demo_top_down.py +++ b/arcade/examples/pymunk_demo_top_down.py @@ -203,7 +203,7 @@ def wall_hit_handler(sprite_a, sprite_b, arbiter, space, data): def on_mouse_press(self, x, y, button, modifiers): """ Called whenever the mouse button is clicked. """ - bullet = arcade.SpriteSolidColor(5, 5, arcade.color.RED) + bullet = arcade.SpriteSolidColor(width=5, height=5, color=arcade.color.RED) self.bullet_list.append(bullet) # Position the bullet at the player's current location