Skip to content

Commit 7c208da

Browse files
committed
Drop python 3.9
1 parent 8b269a0 commit 7c208da

File tree

18 files changed

+25
-36
lines changed

18 files changed

+25
-36
lines changed

.github/workflows/build-sdl3.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353

5454
steps:
5555
- uses: actions/[email protected]
56+
- uses: actions/setup-python@v6
57+
with:
58+
python-version: '3.14'
5659

5760
- name: Install pygame deps (linux)
5861
if: matrix.os == 'ubuntu-24.04'

.github/workflows/run-ubuntu-checks.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ jobs:
5353
os: [ ubuntu-24.04 ]
5454
# check our min python (minor) version and our max python (minor) version
5555
python: [
56-
3.9.23,
57-
3.13.5,
58-
3.14.0rc1
56+
3.10.17,
57+
3.14.0,
5958
]
6059

6160
env:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Dependency versions:
139139

140140

141141
+----------+------------------------+
142-
| CPython | >= 3.9 (Or use PyPy3) |
142+
| CPython | >= 3.10 (Or use PyPy3) |
143143
+----------+------------------------+
144144
| SDL | >= 2.0.14 |
145145
+----------+------------------------+

buildconfig/stubs/pygame/pixelarray.pyi

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
import sys
2+
from types import EllipsisType
23
from typing import Any, Union, overload
34

45
from pygame.color import Color
56
from pygame.surface import Surface
67
from pygame.typing import SequenceLike
78

8-
# 'ellipsis' existed in typeshed pre 3.10, now we use EllipsisType which is
9-
# the modern standard library equivalent.
10-
if sys.version_info >= (3, 10):
11-
from types import EllipsisType
12-
else:
13-
EllipsisType = ellipsis
14-
159
_PixelColor = Union[int, Color, tuple[int, int, int], tuple[int, int, int, int]]
1610

1711
class PixelArray:

buildconfig/stubs/pygame/rect.pyi

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@ if sys.version_info >= (3, 11):
1818
else:
1919
from typing_extensions import Self
2020

21-
# 'ellipsis' existed in typeshed pre 3.10, now we use EllipsisType which is
22-
# the modern standard library equivalent.
23-
if sys.version_info >= (3, 10):
24-
from types import EllipsisType
25-
else:
26-
EllipsisType = ellipsis
21+
from types import EllipsisType
2722

2823
_N = TypeVar("_N", int, float)
2924
_K = TypeVar("_K")

docs/readmes/README.es.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ El módulo surfarray necesita el paquete python numpy, para sus matrices numéri
117117
Versiones de dependencia:
118118

119119
+----------+-----------------------------+
120-
| CPython | >= 3.9 (Ou utiliser PyPy3) |
120+
| CPython | >= 3.10 (Ou utiliser PyPy3) |
121121
+----------+-----------------------------+
122122
| SDL | >= 2.0.14 |
123123
+----------+-----------------------------+

docs/readmes/README.fa.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Dependencies (وابستگی ها)
189189
مشاهده کنید.
190190

191191
+----------+------------------------+
192-
| CPython | >= 3.9 (Or use PyPy3) |
192+
| CPython | >= 3.10 (Or use PyPy3) |
193193
+----------+------------------------+
194194
| SDL | >= 2.0.14 |
195195
+----------+------------------------+

docs/readmes/README.fr.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ multidimensionnels.
146146
Versions des dépendances:
147147

148148
+----------+-----------------------------+
149-
| CPython | >= 3.9 (Ou utiliser PyPy3) |
149+
| CPython | >= 3.10 (Ou utiliser PyPy3) |
150150
+----------+-----------------------------+
151151
| SDL | >= 2.0.14 |
152152
+----------+-----------------------------+

docs/readmes/README.gr.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ pygame.org ιστοσελίδα ώστε άλλοι να μάθουν και ν
140140

141141

142142
+----------+------------------------+
143-
| CPython | >= 3.9 (Or use PyPy3) |
143+
| CPython | >= 3.10 (Or use PyPy3) |
144144
+----------+------------------------+
145145
| SDL | >= 2.0.14 |
146146
+----------+------------------------+

docs/readmes/README.it.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Le versioni dei requisiti:
140140

141141

142142
+----------+------------------------+
143-
| CPython | >= 3.9 (Or use PyPy3) |
143+
| CPython | >= 3.10 (Or use PyPy3) |
144144
+----------+------------------------+
145145
| SDL | >= 2.0.14 |
146146
+----------+------------------------+

0 commit comments

Comments
 (0)