Skip to content

Commit

Permalink
Turn on testing for python 3.12 (#325)
Browse files Browse the repository at this point in the history
Requires new wsgi-intercept, so update requirements.txt
  • Loading branch information
cdent committed Jan 3, 2024
1 parent 6e7d667 commit 181f13c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yaml
Expand Up @@ -21,6 +21,8 @@ jobs:
toxenv: py310
- python: "3.11"
toxenv: py311
- python: "3.12"
toxenv: py312
- python: pypy-3.8
toxenv: pypy3
- python: 3.7
Expand All @@ -31,6 +33,10 @@ jobs:
toxenv: py39-pytest
- python: "3.10"
toxenv: py310-pytest
- python: "3.11"
toxenv: py311-pytest
- python: "3.12"
toxenv: py312-pytest
- python: 3.9
toxenv: py39-failskip
- python: 3.9
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -4,5 +4,5 @@ PyYAML
urllib3>=1.26.9,<2.0.0
certifi
jsonpath-rw-ext>=1.0.0
wsgi-intercept>=1.9.3
wsgi-intercept>=1.13.0
colorama
3 changes: 2 additions & 1 deletion setup.cfg
Expand Up @@ -15,11 +15,12 @@ classifier =
Operating System :: POSIX
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only
Topic :: Internet :: WWW/HTTP :: WSGI
Topic :: Software Development :: Testing
Expand Down
8 changes: 7 additions & 1 deletion tox.ini
@@ -1,7 +1,7 @@
[tox]
minversion = 3.1.1
skipsdist = True
envlist = pep8,py37,py38,py39,py310,pypy3,pep8,limit,failskip,docs,py39-prefix,py39-limit,py39-verbosity,py39-failskip,py36-pytest,py37-pytest,py38-pytest,py39-pytest,py310-pytest
envlist = pep8,py37,py38,py39,py310,py311,py312,pypy3,pep8,limit,failskip,docs,py39-prefix,py39-limit,py39-verbosity,py39-failskip,py36-pytest,py37-pytest,py38-pytest,py39-pytest,py310-pytest,py311-pytest,py312-pytest

[testenv]
deps = -r{toxinidir}/requirements.txt
Expand Down Expand Up @@ -34,6 +34,12 @@ commands = py.test gabbi
[testenv:py310-pytest]
commands = py.test gabbi

[testenv:py311-pytest]
commands = py.test gabbi

[testenv:py312-pytest]
commands = py.test gabbi

[testenv:py39-prefix]
setenv = GABBI_PREFIX=/snoopy

Expand Down

0 comments on commit 181f13c

Please sign in to comment.