From 4f17a7780f853f310fae78fa24d5a0b928b12875 Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Fri, 23 Oct 2026 05:56:27 -0400 Subject: [PATCH 1/3] Add Python 3.15 to the CI matrix --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cf8743eb7..61e58ae4c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.15'] name: Python ${{ matrix.python-version }} steps: @@ -46,4 +46,4 @@ jobs: REPL_ID: hello # Arcade checks for this to disable anti-aliasing run: | xvfb-run --auto-servernum uv run arcade - xvfb-run --auto-servernum uv run pytest --maxfail=10 \ No newline at end of file + xvfb-run --auto-servernum uv run pytest --maxfail=10 From c5b83d98c89fd1fe582cc23d826942447573d91d Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Fri, 23 Oct 2026 05:58:30 -0400 Subject: [PATCH 2/3] Remove Python 3.10 from the CI matrix --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61e58ae4c..ca44ca742 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.15'] + python-version: ['3.11', '3.12', '3.13', '3.14', '3.15'] name: Python ${{ matrix.python-version }} steps: From aa2b063584acc20437ba09cfa5fb311bee53652a Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Fri, 23 Oct 2026 06:56:16 -0400 Subject: [PATCH 3/3] Account for Python 3.15 differences --- tests/unit/color/test_module_color.py | 9 ++++++++- tests/unit/color/test_module_csscolor.py | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/tests/unit/color/test_module_color.py b/tests/unit/color/test_module_color.py index 0ab742fb1..1a7f0ba85 100644 --- a/tests/unit/color/test_module_color.py +++ b/tests/unit/color/test_module_color.py @@ -1,6 +1,13 @@ +import sys + + def test_colors(): from arcade import color names = color.__dict__.keys() + + # py3.15 + n_extra = int(sys.version_info <= (3, 15)) + # number of colors + 1 real import - assert 1016 + 1 == len(names) + assert 1016 + n_extra == len(names) diff --git a/tests/unit/color/test_module_csscolor.py b/tests/unit/color/test_module_csscolor.py index dce43eba3..193dbf35d 100644 --- a/tests/unit/color/test_module_csscolor.py +++ b/tests/unit/color/test_module_csscolor.py @@ -1,6 +1,13 @@ +import sys + + def test_csscolors(): from arcade import csscolor names = csscolor.__dict__.keys() + + # py3.15+ + n_extra = int(sys.version_info <= (3, 15)) + # number of colors + 1 import - assert 156 + 1 == len(names) + assert 156 + n_extra == len(names)