diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index ef45785ac..a74022ad0 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -26,7 +26,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/.sonarcloud.properties b/.sonarcloud.properties index c3fdef718..924bb1f54 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -10,7 +10,7 @@ sonar.sources=src # Encoding of the source code. Default is default system encoding #sonar.sourceEncoding=UTF-8 -sonar.python.version=3.9, 3.10, 3.11, 3.12, 3.13 +sonar.python.version=3.10, 3.11, 3.12, 3.13 sonar.tests=tests #sonar.exclusions=path/to/generated/file.py, other-generated-file.dat diff --git a/changelog.d/+drop-py39.removed.md b/changelog.d/+drop-py39.removed.md new file mode 100644 index 000000000..3ef0dbf63 --- /dev/null +++ b/changelog.d/+drop-py39.removed.md @@ -0,0 +1 @@ +Dropped support for testing and running on Python 3.9 diff --git a/pyproject.toml b/pyproject.toml index 776caae79..05156ae8c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "argus-server" description = "Argus is an alert aggregator for monitoring systems" authors = [{name="Uninett Opensource", email="opensource@uninett.no"}] readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.10" license = {text = "GPL-3.0-or-later"} classifiers = [ "Framework :: Django", @@ -16,7 +16,6 @@ classifiers = [ "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", diff --git a/tox.ini b/tox.ini index bd261fe6a..59c5b9c6f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,6 @@ [tox] envlist = clean - py39-django{42} py{310,311,312}-django{42,50,51} py313-django51 coverage-html @@ -11,7 +10,6 @@ basepython = python3.12 [gh-actions] python = - 3.9: py39 3.10: py310 3.11: py311 3.12: py312