drop python 3.6

This commit is contained in:
Asif Saif Uddin 2022-06-08 20:03:35 +06:00
parent 5185cc9348
commit bcf0637ed0
4 changed files with 6 additions and 8 deletions

View File

@ -14,7 +14,6 @@ jobs:
strategy: strategy:
matrix: matrix:
python-version: python-version:
- '3.6'
- '3.7' - '3.7'
- '3.8' - '3.8'
- '3.9' - '3.9'

View File

@ -54,7 +54,7 @@ There is a live example API for testing purposes, [available here][sandbox].
# Requirements # 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) * 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 We **highly recommend** and only officially support the latest patch release of

View File

@ -8,7 +8,7 @@ from io import open
from setuptools import find_packages, setup from setuptools import find_packages, setup
CURRENT_PYTHON = sys.version_info[:2] 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. # This check and everything above must remain compatible with Python 2.7.
if CURRENT_PYTHON < REQUIRED_PYTHON: if CURRENT_PYTHON < REQUIRED_PYTHON:
@ -83,7 +83,7 @@ setup(
packages=find_packages(exclude=['tests*']), packages=find_packages(exclude=['tests*']),
include_package_data=True, include_package_data=True,
install_requires=["django>=2.2", "pytz"], install_requires=["django>=2.2", "pytz"],
python_requires=">=3.6", python_requires=">=3.7",
zip_safe=False, zip_safe=False,
classifiers=[ classifiers=[
'Development Status :: 5 - Production/Stable', 'Development Status :: 5 - Production/Stable',
@ -100,7 +100,6 @@ setup(
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Programming Language :: Python', 'Programming Language :: Python',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.9',

View File

@ -1,8 +1,8 @@
[tox] [tox]
envlist = envlist =
{py36,py37,py38,py39}-django22, {py37,py38,py39}-django22,
{py36,py37,py38,py39}-django31, {py37,py38,py39}-django31,
{py36,py37,py38,py39,py310}-django32, {py37,py38,py39,py310}-django32,
{py38,py39,py310}-{django40,django41,djangomain}, {py38,py39,py310}-{django40,django41,djangomain},
base,dist,docs, base,dist,docs,