Update Python and Django versions in tox.ini (#307)

* Update Python and Django versions in tox.ini

- remove Django 3.1
- add Django 4.0b1
- add Python 3.10

* Add python 3.10  in github action matrix

* Update tox.ini from django-debug-toolbar

* Fix whitespaces

* Add missing setup classifiers

* Fix typo in tox.ini

* Remove django 4 classifier
This commit is contained in:
Paolo Melchiorre 2021-10-27 12:16:26 +02:00 committed by GitHub
parent 5562322599
commit 9f38e87a58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View file

@ -13,7 +13,7 @@ jobs:
fail-fast: false fail-fast: false
max-parallel: 5 max-parallel: 5
matrix: 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: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View file

@ -58,6 +58,7 @@ setup(
'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',
'Topic :: Utilities', 'Topic :: Utilities',
], ],

10
tox.ini
View file

@ -5,8 +5,9 @@ minversion = 1.8
whitelist_externals = sphinx-build whitelist_externals = sphinx-build
envlist = envlist =
py36-checkqa py36-checkqa
py{36,37,38,39,py3}-dj{22,30,31,32} py{36,37,py3}-dj{22,31,32}
py{38,39}-djmain py{38,39}-dj{22,31,32,40,main}
py{310}-dj{40,main}
[gh-actions] [gh-actions]
python = python =
@ -14,6 +15,7 @@ python =
3.7: py37 3.7: py37
3.8: py38 3.8: py38
3.9: py39 3.9: py39
3.10: py310
pypy3: pypy3 pypy3: pypy3
[testenv] [testenv]
@ -24,9 +26,9 @@ setenv =
COVERAGE_PROCESS_START = {toxinidir}/setup.cfg COVERAGE_PROCESS_START = {toxinidir}/setup.cfg
deps = deps =
dj22: django~=2.2.17 dj22: django~=2.2.17
dj30: django~=3.0.11
dj31: django~=3.1.3 dj31: django~=3.1.3
dj32: https://github.com/django/django/archive/stable/3.2.x.tar.gz dj32: django~=3.2.0
dj40: django>=4.0b1,<4.1
djmain: https://github.com/django/django/archive/main.tar.gz djmain: https://github.com/django/django/archive/main.tar.gz
coverage coverage
coverage_enable_subprocess coverage_enable_subprocess