1
1
[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}
3
3
skipsdist = True
4
4
5
5
[testenv]
8
8
-r{toxinidir}/requirements/test.txt
9
9
-r{toxinidir}/requirements/publish.txt
10
10
setenv =
11
- PIP_CONSTRAINT ={toxinidir}/requirements/constraints.txt
12
11
PYTESTARGS = -v -s --tb =long --cov =cloudevents --cov-report term-missing --cov-fail-under =95
13
12
commands = pytest {env:PYTESTARGS} {posargs}
14
13
15
14
[testenv:reformat]
16
- basepython = python3.11
15
+ basepython = python3.12
17
16
deps =
18
17
black
19
18
isort
@@ -22,7 +21,7 @@ commands =
22
21
isort cloudevents samples
23
22
24
23
[testenv:lint]
25
- basepython = python3.11
24
+ basepython = python3.12
26
25
deps =
27
26
black
28
27
isort
@@ -33,19 +32,16 @@ commands =
33
32
flake8 cloudevents samples --ignore W503,E731 --extend-ignore E203 --max-line-length 88
34
33
35
34
[testenv:mypy]
36
- basepython = python3.11
37
- setenv =
38
- PIP_CONSTRAINT ={toxinidir}/requirements/mypy-constraints.txt
35
+ basepython = python3.12
39
36
deps =
40
37
-r{toxinidir}/requirements/mypy.txt
41
38
# mypy needs test dependencies to check test modules
42
39
-r{toxinidir}/requirements/test.txt
43
40
commands = mypy cloudevents
44
41
45
42
[testenv:mypy-samples-{image,json}]
46
- basepython = python3.11
43
+ basepython = python3.12
47
44
setenv =
48
- PIP_CONSTRAINT ={toxinidir}/requirements/mypy-constraints.txt
49
45
mypy-samples-image: SAMPLE_DIR ={toxinidir}/samples/http-image-cloudevents
50
46
mypy-samples-json: SAMPLE_DIR ={toxinidir}/samples/http-json-cloudevents
51
47
deps =
0 commit comments