Skip to content

Commit 7429f0b

Browse files
authored
Drop support for py39 (#108)
1 parent 59152c0 commit 7429f0b

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ jobs:
6565
fail-fast: false
6666
matrix:
6767
include:
68-
- name: Test py39
69-
os: ubuntu-latest
70-
pyversion: '3.9'
7168
- name: Test py310
7269
os: ubuntu-latest
7370
pyversion: '3.10'

docs/start.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Installation
55
------------
66

77
You can install ``rendercanvas`` via pip (or most other Python package managers).
8-
Python 3.9 or higher is required. Pypy is supported.
8+
Python 3.10 or higher is required. Pypy is supported.
99

1010
.. code-block:: bash
1111

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ keywords = [
1717
"glfw",
1818
"jupyter",
1919
]
20-
requires-python = ">= 3.9"
20+
requires-python = ">= 3.10"
2121
dependencies = ["sniffio"]
2222
[project.optional-dependencies]
2323
# For users

rendercanvas/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def get_loop(self) -> BaseLoop:
8787
"""Get the currently associated loop (can be None for canvases that don't run a scheduler)."""
8888
return self._loop
8989

90-
def get_canvases(self) -> List[BaseRenderCanvas]:
90+
def get_canvases(self) -> List["BaseRenderCanvas"]:
9191
"""Get a list of currently active (not-closed) canvases for this group."""
9292
return [canvas for canvas in self._canvases if not canvas.get_closed()]
9393

rendercanvas/utils/bitmappresentadapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def _create_bind_groups(self):
251251

252252
bind_groups = []
253253
for entries, bind_group_layout in zip(
254-
bind_groups_entries, self._bind_group_layouts
254+
bind_groups_entries, self._bind_group_layouts, strict=False
255255
):
256256
bind_groups.append(
257257
device.create_bind_group(layout=bind_group_layout, entries=entries)

rendercanvas/utils/cube.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,9 @@ def create_pipeline_layout(device):
202202
bind_group_layouts = []
203203
bind_groups = []
204204

205-
for entries, layout_entries in zip(bind_groups_entries, bind_groups_layout_entries):
205+
for entries, layout_entries in zip(
206+
bind_groups_entries, bind_groups_layout_entries, strict=False
207+
):
206208
bind_group_layout = device.create_bind_group_layout(entries=layout_entries)
207209
bind_group_layouts.append(bind_group_layout)
208210
bind_groups.append(

0 commit comments

Comments
 (0)