💥 Stop supporting EOL djangos and pythons

This commit is contained in:
Nikolai R Kristiansen 2022-08-15 19:40:50 +02:00
parent 5f1731dca3
commit fec806abf9
2 changed files with 8 additions and 15 deletions

View File

@ -46,16 +46,15 @@ setup(
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries",
"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",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: Implementation :: PyPy",
"Framework :: Django", "Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2", "Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
], ],
keywords="api graphql protocol rest relay graphene", keywords="api graphql protocol rest relay graphene",
packages=find_packages(exclude=["tests", "examples", "examples.*"]), packages=find_packages(exclude=["tests", "examples", "examples.*"]),
@ -63,7 +62,7 @@ setup(
"graphene>=3.0,<4", "graphene>=3.0,<4",
"graphql-core>=3.1.0,<4", "graphql-core>=3.1.0,<4",
"graphql-relay>=3.1.1,<4", "graphql-relay>=3.1.1,<4",
"Django>=2.2", "Django>=3.2",
"promise>=2.1", "promise>=2.1",
"text-unidecode", "text-unidecode",
], ],

14
tox.ini
View File

@ -1,13 +1,11 @@
[tox] [tox]
envlist = envlist =
py{36,37,38,39}-django{22,30,31}, py{37,38,39,310}-django32,
py{36,37,38,39,310}-django32, py{38,39,310}-django{40,41,main},
py{38,39,310}-django{40,main},
black,flake8 black,flake8
[gh-actions] [gh-actions]
python = python =
3.6: py36
3.7: py37 3.7: py37
3.8: py38 3.8: py38
3.9: py39 3.9: py39
@ -15,11 +13,9 @@ python =
[gh-actions:env] [gh-actions:env]
DJANGO = DJANGO =
2.2: django22
3.0: django30
3.1: django31
3.2: django32 3.2: django32
4.0: django40 4.0: django40
4.1: django41
main: djangomain main: djangomain
[testenv] [testenv]
@ -30,11 +26,9 @@ setenv =
deps = deps =
-e.[test] -e.[test]
psycopg2-binary psycopg2-binary
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<4.0 django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1 django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
djangomain: https://github.com/django/django/archive/main.zip djangomain: https://github.com/django/django/archive/main.zip
commands = {posargs:py.test --cov=graphene_django graphene_django examples} commands = {posargs:py.test --cov=graphene_django graphene_django examples}