Skip to content

Require Python 3.10 and support pytest 9#931

Merged
Carreau merged 3 commits into
ipython:mainfrom
cjwatson:require-py310
Jul 13, 2026
Merged

Require Python 3.10 and support pytest 9#931
Carreau merged 3 commits into
ipython:mainfrom
cjwatson:require-py310

Conversation

@cjwatson

@cjwatson cjwatson commented Jan 26, 2026

Copy link
Copy Markdown
Contributor

pytest 9.0.0 began requiring this version, so pytest-mypy-testing now fails when targeting earlier versions.

This also requires mypy 1.17.0 in tests, due to python/mypy#19179.

Fixes #911 in passing while trying to get CI to pass.

@cjwatson cjwatson force-pushed the require-py310 branch 3 times, most recently from 6412442 to 5151f58 Compare January 26, 2026 01:18
@cjwatson

Copy link
Copy Markdown
Contributor Author

The pypy-3.10 CI failure seems to be unrelated breakage deep enough in the stack that I currently have no idea how to fix it.

@Carreau

Carreau commented Jun 3, 2026

Copy link
Copy Markdown
Member

+1 for that. I'll try to take over and revive it.

cjwatson added 3 commits July 8, 2026 11:51
pytest 9.0.0 began requiring this version, so pytest-mypy-testing now
fails when targeting earlier versions.

This also requires mypy 1.17.0 in tests, due to
python/mypy#19179.
Older versions have incompatible monkey-patching.

Fixes: ipython#911
@Carreau Carreau added this to the 5.16 milestone Jul 13, 2026
@Carreau Carreau merged commit 8bd4498 into ipython:main Jul 13, 2026
34 checks passed
@cjwatson cjwatson deleted the require-py310 branch July 13, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TestArgcomplete.test_complete_custom_completers fails with 3.12.7

2 participants