Skip to content

fix(docs): cap sphinxcontrib-typer <0.9.1 (0.9.1 needs typer.rich_utils.STYLE_TYPES)#86

Merged
ubmarco merged 1 commit into
mainfrom
fix/cap-sphinxcontrib-typer
Jun 30, 2026
Merged

fix(docs): cap sphinxcontrib-typer <0.9.1 (0.9.1 needs typer.rich_utils.STYLE_TYPES)#86
ubmarco merged 1 commit into
mainfrom
fix/cap-sphinxcontrib-typer

Conversation

@ubmarco

@ubmarco ubmarco commented Jun 30, 2026

Copy link
Copy Markdown
Member

Problem

sphinxcontrib-typer 0.9.1 (released after #84) imports
typer.rich_utils.STYLE_TYPES, which does not exist in the typer<0.26.8 range
pinned by #84. Any fresh docs build now resolves sphinxcontrib-typer 0.9.1 and
fails during sphinx-build:

AttributeError: module 'typer.rich_utils' has no attribute 'STYLE_TYPES'

This affects main and every open PR (e.g. #85) on a fresh dependency
resolution. Note #84 capped typer for a different removed attribute
(STYLE_METAVAR); this is a new break originating from the sphinxcontrib-typer
side.

Fix

Cap sphinxcontrib-typer>=0.5.1,<0.9.1. 0.9.0 builds cleanly with the capped
typer 0.26.7; verified locally that sphinx-build -nW no longer raises the
AttributeError.

Dependency-only change — no source, tests, or typing impact.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.40%. Comparing base (79656f4) to head (d32e59f).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ubmarco ubmarco requested a review from bburda June 30, 2026 17:45
@ubmarco ubmarco marked this pull request as ready for review June 30, 2026 17:57
@ubmarco ubmarco requested a review from chrisjsewell June 30, 2026 17:59
@ubmarco ubmarco merged commit 43927d0 into main Jun 30, 2026
13 checks passed
@ubmarco ubmarco deleted the fix/cap-sphinxcontrib-typer branch June 30, 2026 18:01
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.

4 participants