Repository navigation
apidocs: build with a pinned pydoctor via uvx - #181
Merged
Merged
Conversation
The docs dependency group put pydoctor and Twisted in the shared uv.lock. Since the project still supports Python 3.8, the lock kept old versions there and Dependabot kept raising Twisted alerts. Run pydoctor 25.10.1 through uvx on Python 3.12 instead, both in the apidocs workflow and in `just docs`, and drop the docs group.
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.
The
docsdependency group put pydoctor, and through it Twisted, in the shareduv.lock. Because the project still supports Python 3.8, the lock kept old versions, and Dependabot raised 8 Twisted alerts against it.The docs are now built with
uvx --python 3.12 --from 'pydoctor==25.10.1', in the apidocs workflow and injust docs. The flags are unchanged. Thedocsgroup is gone frompyproject.toml, anduv.lockno longer has pydoctor or Twisted. The version is pinned in two places:PYDOCTOR_VERSIONin the workflowenv:andpydoctor_versionin the justfile.A local build gives the same set of files and the same two pydoctor warnings as before.