fix(docs): cap sphinxcontrib-typer <0.9.1 (0.9.1 needs typer.rich_utils.STYLE_TYPES)#86
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #86 +/- ##
=======================================
Coverage 91.40% 91.40%
=======================================
Files 34 34
Lines 3012 3012
Branches 322 322
=======================================
Hits 2753 2753
Misses 160 160
Partials 99 99 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
chrisjsewell
approved these changes
Jun 30, 2026
bburda
approved these changes
Jun 30, 2026
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.
Problem
sphinxcontrib-typer 0.9.1(released after #84) importstyper.rich_utils.STYLE_TYPES, which does not exist in thetyper<0.26.8rangepinned by #84. Any fresh docs build now resolves
sphinxcontrib-typer 0.9.1andfails during
sphinx-build:This affects
mainand every open PR (e.g. #85) on a fresh dependencyresolution. Note #84 capped typer for a different removed attribute
(
STYLE_METAVAR); this is a new break originating from the sphinxcontrib-typerside.
Fix
Cap
sphinxcontrib-typer>=0.5.1,<0.9.1.0.9.0builds cleanly with the cappedtyper
0.26.7; verified locally thatsphinx-build -nWno longer raises theAttributeError.Dependency-only change — no source, tests, or typing impact.