We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e44462 + 53b091d commit 35fab38Copy full SHA for 35fab38
.github/workflows/validation.yml
@@ -5,7 +5,7 @@ jobs:
5
runs-on: ubuntu-latest
6
strategy:
7
matrix:
8
- python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
+ python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
9
steps:
10
- uses: actions/checkout@v2
11
- uses: actions/setup-python@v2
changelog.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+## [0.10.1](https://github.com/dbader/pytest-mypy/milestone/19)
4
+* Work around https://github.com/python/mypy/issues/14042.
+* Add support for Python 3.11.
+
## [0.10.0](https://github.com/dbader/pytest-mypy/milestone/18)
* Drop support for python<3.6.
setup.py
@@ -38,7 +38,8 @@ def read(fname):
38
'pytest>=6.2; python_version>="3.10"',
39
'mypy>=0.500; python_version<"3.8"',
40
'mypy>=0.700; python_version>="3.8" and python_version<"3.9"',
41
- 'mypy>=0.780; python_version>="3.9"',
+ 'mypy>=0.780; python_version>="3.9" and python_version<"3.11"',
42
+ 'mypy>=0.900; python_version>="3.11"',
43
],
44
classifiers=[
45
"Development Status :: 4 - Beta",
tests/test_pytest_mypy.py
@@ -402,7 +402,7 @@ def pyfunc(x: int) -> str:
402
403
child = testdir.spawn_pytest(
404
"--mypy --looponfail " + str(pyfile),
405
- expect_timeout=30.0,
+ expect_timeout=60.0,
406
)
407
408
num_tests = 2
tox.ini
@@ -8,6 +8,7 @@ envlist =
py38-pytest{4.6, 5.0, 5.x, 6.0, 6.x, 7.0, 7.x}-mypy{0.71, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
py39-pytest{4.6, 5.0, 5.x, 6.0, 6.x, 7.0, 7.x}-mypy{0.78, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
py310-pytest{6.2, 6.x, 7.0, 7.x}-mypy{0.78, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
+ py311-pytest{6.2, 6.x, 7.0, 7.x}-mypy{0.90, 0.9x}
12
publish
13
static
14
@@ -18,6 +19,7 @@ python =
18
19
3.8: py38-pytest{4.6, 5.0, 5.x, 6.0, 6.x, 7.0, 7.x}-mypy{0.71, 0.7x, 0.80, 0.8x, 0.90, 0.9x}, publish, static
20
3.9: py39-pytest{4.6, 5.0, 5.x, 6.0, 6.x, 7.0, 7.x}-mypy{0.78, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
21
3.10: py310-pytest{6.2, 6.x, 7.0, 7.x}-mypy{0.78, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
22
+ 3.11: py311-pytest{6.2, 6.x, 7.0, 7.x}-mypy{0.90, 0.9x}
23
24
[testenv]
25
deps =
0 commit comments