We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 079de07 + 5cc46c6 commit b9c6313Copy full SHA for b9c6313
4 files changed
.github/workflows/validation.yml
@@ -5,7 +5,7 @@ jobs:
5
runs-on: ubuntu-20.04
6
strategy:
7
matrix:
8
- python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
9
steps:
10
- uses: actions/checkout@v3
11
- uses: actions/setup-python@v4
pyproject.toml
@@ -19,7 +19,6 @@ classifiers = [
19
"Operating System :: OS Independent",
20
"Programming Language :: Python",
21
"Programming Language :: Python :: 3",
22
- "Programming Language :: Python :: 3.7",
23
"Programming Language :: Python :: 3.8",
24
"Programming Language :: Python :: 3.9",
25
"Programming Language :: Python :: 3.10",
@@ -29,7 +28,7 @@ classifiers = [
29
28
"Programming Language :: Python :: Implementation :: CPython",
30
"Topic :: Software Development :: Testing",
31
]
32
-requires-python = ">=3.7"
+requires-python = ">=3.8"
33
dependencies = [
34
"filelock>=3.0",
35
"mypy>=1.0",
src/pytest_mypy/__init__.py
@@ -420,8 +420,4 @@ def pytest_terminal_summary(
420
421
def pytest_unconfigure(self, config: pytest.Config) -> None:
422
"""Clean up the mypy results path."""
423
- try:
424
- config.stash[stash_key["config"]].mypy_results_path.unlink()
425
- except FileNotFoundError: # compat python < 3.8 (missing_ok=True)
426
- # No MypyItems executed.
427
- return
+ config.stash[stash_key["config"]].mypy_results_path.unlink(missing_ok=True)
tox.ini
@@ -3,7 +3,6 @@
3
minversion = 4.4
4
isolated_build = true
envlist =
- py37-pytest{7.0, 7.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
py38-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
py39-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
py310-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
@@ -15,7 +14,6 @@ envlist =
15
14
16
[gh-actions]
17
python =
18
- 3.7: py37-pytest{7.0, 7.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
3.8: py38-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
3.9: py39-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
3.10: py310-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{1.x, 2.0, 2.x, 3.0, 3.x}
0 commit comments