diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4faa3d..e321e6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,9 +65,6 @@ jobs: fail-fast: false matrix: include: - - name: Test py39 - os: ubuntu-latest - pyversion: '3.9' - name: Test py310 os: ubuntu-latest pyversion: '3.10' diff --git a/docs/start.rst b/docs/start.rst index 609f72d..a2817d7 100644 --- a/docs/start.rst +++ b/docs/start.rst @@ -5,7 +5,7 @@ Installation ------------ You can install ``rendercanvas`` via pip (or most other Python package managers). -Python 3.9 or higher is required. Pypy is supported. +Python 3.10 or higher is required. Pypy is supported. .. code-block:: bash diff --git a/pyproject.toml b/pyproject.toml index 6828a39..ecab45a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ keywords = [ "glfw", "jupyter", ] -requires-python = ">= 3.9" +requires-python = ">= 3.10" dependencies = ["sniffio"] [project.optional-dependencies] # For users diff --git a/rendercanvas/base.py b/rendercanvas/base.py index 1d22631..5c71f4f 100644 --- a/rendercanvas/base.py +++ b/rendercanvas/base.py @@ -87,7 +87,7 @@ def get_loop(self) -> BaseLoop: """Get the currently associated loop (can be None for canvases that don't run a scheduler).""" return self._loop - def get_canvases(self) -> List[BaseRenderCanvas]: + def get_canvases(self) -> List["BaseRenderCanvas"]: """Get a list of currently active (not-closed) canvases for this group.""" return [canvas for canvas in self._canvases if not canvas.get_closed()] diff --git a/rendercanvas/utils/bitmappresentadapter.py b/rendercanvas/utils/bitmappresentadapter.py index 9b18f44..d2ae12b 100644 --- a/rendercanvas/utils/bitmappresentadapter.py +++ b/rendercanvas/utils/bitmappresentadapter.py @@ -251,7 +251,7 @@ def _create_bind_groups(self): bind_groups = [] for entries, bind_group_layout in zip( - bind_groups_entries, self._bind_group_layouts + bind_groups_entries, self._bind_group_layouts, strict=False ): bind_groups.append( device.create_bind_group(layout=bind_group_layout, entries=entries) diff --git a/rendercanvas/utils/cube.py b/rendercanvas/utils/cube.py index eb27b2f..7e4c9f5 100644 --- a/rendercanvas/utils/cube.py +++ b/rendercanvas/utils/cube.py @@ -202,7 +202,9 @@ def create_pipeline_layout(device): bind_group_layouts = [] bind_groups = [] - for entries, layout_entries in zip(bind_groups_entries, bind_groups_layout_entries): + for entries, layout_entries in zip( + bind_groups_entries, bind_groups_layout_entries, strict=False + ): bind_group_layout = device.create_bind_group_layout(entries=layout_entries) bind_group_layouts.append(bind_group_layout) bind_groups.append(