From 6131038c00fd778c94f4701edc32fbab898ef4fe Mon Sep 17 00:00:00 2001 From: Felix Moessbauer Date: Sun, 23 Apr 2023 11:42:24 +0200 Subject: [PATCH] drop support for Python 3.5 As all currently supported distros provide at least python 3.6, we drop the support for 3.5. At time of this commit, the python versions of the supported distros are as following: - Debian: 3.7 (buster) - Ubuntu: 3.7 (18.04) - Fedora: 3.11 (Fedora 36) - RHEL: 2.x (RHEL 7), 3.6 (RHEL 8) - OpenSUSE: 3.6 (Leap / 15.4) While updating the lower bound version, we also unify the upper bound in the setup.py script with the versions tested in the CI. Signed-off-by: Felix Moessbauer Signed-off-by: Jan Kiszka --- .github/workflows/next.yml | 2 +- setup.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index 57a52d3..14c3c64 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] steps: - name: Check out repo uses: actions/checkout@v3 diff --git a/setup.py b/setup.py index fccff1a..cec38c7 100644 --- a/setup.py +++ b/setup.py @@ -70,11 +70,12 @@ setup( 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', ], keywords='OpenEmbedded bitbake development', @@ -95,6 +96,6 @@ setup( 'kconfiglib>=14.1.0,<15', ], - # At least python 3.5 is needed by now for PyYAML: - python_requires='>=3.5', + # At least python 3.6 is needed by now: + python_requires='>=3.6', )