From ca1415966132c55d4559612190c2284520887ea5 Mon Sep 17 00:00:00 2001 From: Sylvain Brunato Date: Tue, 14 Nov 2023 17:54:40 +0100 Subject: [PATCH] feat: remove python3.7 and add python3.12 --- .github/workflows/deploy.yml | 4 ++-- .github/workflows/test.yml | 10 +++++----- setup.py | 2 +- tox.ini | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bcc9c0e..9df12a1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,10 +15,10 @@ jobs: - name: Checkout source uses: actions/checkout@v2 - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - name: Check that the current version isn't already on PyPi run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 10a1ef3..e2a37fb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,10 +16,10 @@ jobs: steps: - name: Checkout the repo uses: actions/checkout@v2 - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - name: Run pre-commit action uses: pre-commit/action@v2.0.0 @@ -28,7 +28,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: [3.7, 3.11] + python-version: [3.8, 3.12] os: [ubuntu-latest] steps: - name: Checkout the repo @@ -65,10 +65,10 @@ jobs: steps: - name: Checkout the repo uses: actions/checkout@v2 - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - name: Update pip run: python -m pip install --upgrade pip - name: Get pip cache dir diff --git a/setup.py b/setup.py index e05def1..a974a29 100644 --- a/setup.py +++ b/setup.py @@ -57,11 +57,11 @@ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering :: GIS", ], diff --git a/tox.ini b/tox.ini index de8f2cf..f7f5028 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,15 @@ [tox] -envlist = py37, py38, py39, py10, py311, pypi, linters +envlist = py38, py39, py10, py311, py312, pypi, linters skipsdist = True # Mapping required by tox-gh-actions, only used in CI [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] deps =