From aa94231db864e96c827cacc4fa9005b94ba8c7d3 Mon Sep 17 00:00:00 2001 From: George Kettleborough Date: Thu, 24 Aug 2023 20:59:09 +0100 Subject: [PATCH] Add Python 3.8+ version requirement --- .github/workflows/test.yml | 11 +---------- setup.py | 3 +-- tox.ini | 5 ++--- 3 files changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 58ca06a..4b36cb8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', 'pypy-3.10'] + python-version: ['3.8', '3.9', '3.10', 'pypy-3.10'] django-version: ['2.2', '3.2', '4.0', '4.1', '4.2'] include: # Tox configuration for QA environment @@ -24,15 +24,6 @@ jobs: django-version: 'main' experimental: true exclude: - # Exclude Django 4.0 for Python 3.7 - - python-version: '3.7' - django-version: '4.0' - # Exclude Django 4.1 for Python 3.7 - - python-version: '3.7' - django-version: '4.1' - # Exclude Django 4.2 for Python 3.7 - - python-version: '3.7' - django-version: '4.2' # Exclude Django 2.2 for Python 3.10 - python-version: '3.10' django-version: '2.2' diff --git a/setup.py b/setup.py index d9ff57b..2c40e35 100755 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ long_description=open("README.rst").read() + "\n\n" + open("CHANGES.rst").read(), long_description_content_type="text/x-rst", license="MIT license", - python_requires=">=3.7", + python_requires=">=3.8", requires=["django (>=2.2)"], packages=["widget_tweaks", "widget_tweaks.templatetags"], classifiers=[ @@ -27,7 +27,6 @@ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "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 ca6bf60..551b374 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = - py{37,38,39,py3}-dj22 - py{37,38,39,310,py3}-dj32 + py{38,39,py3}-dj22 + py{38,39,310,py3}-dj32 py{38,39,310,py3}-dj40 py{38,39,310,py3}-dj41 py{38,39,310,py3}-dj42 @@ -10,7 +10,6 @@ envlist = [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310