Skip to content

Commit 3986370

Browse files
author
David Fritzsche
committed
Declare support for pytest 8
Resolves #46
1 parent a67be31 commit 3986370

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ decorators are extracted from the ast.
137137

138138
# Changelog
139139

140+
## v0.1.2 (unreleased)
141+
142+
* Add support for pytest 8 (no actual change, but declare support)
143+
([#46][i46], [#47][p47])
144+
140145
## v0.1.1
141146

142147
* Compare just mypy error codes if given and no error message is given
@@ -204,6 +209,7 @@ decorators are extracted from the ast.
204209
[i30]: https://github.com/davidfritzsche/pytest-mypy-testing/issues/30
205210
[i35]: https://github.com/davidfritzsche/pytest-mypy-testing/issues/35
206211
[i36]: https://github.com/davidfritzsche/pytest-mypy-testing/issues/36
212+
[i46]: https://github.com/davidfritzsche/pytest-mypy-testing/issues/46
207213

208214
[p6]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/6
209215
[p7]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/7
@@ -222,3 +228,4 @@ decorators are extracted from the ast.
222228
[p41]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/41
223229
[p42]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/42
224230
[p43]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/43
231+
[p47]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/47

mypy.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: CC0-1.0
33
[mypy]
44

5-
python_version = 3.7
5+
python_version = 3.8
66

77
mypy_path = src
88

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ dist-name = "pytest-mypy-testing"
3030
home-page = "https://github.com/davidfritzsche/pytest-mypy-testing"
3131
license = "Apache-2.0 OR MIT"
3232
requires = [
33-
"pytest>=7,<8",
34-
"mypy>=0.931",
33+
"pytest>=7,<9",
34+
"mypy>=1.0",
3535
]
3636
requires-python = ">=3.7"
3737

tox.ini

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
[tox]
55
isolated_build = True
66
envlist =
7-
{py37,py38,py39}-pytest{70,71,72}-mypy{093,097,10}
8-
{py310,py311}-pytest{70,71,72}-mypy{093,097,10}
9-
py-pytest{70,71,72}-mypy{093,097,10}
7+
{py37,py38,py39}-pytest{70,71,72,80}-mypy{10,18}
8+
{py310,py311}-pytest{70,71,72,80}-mypy{10,18}
9+
py-pytest{70,71,72,80}-mypy{10,18}
1010
linting
1111

1212
[testenv]
@@ -15,6 +15,7 @@ deps =
1515
pytest70: pytest~=7.0.1
1616
pytest71: pytest~=7.1.3
1717
pytest72: pytest~=7.2.1
18+
pytest80: pytest~=8.0.1
1819
mypy093: mypy==0.931
1920
mypy094: mypy==0.942
2021
mypy095: mypy==0.950
@@ -23,6 +24,7 @@ deps =
2324
mypy097: mypy==0.971
2425
mypy099: mypy==0.991
2526
mypy10: mypy==1.0.1
27+
mypy18: mypy==1.8.0
2628
setenv =
2729
COVERAGE_FILE={toxinidir}/build/{envname}/coverage
2830
commands =

0 commit comments

Comments
 (0)