From 4a15c7932855ecfb6c5b7c7c92bd1539c7219e2c Mon Sep 17 00:00:00 2001 From: amarandon <156077613+amarandon@users.noreply.github.com> Date: Wed, 13 Nov 2024 10:11:44 +0100 Subject: [PATCH] build: update python versions (#67) --- .github/workflows/deploy.yml | 4 ++-- .github/workflows/test.yml | 10 +++++----- setup.py | 2 +- tox.ini | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9df12a1..ca40935 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.8 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: - python-version: "3.8" + python-version: "3.9" - 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 fa8e585..53ac975 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.8 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: - python-version: "3.8" + python-version: "3.9" - 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.8, "3.12"] + python-version: [3.9, "3.13"] os: [ubuntu-latest, windows-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.8 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: - python-version: "3.8" + python-version: "3.9" - name: Update pip run: python -m pip install --upgrade pip - name: Get pip cache dir diff --git a/setup.py b/setup.py index 990612d..9ce1fa9 100644 --- a/setup.py +++ b/setup.py @@ -55,11 +55,11 @@ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3", - "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 :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering :: GIS", ], diff --git a/tox.ini b/tox.ini index f7f5028..f1696ce 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,15 @@ [tox] -envlist = py38, py39, py10, py311, py312, pypi, linters +envlist = py39, py10, py311, py312, py313, pypi, linters skipsdist = True # Mapping required by tox-gh-actions, only used in CI [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 [testenv] deps = @@ -23,7 +23,7 @@ commands = allowlist_externals = /bin/bash commands = # Check that the long description is ready to be published on PyPI without errors - /bin/bash -c 'ERROR=$(\{ python setup.py --long-description | rst2html.py >/dev/null;\} 2>&1) && if [[ ! -z $ERROR ]];'\ + /bin/bash -c 'ERROR=$(\{ python setup.py --long-description | rst2html >/dev/null;\} 2>&1) && if [[ ! -z $ERROR ]];'\ 'then echo "README.rst is incompatible with PyPI reST renderer." && echo $ERROR && exit 1; fi' [testenv:linters]