Skip to content

Commit 42d60f2

Browse files
committed
chore: force pip version greater than v26
We need it for Python 3.15 support. Otherwise, TypeError: Can't instantiate abstract class WheelDistribution without an implementation for abstract method 'locate_file'
1 parent 81a83ac commit 42d60f2

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

‎poetry.lock‎

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ pmjs = "pythonmonkey.cli.pmjs:main"
6363

6464
[tool.poetry.group.dev.dependencies]
6565
pytest = "^7.3.1"
66-
pip = "^23.1.2"
66+
pip = [
67+
{version = "^26.2.1", python = ">=3.10"}, # Needed for Python 3.15 support,
68+
# otherwise TypeError: Can't instantiate abstract class WheelDistribution...
69+
{version = "^23.1.2", python = ">=3.8,<3.10"},
70+
]
6771
numpy = [
6872
{version = "^2.5.0", python = ">=3.12"},
6973
{version = "^2.3.0", python = ">=3.11,<3.12"}, # NumPy 2.5.0 drops support for Python 3.11

0 commit comments

Comments
 (0)