mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Add support to python 3.10 (#455)
This commit is contained in:
parent
b89f5ddb4e
commit
a706e4798c
3 changed files with 8 additions and 3 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -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',
|
||||
|
|
|
|||
7
tox.ini
7
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue