Skip to content

🔧 Allow Sphinx 9#68

Merged
patdhlk merged 2 commits intomainfrom
deps/sphinx-9
May 1, 2026
Merged

🔧 Allow Sphinx 9#68
patdhlk merged 2 commits intomainfrom
deps/sphinx-9

Conversation

@ubmarco
Copy link
Copy Markdown
Member

@ubmarco ubmarco commented May 1, 2026

Summary

  • Bump the sphinx dependency upper bound from <9 to <10 so Sphinx 9 can be installed alongside sphinx-codelinks.

Test plan

  • tox -e py312-sphinx9-needs7 — 206 passed
  • tox -e py312-sphinx9-needs8 — 206 passed
  • tox -e py312-sphinx8-needs5 — 206 passed (no regression on the existing default env)

Notes

Sphinx 9 is incompatible with sphinx-needs <7 (needs 5/6 require sphinx<9), so users wanting Sphinx 9 will resolve to sphinx-needs >=7. The combined sphinx-needs>=5,<9 constraint stays correct because pip resolves a compatible pair.

Some RemovedInSphinx11Warning deprecations surface from sphinx-needs and our extension code (env.app access, add_extra_option), but no tests fail on Sphinx 9.

Open the sphinx upper bound to <10 so users can install Sphinx 9.
sphinx-needs >=7 is required for that combination; tox matrix already
covers py312-sphinx9-needs{7,8} which pass.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.06%. Comparing base (cdf9e58) to head (f7840a4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #68   +/-   ##
=======================================
  Coverage   90.06%   90.06%           
=======================================
  Files          29       29           
  Lines        2628     2628           
  Branches      306      306           
=======================================
  Hits         2367     2367           
  Misses        165      165           
  Partials       96       96           

☔ View full report in Codecov by Sentry.
📢 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.

Cover Sphinx 9 with the lowest compatible sphinx-needs (7) and the
highest (8). sphinx-needs <7 is incompatible with Sphinx 9.
@ubmarco ubmarco requested a review from patdhlk May 1, 2026 11:36
@patdhlk patdhlk merged commit a65483e into main May 1, 2026
13 checks passed
@patdhlk patdhlk deleted the deps/sphinx-9 branch May 1, 2026 15:48
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.

3 participants