From c15f98b15941f17d15b97db5f712be821edfce4f Mon Sep 17 00:00:00 2001 From: Bastian Krause Date: Thu, 10 Oct 2024 12:10:05 +0200 Subject: [PATCH 1/3] pyproject.toml: drop Python 3.8 support Signed-off-by: Bastian Krause --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6eab8df10..cbe943ca4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ authors = [ description = "embedded systems control library for development, testing and installation" readme = "README.rst" license = { file="LICENSE" } -requires-python = ">=3.8" +requires-python = ">=3.9" classifiers = [ "Intended Audience :: Developers", "Development Status :: 5 - Production/Stable", @@ -24,7 +24,6 @@ classifiers = [ "Topic :: Software Development :: Testing", "Framework :: Pytest", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -228,7 +227,7 @@ signature-mutators = ["labgrid.step.step"] [tool.tox] legacy_tox_ini = """ [tox] -envlist = py38, py39, py310, py311, py312 +envlist = py39, py310, py311, py312 isolated_build = true [testenv] From 76c21cf27c50e4a4931020687e1565795351d9aa Mon Sep 17 00:00:00 2001 From: Bastian Krause Date: Thu, 10 Oct 2024 12:10:20 +0200 Subject: [PATCH 2/3] github: drop Python 3.8 support Signed-off-by: Bastian Krause --- .github/workflows/push-pr-unit-tests.yml | 2 +- .github/workflows/reusable-unit-tests.yml | 1 - .github/workflows/scheduled-unit-tests.yml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push-pr-unit-tests.yml b/.github/workflows/push-pr-unit-tests.yml index 4eb35620d..ca44774fa 100644 --- a/.github/workflows/push-pr-unit-tests.yml +++ b/.github/workflows/push-pr-unit-tests.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] uses: ./.github/workflows/reusable-unit-tests.yml with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/reusable-unit-tests.yml b/.github/workflows/reusable-unit-tests.yml index 6a6eef797..921fd3114 100644 --- a/.github/workflows/reusable-unit-tests.yml +++ b/.github/workflows/reusable-unit-tests.yml @@ -47,7 +47,6 @@ jobs: run: | pip install -e ".[dev]" - name: Lint with pylint - if: inputs.python-version != '3.8' run: | pylint --list-msgs-enabled pylint labgrid diff --git a/.github/workflows/scheduled-unit-tests.yml b/.github/workflows/scheduled-unit-tests.yml index 87b4474db..edd55096b 100644 --- a/.github/workflows/scheduled-unit-tests.yml +++ b/.github/workflows/scheduled-unit-tests.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] branch: ['master'] uses: ./.github/workflows/reusable-unit-tests.yml with: From 8d68d8ba6dc8be8e8ebacdc17e7024cf2047dd8d Mon Sep 17 00:00:00 2001 From: Bastian Krause Date: Thu, 10 Oct 2024 12:19:11 +0200 Subject: [PATCH 3/3] CHANGES: drop Python 3.8 support Signed-off-by: Bastian Krause --- CHANGES.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index b2c4ce84c..9b4ac18b6 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -42,7 +42,7 @@ Due to the migration, 24.1 includes the following breaking changes: Other breaking changes include: -FIXME +- Support for Python 3.8 was dropped. Known issues in 24.1 ~~~~~~~~~~~~~~~~~~~~