Skip to content

Commit

Permalink
Try running tests on python 3.11 to see if they work
Browse files Browse the repository at this point in the history
  • Loading branch information
LincolnPuzey committed Oct 1, 2022
1 parent a6113a0 commit 0fce606
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Expand Up @@ -41,6 +41,10 @@ jobs:
django: '3.0'
- python: '3.10'
django: '3.1'
include:
- python: '3.11.0-rc.2'
django: '3.2'
database: 'postgres'

services:
# as far as I can see, no way to make this conditional on the matrix database
Expand Down
1 change: 1 addition & 0 deletions ChangeLog.rst
Expand Up @@ -7,6 +7,7 @@ unreleased
------

*New:*
- Confirm support for Python 3.11
- Confirm support for Django 4.1
- Drop support for Django 1.11

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Expand Up @@ -8,6 +8,7 @@ DJANGO_SETTINGS_MODULE = 'tests.django_settings'
filterwarnings = [
'error',
"default:Using or importing the ABCs from 'collections':DeprecationWarning", # Remove when Python3.7 dropped
"default:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning:django.http.request"
]

[tool.coverage.run]
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Expand Up @@ -21,6 +21,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Framework :: Django
Framework :: Django :: 2.0
Framework :: Django :: 2.1
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Expand Up @@ -4,9 +4,9 @@ isolated_build = True
envlist =
py{37}-django{20,21}-{postgresql,sqlite}
py{37,38,39}-django{22,30,31}-{postgresql,sqlite}
py{37,38,39,310}-django{32}-{postgresql,sqlite}
py{38,39,310}-django{40,41}-{postgresql,sqlite}
py{37,38,39,310}-flake8
py{37,38,39,310,311}-django{32}-{postgresql,sqlite}
py{38,39,310,311}-django{40,41}-{postgresql,sqlite}
py{37,38,39,310,311}-flake8

[testenv]
passenv =
Expand All @@ -30,7 +30,7 @@ commands =
coverage run -m pytest -v
coverage report

[testenv:py{37,38,39,310}-flake8]
[testenv:py{37,38,39,310,311}-flake8]
skip_install = True
deps = flake8
commands =
Expand Down

0 comments on commit 0fce606

Please sign in to comment.