Skip to content

Commit 83000b1

Browse files
committed
📌 pin mypy dependency constraints for PyPy compatibility
1 parent 040f60a commit 83000b1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ PayPal = "https://paypal.me/ktusar"
5858
dev = [
5959
"pytest>=8.1.2",
6060
"pytest-cov>=5.0.0",
61-
"mypy>=1.10.0",
61+
"mypy>=1.10.0; platform_python_implementation != \"PyPy\"",
62+
"mypy<1.19; platform_python_implementation == \"PyPy\"",
6263
"toml>=0.10.2",
6364
"tox",
6465
"black",

requirements_dev.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
pytest>=8.1.2
22
pytest-cov>=5.0.0
3-
mypy>=1.10.0
3+
mypy>=1.10.0; platform_python_implementation != "PyPy"
4+
mypy<1.19; platform_python_implementation == "PyPy"
45
toml>=0.10.2
56
tox
67
black
7-
isort
8+
isort

0 commit comments

Comments
 (0)