Skip to content

Commit 35fcdfa

Browse files
eruvanoseinarf
andauthored
Drop 3.9 (#2622)
* drop Python 3.9 🥳 * update to Python 3.10 code * fix linter * fix future import * Tutorial line fixes --------- Co-authored-by: Einar Forselv <eforselv@gmail.com>
1 parent 9e24612 commit 35fcdfa

File tree

187 files changed

+400
-967
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+400
-967
lines changed

.github/workflows/selfhosted_runner.yml

Lines changed: 1 addition & 1 deletion
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', '3.13']
21+
python-version: ['3.10', '3.11', '3.12', '3.13']
2222
architecture: ['x64']
2323

2424
steps:

CHANGELOG.md

Lines changed: 6 additions & 1 deletion

arcade/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
A Python simple, easy to use module for creating 2D games.
55
"""
66

7-
from __future__ import annotations
8-
97
# flake8: noqa: E402
108
# Error out if we import Arcade with an incompatible version of Python.
119
import sys

arcade/__main__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from arcade.management import show_info
42

53
if __name__ == "__main__":

arcade/__pyinstaller/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import os
42

53

arcade/__pyinstaller/hook-arcade.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
https://api.arcade.academy/en/latest/tutorials/bundling_with_pyinstaller/index.html
1111
"""
1212

13-
from __future__ import annotations
14-
1513
from importlib.util import find_spec
1614
from pathlib import Path
1715

arcade/cache/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from typing import Any
42
from .hit_box import HitBoxCache
53
from .texture import TextureCache

arcade/cache/texture.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from pathlib import Path
42
from typing import TYPE_CHECKING
53

arcade/camera/data_types.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
wide usage throughout Arcade's camera code.
55
"""
66

7-
from __future__ import annotations
8-
97
from contextlib import contextmanager
108
from typing import Final, Generator, Protocol
119

arcade/camera/grips/position.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from pyglet.math import Vec3
42

53
from arcade.camera import CameraData

0 commit comments

Comments
 (0)