Update pip to >=26.1 - #46
Open
mdesco-crgl wants to merge 6 commits into
Open
Conversation
mdesco-crgl
force-pushed
the
update-pip
branch
4 times, most recently
from
May 6, 2026 19:32
26ccadf to
f49f4fc
Compare
attempt to fix autodoc revert autodoc to be at most compatible with python 3.10
Sphinx 9 retired the class-based Documenter API that invocations.autodoc extends. Registered documenters no longer take part in automodule member dispatch, so tasks stop appearing in the output, and the nitpick docs build fails on an unresolvable DocumenterBridge reference. Cap the requirement at sphinx<9, then revert the changes that worked around the breakage: the autodoc.py rewrite, the xfail markers on the autodoc tests, the ANSI stripping in the release tests, and the docstring churn. The 6 release colorization tests fail only under bare pytest, which has no pty. CI runs them through 'inv test', which sets --capture=sys and a pty.
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #45.
Changes
pip>=26.1, which fixes the CVEs reported in pip security vulnerability #45.sphinx<9. Sphinx 9 retired the class-basedDocumenterAPI thatinvocations.autodocextends. Registered documenters no longer take part inautomodulemember dispatch, so tasks stop appearing in the output, and the nitpick docs build fails on an unresolvableDocumenterBridgereference. Sphinx 9 offers no replacement hook: the object type list is a closedLiteralandregistry.documentersis never read. The cap keeps the extension working until it can be ported.Test plan
inv test: 166 passed, 8 skipped, no xfail.inv docs --nitpick: clean.flake8andblack -l 79 --check: clean.