diff --git a/.github/workflows/.tests-python.yml b/.github/workflows/.tests-python.yml index e3da4f7..d64580a 100644 --- a/.github/workflows/.tests-python.yml +++ b/.github/workflows/.tests-python.yml @@ -12,7 +12,7 @@ jobs: container: python:${{ matrix.python-version }} strategy: matrix: - python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] + python-version: [ "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v4 diff --git a/mypy.ini b/mypy.ini index a21f37d..a9bad9c 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,6 +1,6 @@ # Global options: [mypy] -python_version = 3.9 +python_version = 3.10 disallow_untyped_defs = True ignore_missing_imports = True diff --git a/poetry.lock b/poetry.lock index 3d60157..a937087 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.3.2 and should not be changed by hand. [[package]] name = "cachecontrol" @@ -468,7 +468,7 @@ description = "A lil' TOML parser" optional = true python-versions = ">=3.8" groups = ["main"] -markers = "extra == \"dev\" and python_version < \"3.11\"" +markers = "extra == \"dev\" and python_version == \"3.10\"" files = [ {file = "tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249"}, {file = "tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6"}, @@ -557,5 +557,5 @@ filecache = ["filelock"] [metadata] lock-version = "2.1" -python-versions = ">=3.9" -content-hash = "bab39529664dc819d2650b567842b5c24741efbd78c91373fcbf470abd746da6" +python-versions = ">=3.10" +content-hash = "f7245edd61ad06ad23ba40aa872c82b8ddaa3fb5fc76dafdb5fb3325666a1fd3" diff --git a/pyproject.toml b/pyproject.toml index bb09930..5b7f1c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,14 +15,13 @@ classifiers = [ "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", ] -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "cachecontrol>=0.14.3", diff --git a/staticmap3/staticmap.py b/staticmap3/staticmap.py index a929cc8..6607e3a 100644 --- a/staticmap3/staticmap.py +++ b/staticmap3/staticmap.py @@ -463,7 +463,7 @@ def _draw_base_layer(self, image: "Image.Image") -> None: for tile in tiles ] - for tile, future in zip(tiles, futures): + for tile, future in zip(tiles, futures, strict=True): x, y, url = tile try: