8000 Add support for Python 3.10 by joshuadavidthomas · Pull Request #1684 · django-extensions/django-extensions · GitHub
[go: up one dir, main page]

Skip to content

Add support for Python 3.10 #1684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

8000
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/compile_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- run: python -m pip install tox
- name: Compile Catalog
run: tox
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- run: python -m pip install tox
- name: tox py39-flake8
- name: tox py310-flake8
run: tox
env:
TOXENV: py39-flake8
TOXENV: py310-flake8

mypy:
name: mypy
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- run: python -m pip install tox
- name: tox mypy
run: tox
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- run: python -m pip install tox
- name: tox precommit
run: tox
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- 3.7
- 3.8
- 3.9
- "3.10"
- pypy3
tox-django-version:
- "22"
Expand Down Expand Up @@ -58,7 +59,7 @@ jobs:
max-parallel: 4
matrix:
python-version:
- 3.9
- "3.10"
tox-django-version:
- "32"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- run: python -m pip install tox
- name: safety
run: tox
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def fullsplit(path, result=None):
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Utilities',
Expand Down
24 changes: 15 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ envlist =
precommit
safety
mypy
{py37,py38,py39}-flake8
{py36,py37,py38,py39,pypy}-dj22
{py36,py37,py38,py39,pypy}-dj30
{py36,py37,py38,py39,pypy}-dj31
{py36,py37,py38,py39,pypy}-dj32
{py38,py39,pypy}-djmaster
py39-dj32-postgres
py39-dj32-mysql
py39-djmaster-postgres
{py37,py38,py39,py310}-flake8
{py36,py37,py38,py39,py310,pypy}-dj22
{py36,py37,py38,py39,py310,pypy}-dj30
{py36,py37,py38,py39,py310,pypy}-dj31
{py36,py37,py38,py39,py310,pypy}-dj32
{py38,py39,py310,pypy}-djmaster
py310-dj32-postgres
py310-dj32-mysql
py310-djmaster-postgres

[testenv]
commands = make test
Expand Down Expand Up @@ -91,3 +91,9 @@ deps =
pip >= 21.1
flake8
commands = flake8 django_extensions tests

[testenv:py310-flake8]
deps =
pip >= 21.1
flake8
commands = flake8 django_extensions tests
0