Skip to content

Commit c64f17b

Browse files
committed
fix: switch to lowest supported python version for testing running
1 parent 224fcfe commit c64f17b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: "3.10"
19+
python-version: "3.8"
2020

2121
- name: Create venv for maturin develop
2222
run: python -m venv .venv

pysrc/fastquadtree/_base_quadtree.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Any,
99
Generic,
1010
Iterable,
11-
Self,
1211
Sequence,
1312
Tuple,
1413
TypeVar,
@@ -19,6 +18,8 @@
1918
from ._obj_store import ObjStore
2019

2120
if TYPE_CHECKING:
21+
from typing import Self # Only in Python 3.11+
22+
2223
from numpy.typing import NDArray
2324

2425
Bounds = Tuple[float, float, float, float]

0 commit comments

Comments
 (0)