From b864cfe4903a48de07cda0577bb6831a12dc1cf3 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Thu, 21 Sep 2023 20:33:37 +0200 Subject: [PATCH] Drop Python 2.7 support --- .github/workflows/tests.yml | 4 +--- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ad015c6..1ec8c65 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,11 +6,9 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11", "3.10", "3.9", "3.8", "2.7"] + python-version: ["3.11", "3.10", "3.9", "3.8"] plone-version: ["6.0", "5.2"] exclude: - - python-version: 2.7 - plone-version: 6.0 - python-version: 3.11 plone-version: 5.2 - python-version: 3.10 diff --git a/setup.py b/setup.py index 5b271a0..0aad0df 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ def read(*rnames): "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", @@ -49,7 +49,7 @@ def read(*rnames): namespace_packages=["plone"], include_package_data=True, zip_safe=False, - python_requires=">=2.7", + python_requires=">=3.8", extras_require=dict( test=[ "plone.app.testing[robot]>=4.2.2",