diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 6547820..6bfa805 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -5,13 +5,13 @@ name: Python package on: [push] jobs: - test-py310: + test-py37: runs-on: ${{ matrix.os }} strategy: max-parallel: 4 matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10"] + python-version: ["3.7"] steps: - uses: actions/checkout@v3 @@ -28,15 +28,15 @@ jobs: TOX_PARALLEL_NO_SPINNER: "1" run: | inv mkdir build/coverage-data - inv tox -e "py310-*" + inv tox -e "py37-*" - test-py37-py38-py39: + test-py38-py39-py310: runs-on: ${{ matrix.os }} strategy: max-parallel: 8 matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.7", "3.8", "3.9"] + python-version: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 9e1e076..a94305a 100644 --- a/README.md +++ b/README.md @@ -137,6 +137,11 @@ decorators are extracted from the ast. # Changelog +## v0.1.2 (unreleased) + +* Add support for pytest 8 (no actual change, but declare support) + ([#46][i46], [#47][p47]) + ## v0.1.1 * Compare just mypy error codes if given and no error message is given @@ -204,6 +209,7 @@ decorators are extracted from the ast. [i30]: https://github.com/davidfritzsche/pytest-mypy-testing/issues/30 [i35]: https://github.com/davidfritzsche/pytest-mypy-testing/issues/35 [i36]: https://github.com/davidfritzsche/pytest-mypy-testing/issues/36 +[i46]: https://github.com/davidfritzsche/pytest-mypy-testing/issues/46 [p6]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/6 [p7]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/7 @@ -222,3 +228,4 @@ decorators are extracted from the ast. [p41]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/41 [p42]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/42 [p43]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/43 +[p47]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/47 diff --git a/mypy.ini b/mypy.ini index 7dbb797..0ddd5a5 100644 --- a/mypy.ini +++ b/mypy.ini @@ -2,7 +2,7 @@ # SPDX-License-Identifier: CC0-1.0 [mypy] -python_version = 3.7 +python_version = 3.8 mypy_path = src diff --git a/pyproject.toml b/pyproject.toml index 75cc1ae..0f17a8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,8 +30,8 @@ dist-name = "pytest-mypy-testing" home-page = "https://github.com/davidfritzsche/pytest-mypy-testing" license = "Apache-2.0 OR MIT" requires = [ - "pytest>=7,<8", - "mypy>=0.931", + "pytest>=7,<9", + "mypy>=1.0", ] requires-python = ">=3.7" diff --git a/tox.ini b/tox.ini index 0a85d34..bcdd1d3 100644 --- a/tox.ini +++ b/tox.ini @@ -4,9 +4,9 @@ [tox] isolated_build = True envlist = - {py37,py38,py39}-pytest{70,71,72}-mypy{093,097,10} - {py310,py311}-pytest{70,71,72}-mypy{093,097,10} - py-pytest{70,71,72}-mypy{093,097,10} + py37-pytest{70,71,72,74}-mypy{10,14} + {py38,py39,py310,py311,py312}-pytest{70,71,72,80}-mypy{10,18} + py-pytest{70,71,72,80}-mypy{10,18} linting [testenv] @@ -15,6 +15,8 @@ deps = pytest70: pytest~=7.0.1 pytest71: pytest~=7.1.3 pytest72: pytest~=7.2.1 + pytest74: pytest~=7.4.4 + pytest80: pytest~=8.0.1 mypy093: mypy==0.931 mypy094: mypy==0.942 mypy095: mypy==0.950 @@ -23,6 +25,8 @@ deps = mypy097: mypy==0.971 mypy099: mypy==0.991 mypy10: mypy==1.0.1 + mypy14: mypy==1.4.1 + mypy18: mypy==1.8.0 setenv = COVERAGE_FILE={toxinidir}/build/{envname}/coverage commands =