11[tox]
2- envlist = py{38, 39,310,311,312},lint,mypy,mypy-samples-{image,json}
2+ envlist = py{39,310,311,312,313 },lint,mypy,mypy-samples-{image,json}
33skipsdist = True
44
55[testenv]
88 -r{toxinidir}/requirements/test.txt
99 -r{toxinidir}/requirements/publish.txt
1010setenv =
11- PIP_CONSTRAINT ={toxinidir}/requirements/constraints.txt
1211 PYTESTARGS = -v -s --tb =long --cov =cloudevents --cov-report term-missing --cov-fail-under =95
1312commands = pytest {env:PYTESTARGS} {posargs}
1413
1514[testenv:reformat]
16- basepython = python3.11
15+ basepython = python3.12
1716deps =
1817 black
1918 isort
@@ -22,7 +21,7 @@ commands =
2221 isort cloudevents samples
2322
2423[testenv:lint]
25- basepython = python3.11
24+ basepython = python3.12
2625deps =
2726 black
2827 isort
@@ -33,19 +32,16 @@ commands =
3332 flake8 cloudevents samples --ignore W503,E731 --extend-ignore E203 --max-line-length 88
3433
3534[testenv:mypy]
36- basepython = python3.11
37- setenv =
38- PIP_CONSTRAINT ={toxinidir}/requirements/mypy-constraints.txt
35+ basepython = python3.12
3936deps =
4037 -r{toxinidir}/requirements/mypy.txt
4138 # mypy needs test dependencies to check test modules
4239 -r{toxinidir}/requirements/test.txt
4340commands = mypy cloudevents
4441
4542[testenv:mypy-samples-{image,json}]
46- basepython = python3.11
43+ basepython = python3.12
4744setenv =
48- PIP_CONSTRAINT ={toxinidir}/requirements/mypy-constraints.txt
4945 mypy-samples-image: SAMPLE_DIR ={toxinidir}/samples/http-image-cloudevents
5046 mypy-samples-json: SAMPLE_DIR ={toxinidir}/samples/http-json-cloudevents
5147deps =
0 commit comments