From 85343b1870c55d07289beef0ca059f0fc77665c8 Mon Sep 17 00:00:00 2001 From: Sijis Aviles Date: Mon, 28 Aug 2023 00:21:14 -0500 Subject: [PATCH] Removing py37 support (#1652) * chore: remove py37 testing * chore: update miminum supported version in setup * docs: add details to CHANGES --- .github/workflows/python-package.yml | 2 +- CHANGES.rst | 1 + setup.py | 5 ++--- tox.ini | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 50af66bbe..3f89046a9 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.7, 3.8, 3.9, "3.10"] + python-version: [3.8, 3.9, "3.10"] steps: - uses: actions/checkout@v3.5.3 diff --git a/CHANGES.rst b/CHANGES.rst index 78fc7c6dd..5928b19a5 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,6 +5,7 @@ breaking: - backend/slack: remove slack and slack_rtm built-in backends (#1581) - core/logging: deprecate SENTRY_TRANSPORT config (#1604) +- core: removing py37 support (#1652) features: diff --git a/setup.py b/setup.py index 2d1d531ad..2ce7b2503 100755 --- a/setup.py +++ b/setup.py @@ -21,8 +21,8 @@ py_version = sys.version_info[:2] -if py_version < (3, 7): - raise RuntimeError("Errbot requires Python 3.7 or later") +if py_version < (3, 8): + raise RuntimeError("Errbot requires Python 3.8 or later") VERSION_FILE = os.path.join("errbot", "version.py") @@ -148,7 +148,6 @@ def read(fname, encoding="ascii"): "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", diff --git a/tox.ini b/tox.ini index 3df7a5bbf..17efb4066 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37,py38,py39,py310,codestyle,dist-check,sort,security,docs +envlist = py38,py39,py310,codestyle,dist-check,sort,security,docs skip_missing_interpreters = True [testenv]