Skip to content

Commit ffd9cfd

Browse files
authored
Python 3.13 support (#2414)
* Bump pymunk version + add python 3.13 * Fix issue in pymunk_demo_top_down
1 parent 6e86607 commit ffd9cfd

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/selfhosted_runner.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
os: [ubuntu-latest]
21-
python-version: ['3.9.13', '3.10', '3.11', '3.12']
21+
python-version: ['3.9.13', '3.10', '3.11', '3.12', '3.13']
2222
architecture: ['x64']
2323

2424
steps:

arcade/examples/pymunk_demo_top_down.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def wall_hit_handler(sprite_a, sprite_b, arbiter, space, data):
203203
def on_mouse_press(self, x, y, button, modifiers):
204204
""" Called whenever the mouse button is clicked. """
205205

206-
bullet = arcade.SpriteSolidColor(5, 5, arcade.color.RED)
206+
bullet = arcade.SpriteSolidColor(width=5, height=5, color=arcade.color.RED)
207207
self.bullet_list.append(bullet)
208208

209209
# Position the bullet at the player's current location

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ classifiers = [
1515
"Programming Language :: Python :: 3.10",
1616
"Programming Language :: Python :: 3.11",
1717
"Programming Language :: Python :: 3.12",
18+
"Programming Language :: Python :: 3.13",
1819
"Programming Language :: Python :: Implementation :: CPython",
1920
"Topic :: Software Development :: Libraries :: Python Modules",
2021
]
@@ -25,7 +26,7 @@ dependencies = [
2526
# Expected future dev preview release on PyPI (not yet released)
2627
'pyglet==2.1.dev7',
2728
"pillow~=10.4.0",
28-
"pymunk~=6.8.1",
29+
"pymunk~=6.9.0",
2930
"pytiled-parser~=2.2.5",
3031
]
3132
dynamic = ["version"]

0 commit comments

Comments
 (0)