From bcf0637ed08e8fa1cf12488e24b1c691fd156b77 Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Wed, 8 Jun 2022 20:03:35 +0600 Subject: [PATCH] drop python 3.6 --- .github/workflows/main.yml | 1 - README.md | 2 +- setup.py | 5 ++--- tox.ini | 6 +++--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c88dc55cd..4b3d1f197 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,6 @@ jobs: strategy: matrix: python-version: - - '3.6' - '3.7' - '3.8' - '3.9' diff --git a/README.md b/README.md index e6e43047e..ba7ffcbd0 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ There is a live example API for testing purposes, [available here][sandbox]. # Requirements -* Python (3.6, 3.7, 3.8, 3.9, 3.10) +* Python (3.7, 3.8, 3.9, 3.10) * Django (2.2, 3.0, 3.1, 3.2, 4.0, 4.1) We **highly recommend** and only officially support the latest patch release of diff --git a/setup.py b/setup.py index cb6708c6e..e8142c7df 100755 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ from io import open from setuptools import find_packages, setup CURRENT_PYTHON = sys.version_info[:2] -REQUIRED_PYTHON = (3, 6) +REQUIRED_PYTHON = (3, 7) # This check and everything above must remain compatible with Python 2.7. if CURRENT_PYTHON < REQUIRED_PYTHON: @@ -83,7 +83,7 @@ setup( packages=find_packages(exclude=['tests*']), include_package_data=True, install_requires=["django>=2.2", "pytz"], - python_requires=">=3.6", + python_requires=">=3.7", zip_safe=False, classifiers=[ 'Development Status :: 5 - Production/Stable', @@ -100,7 +100,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', diff --git a/tox.ini b/tox.ini index c275a0abe..5fe770c57 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] envlist = - {py36,py37,py38,py39}-django22, - {py36,py37,py38,py39}-django31, - {py36,py37,py38,py39,py310}-django32, + {py37,py38,py39}-django22, + {py37,py38,py39}-django31, + {py37,py38,py39,py310}-django32, {py38,py39,py310}-{django40,django41,djangomain}, base,dist,docs,