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.
1 parent 5c1d607 commit 5d8e733Copy full SHA for 5d8e733
5 files changed
.github/workflows/publication.yaml
@@ -9,7 +9,7 @@ jobs:
9
- uses: actions/checkout@v6
10
- uses: actions/setup-python@v6
11
with:
12
- python-version: "3.9"
+ python-version: "3.10"
13
- run: python -m pip install --upgrade tox-gh-actions
14
- env:
15
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
.github/workflows/validation.yaml
@@ -5,7 +5,7 @@ jobs:
5
runs-on: ubuntu-latest
6
strategy:
7
matrix:
8
- python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
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.9",
23
"Programming Language :: Python :: 3.10",
24
"Programming Language :: Python :: 3.11",
25
"Programming Language :: Python :: 3.12",
@@ -28,7 +27,7 @@ classifiers = [
28
27
"Programming Language :: Python :: Implementation :: CPython",
29
"Topic :: Software Development :: Testing",
30
]
31
-requires-python = ">=3.9"
+requires-python = ">=3.10"
32
dependencies = [
33
"filelock>=3.0",
34
"mypy>=1.0",
src/pytest_mypy/__init__.py
@@ -34,7 +34,7 @@
from xdist.workermanage import WorkerController # type: ignore
35
36
37
-@dataclass(frozen=True) # compat python < 3.10 (kw_only=True)
+@dataclass(frozen=True, kw_only=True)
38
class MypyConfigStash:
39
"""Plugin data stored in the pytest.Config stash."""
40
@@ -299,7 +299,7 @@ def runtest(self) -> None:
299
raise MypyError(f"mypy exited with status {results.status}.")
300
301
302
303
class MypyResults:
304
"""Parsed results from Mypy."""
305
tox.ini
@@ -3,7 +3,6 @@
3
minversion = 4.4
4
isolated_build = true
envlist =
- py39-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{2.0, 2.x, 3.0, 3.x}
py310-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}
py311-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}
py312-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}
@@ -14,7 +13,6 @@ envlist =
[gh-actions]
16
python =
17
- 3.9: py39-pytest{7.0, 7.x, 8.0, 8.x}-mypy{1.0, 1.x}-xdist{2.0, 2.x, 3.0, 3.x}
18
3.10: py310-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}
3.11: py311-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}
3.12: py312-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}, static, publish
0 commit comments