Add support to python 3.10 (#455)

This commit is contained in:
Jair Henrique 2021-10-21 15:56:14 -03:00 committed by GitHub
parent b89f5ddb4e
commit a706e4798c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 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', 'pypy3']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy3']
steps:
- uses: actions/checkout@v2

View file

@ -37,6 +37,7 @@ setup(
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
@ -47,6 +48,7 @@ setup(
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',

View file

@ -1,7 +1,8 @@
[tox]
envlist =
py{36,37,38,39,py3}-dj{22,30,31,32}-{unittest,pytest}
py{38,39}-djmain-{unittest,pytest}
py{38,39,310}-dj{40,main}-{unittest,pytest}
py310-dj32-{unittest,pytest}
[testenv]
deps =
@ -12,7 +13,8 @@ deps =
dj22: Django>=2.2,<3.0
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django~=3.2b
dj32: Django>=3.2,<4
dj40: Django>=4.0a,<4.1
djmain: https://github.com/django/django/archive/main.tar.gz
pytest: pytest
pytest: pytest-cov
@ -35,4 +37,5 @@ python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
pypy3: pypy3