From f9c2dc8a38e524166479bcd347f04da04ad7defb Mon Sep 17 00:00:00 2001 From: Sijis Aviles Date: Sat, 26 Oct 2024 00:55:00 -0500 Subject: [PATCH] chore: remove python 3.8 support (#1707) * fix: remove extra py3.8 dependency * chore: remove py3.8 from pr testing * docs: add info to CHANGES * tests: remove py3.8 from tox --- .github/workflows/python-package.yml | 2 +- CHANGES.rst | 1 + setup.py | 7 ++----- tox.ini | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 2dc820ec3..d074805ba 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"] + python-version: [3.9, "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4.2.2 diff --git a/CHANGES.rst b/CHANGES.rst index aa519d75c..4a3c7b56f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -11,6 +11,7 @@ fixes: - chore: optimize Dockerfile (#1679) - docs: fix telegram install command (#1697) - chore: add python versions to test (#1705) +- chore: remove python 3.8 support (#1707) v6.2.0 (2024-01-01) ------------------- diff --git a/setup.py b/setup.py index 29b70613e..775ca22f0 100755 --- a/setup.py +++ b/setup.py @@ -21,8 +21,8 @@ py_version = sys.version_info[:2] -if py_version < (3, 8): - raise RuntimeError("Errbot requires Python 3.8 or later") +if py_version < (3, 9): + raise RuntimeError("Errbot requires Python 3.9 or later") VERSION_FILE = os.path.join("errbot", "version.py") @@ -42,9 +42,6 @@ "deepmerge==1.1.0", ] -if py_version < (3, 9): - deps.append("graphlib-backport==1.0.3") - src_root = os.curdir diff --git a/tox.ini b/tox.ini index 41454bfb5..1decf8245 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38,py39,py310,py311,py312,py312,codestyle,dist-check,sort,security,docs +envlist = py39,py310,py311,py312,py312,codestyle,dist-check,sort,security,docs skip_missing_interpreters = True [testenv]