diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0b4ee512d..a0dc879f5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11'] target: [pil, imagemagick, graphicsmagick, redis, wand, dbm] include: diff --git a/docs/requirements.rst b/docs/requirements.rst index 8907e04f9..9ab3e868d 100644 --- a/docs/requirements.rst +++ b/docs/requirements.rst @@ -4,7 +4,7 @@ Requirements Base requirements ================= -- `Python`_ 3.7+ +- `Python`_ 3.8+ - `Django`_ - :ref:`kvstore-requirements` - :ref:`image-library` diff --git a/setup.py b/setup.py index c5d60b234..5bbeeda67 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ url='https://github.com/jazzband/sorl-thumbnail', packages=find_packages(exclude=['tests', 'tests.*']), platforms='any', - python_requires='>=3.7', + python_requires='>=3.8', zip_safe=False, classifiers=[ 'Development Status :: 5 - Production/Stable', @@ -22,16 +22,17 @@ 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', - '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', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Multimedia :: Graphics', 'Framework :: Django', 'Framework :: Django :: 3.2', 'Framework :: Django :: 4.0', 'Framework :: Django :: 4.1', + 'Framework :: Django :: 4.2', ], setup_requires=['setuptools_scm'], ) diff --git a/tox.ini b/tox.ini index 03aa7894a..c6ec0f1fe 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,5 @@ [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 @@ -25,7 +24,6 @@ TARGET = skipsdist = True envlist = py38-qa, - py37-django32-{pil,imagemagick,graphicsmagick,redis,dynamodb,wand,pgmagick,dbm,vipsthumbnail} py{38,39,310,311}-django{32,40,41,42}-{pil,imagemagick,graphicsmagick,redis,dynamodb,wand,pgmagick,dbm,vipsthumbnail} [testenv]