Drop support for Python 3.6

This commit is contained in:
Hasan Ramezani 2022-08-17 22:54:39 +02:00
parent b354d90c20
commit 8723a0e34e
5 changed files with 5 additions and 5 deletions

View file

@ -9,7 +9,7 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10']
services:
postgres:

View file

@ -9,6 +9,7 @@ Unreleased
- Add French translation
- Drop Django 1.7 workaround from `select_subclasses()`
- Drop support for `Django < 3.2`
- Drop support for `Python 3.6`
4.2.0 (2021-10-11)
------------------

View file

@ -18,6 +18,6 @@ Dependencies
============
``django-model-utils`` supports `Django`_ 3.2+ (latest bugfix
release in each series only) on Python 3.6+.
release in each series only) on Python 3.7+.
.. _Django: http://www.djangoproject.com/

View file

@ -29,6 +29,7 @@ setup(
maintainer='JazzBand',
url='https://github.com/jazzband/django-model-utils',
packages=find_packages(exclude=['tests*']),
python_requires=">=3.7",
install_requires=['Django>=3.2'],
classifiers=[
'Development Status :: 5 - Production/Stable',
@ -38,7 +39,6 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',

View file

@ -1,13 +1,12 @@
[tox]
envlist =
py{36,37,38,39,310}-dj32
py{37,38,39,310}-dj32
py{38,39,310}-dj{40,main}
flake8
isort
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38, flake8, isort
3.9: py39