From fcce80f11ce20f5fe106d7e7e6d67a2bcf421e3d Mon Sep 17 00:00:00 2001 From: mkoppmann Date: Sat, 17 Dec 2022 21:14:29 +0100 Subject: [PATCH] Drop support for Python 3.5 and 3.6 Both versions reached their end of life. Other dependencies are dropping their support too. --- .github/workflows/ci-python3.yml | 9 +-------- Changelog | 1 + README.md | 2 +- setup.py | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-python3.yml b/.github/workflows/ci-python3.yml index 140e8b8..c0ebd34 100644 --- a/.github/workflows/ci-python3.yml +++ b/.github/workflows/ci-python3.yml @@ -20,13 +20,7 @@ jobs: strategy: matrix: os: [ ubuntu-22.04, ubuntu-20.04, ubuntu-18.04 ] - python-version: [ '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11' ] - # Exclude unsupported OS/Python version combinations - exclude: - - os: ubuntu-22.04 - python-version: '3.5' - - os: ubuntu-22.04 - python-version: '3.6' + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -67,7 +61,6 @@ jobs: test/test.py -e --exit-early - name: Check package quality - continue-on-error: ${{ contains(fromJson('["3.5", "3.6"]'), matrix.python-version) }} run: pyroma -n 9 . - name: Check the completeness of MANIFEST.in diff --git a/Changelog b/Changelog index 64c8c15..84c03b0 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,6 @@ 2022-xx-xx - v3.0.1.dev0: * WARNING: This is a development snapshot, not a stable release. + * Drop support for Python 3.5 and 3.6. 2022-10-30 - v3.0.0: * Tested platforms: Linux and FreeBSD. If there is interest in supporting more platforms (e.g. OSX and Windows), please get in contact with the project. diff --git a/README.md b/README.md index 809693f..848145f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This is a [friendly fork of cfv](https://github.com/cfv-project/cfv) maintained ## Requirements -Python ≥ 3.5 – older versions might work, but are unsupported. +Python ≥ 3.7 – older versions might work, but are unsupported. For Python 2 support, see the [python2 branch](https://github.com/cfv-project/cfv/tree/python2). ### Optional diff --git a/setup.py b/setup.py index 0369c6e..b07b6fe 100644 --- a/setup.py +++ b/setup.py @@ -42,8 +42,6 @@ def _get_version(path): 'Topic :: Utilities', 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)', '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', @@ -56,7 +54,7 @@ def _get_version(path): 'Source Code': 'https://github.com/cfv-project/cfv', 'Original Project': 'http://cfv.sourceforge.net/', }, - python_requires='>=3.5', + python_requires='>=3.7', packages=find_packages('lib'), package_dir={'': 'lib'}, include_package_data=True,