Skip to content

Conversation

@jelly
Copy link
Collaborator

@jelly jelly commented Nov 9, 2025

We should later drop the whole Makefile I guess.

@jelly jelly requested a review from behrmann November 9, 2025 16:28
Copy link
Collaborator

@behrmann behrmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change LGTM.

The error is coming from pytest releasing 9.0 yesterday, which no longer supports Python 3.9

@behrmann
Copy link
Collaborator

behrmann commented Nov 9, 2025

Ok, so the workaround is

[tool.tox.env.mypy]
description = "Run type checking tool mypy"
# pytest-stub required for type hints to be available
-deps = ["mypy", "pytest-stub"]
+deps = ["mypy", "pytest-stub", "pytest<9.0.0"]
commands = [
    ["mypy", "--version"],
    ["mypy", "{posargs:varlink}"]
]

in pyproject.toml.

@jelly jelly force-pushed the drop-makefile-python2 branch from ef98ba2 to 799fab7 Compare November 10, 2025 16:17
pytest 9 requires Python 3.10 or higher.
@jelly jelly force-pushed the drop-makefile-python2 branch from 799fab7 to 902c172 Compare November 10, 2025 19:33
@jelly jelly merged commit e00756c into varlink:master Nov 10, 2025
8 checks passed
@jelly jelly deleted the drop-makefile-python2 branch November 10, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants