Skip to content

Commit

Permalink
Dropped Python 3.6/Django 2.2 and 3.1 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Aug 7, 2022
1 parent aabb375 commit 74210d3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, '3.10']
python-version: [3.7, 3.8, 3.9, '3.10']
target: [pil, imagemagick, graphicsmagick, redis, wand, dbm]

include:
Expand Down
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Changes
=======

12.9.0
======
* Drop support for Django 2.2 and 3.1.
* Added support for Django 4.1.
* Drop support for Python 3.6.
* Fixed Pillow ANTIALIAS deprecation warning.

12.8.0
======
* Drop support for Django 3.0.
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Requirements

Base requirements
=================
- `Python`_ 3.6+
- `Python`_ 3.7+
- `Django`_
- :ref:`kvstore-requirements`
- :ref:`image-library`
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
url='https://github.com/jazzband/sorl-thumbnail',
packages=find_packages(exclude=['tests', 'tests.*']),
platforms='any',
python_requires='>=3.6',
python_requires='>=3.7',
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand All @@ -22,16 +22,13 @@
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'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',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Multimedia :: Graphics',
'Framework :: Django',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
Expand Down
8 changes: 2 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310

[gh-actions:env]
DJANGO =
2.2: django22
3.1: django31
3.2: django32
4.0: django40
4.1: django41
Expand All @@ -26,7 +23,8 @@ TARGET =
skipsdist = True
envlist =
py38-qa,
py{36,37,38,39,310}-django{22,31,32}-{pil,imagemagick,graphicsmagick,redis,dynamodb,wand,pgmagick,dbm,vipsthumbnail}
py37-django32-{pil,imagemagick,graphicsmagick,redis,dynamodb,wand,pgmagick,dbm,vipsthumbnail}
py{38,39,310}-django{32,40,41}-{pil,imagemagick,graphicsmagick,redis,dynamodb,wand,pgmagick,dbm,vipsthumbnail}

[testenv]
deps =
Expand All @@ -38,8 +36,6 @@ deps =
dynamodb: boto
pgmagick: pgmagick
wand: wand
django22: django>=2.2,<2.3
django31: django>=3.1,<3.2
django32: django>=3.2,<3.3
django40: django>=4.0,<4.1
django41: django>=4.1,<4.2
Expand Down

0 comments on commit 74210d3

Please sign in to comment.