From 4d77862b4d9150b43ee6d68a49bd0657c9c29409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Grenotton?= Date: Sun, 19 Nov 2023 19:07:59 +0100 Subject: [PATCH] Re-introduce python 3.8 support Close #33 --- .github/workflows/pythonpackage.yaml | 2 +- README.md | 2 +- pyproject.toml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pythonpackage.yaml b/.github/workflows/pythonpackage.yaml index 4433945..c1a1846 100644 --- a/.github/workflows/pythonpackage.yaml +++ b/.github/workflows/pythonpackage.yaml @@ -12,7 +12,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] platform: [ubuntu-latest, macos-latest] #, windows-latest] runs-on: ${{ matrix.platform }} diff --git a/README.md b/README.md index 8a1e398..d9c4cbc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Python: 3.9, 3.10, 3.11, 3.12](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)](https://www.python.org) +[![Python: 3.8, 3.9, 3.10, 3.11, 3.12](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)](https://www.python.org) ![GitHub](https://img.shields.io/github/license/agrenott/pyhgtmap) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/agrenott/pyhgtmap/pythonpackage.yaml) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) diff --git a/pyproject.toml b/pyproject.toml index c5dceee..e6daef1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ keywords = ["osm", "OpenStreetMap", "countour", "SRTM", "elevation"] license = "GPL-2.0-or-later" name = "pyhgtmap" readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.8" [project.optional-dependencies] geotiff = [ @@ -92,7 +92,7 @@ test_cov = [ typing = "mypy {args}" [[tool.hatch.envs.test.matrix]] -python = ["3.9", "3.10", "3.11", "3.12"] +python = ["3.8", "3.9", "3.10", "3.11", "3.12"] [tool.hatch.envs.geotiff] # Env for optional geotiff dependencies