From 46b910b1b2f892f964fd855c6544823e08ad2eaa Mon Sep 17 00:00:00 2001 From: Emanuele Palazzetti Date: Fri, 18 Apr 2025 19:51:16 +0200 Subject: [PATCH 1/2] tools: update GitHub test runners to Ubuntu 24.04 --- .github/workflows/building.yaml | 2 +- .github/workflows/linting.yaml | 2 +- .github/workflows/testing.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/building.yaml b/.github/workflows/building.yaml index e29a28e..ed076dc 100644 --- a/.github/workflows/building.yaml +++ b/.github/workflows/building.yaml @@ -16,7 +16,7 @@ concurrency: jobs: econnect: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Check out repository code diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index 76d8b0b..a3acb3a 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -16,7 +16,7 @@ concurrency: jobs: econnect: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Check out repository code diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index 131e314..8f72bf5 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -16,7 +16,7 @@ concurrency: jobs: econnect: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 env: TOX_SKIP_ENV: lint From 87c540c96c8df04f1bdced293140faa54fac44fe Mon Sep 17 00:00:00 2001 From: Emanuele Palazzetti Date: Fri, 18 Apr 2025 19:52:54 +0200 Subject: [PATCH 2/2] feat(python)!: support Python 3.9 -> 3.13 --- .github/workflows/building.yaml | 2 +- .github/workflows/linting.yaml | 2 +- .github/workflows/testing.yaml | 2 +- pyproject.toml | 5 +++-- tox.ini | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/building.yaml b/.github/workflows/building.yaml index ed076dc..3e8923f 100644 --- a/.github/workflows/building.yaml +++ b/.github/workflows/building.yaml @@ -26,7 +26,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: | - 3.11 + 3.13 - name: Upgrade pip and install required tools run: | diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index a3acb3a..1873e27 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -25,7 +25,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.12' + python-version: '3.13' - name: Upgrade pip and install required tools run: | diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index 8f72bf5..3deb775 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -28,11 +28,11 @@ jobs: uses: actions/setup-python@v4 with: python-version: | - 3.8 3.9 3.10 3.11 3.12 + 3.13 - name: Upgrade pip and install required tools run: | diff --git a/pyproject.toml b/pyproject.toml index 1d0dee8..ddf14ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "econnect-python" dynamic = ["version"] description = 'API adapter used to control programmatically an Elmo alarm system' readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.9" license = "Apache-2.0" keywords = [] authors = [ @@ -16,10 +16,11 @@ authors = [ classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "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", "Programming Language :: Python :: Implementation :: PyPy", ] diff --git a/tox.ini b/tox.ini index 496796c..8c988c6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,11 @@ [tox] envlist = lint - py3.8 py3.9 py3.10 py3.11 py3.12 + py3.13 [testenv] allowlist_externals = pytest