Skip to content

Sphinx9 compatibility patch - #232

Merged
bsipocz merged 4 commits into
astropy:mainfrom
pllim:sphinx10-compat
Dec 12, 2025
Merged

bsipocz merged 4 commits into
astropy:mainfrom
pllim:sphinx10-compat

Conversation

@pllim

@pllim pllim commented Dec 12, 2025

Copy link
Copy Markdown
Member

Fix #230

This would need downstream testing first. There is no easy way to do this via RTD, so probably have to build some downstream docs manually when I get the chance, or if downstream devs want to step in.

[ci skip]
for The tuple interface for _InventoryItem objects is deprecated
@pllim pllim added this to the v.0.22.0 milestone Dec 12, 2025
@codecov

codecov Bot commented Dec 12, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.49%. Comparing base (7503d7a) to head (b46c8d6).
⚠️ Report is 16 commits behind head on main.

Files with missing lines Patch % Lines
sphinx_automodapi/smart_resolver.py 33.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #232      +/-   ##
==========================================
- Coverage   89.62%   89.49%   -0.13%     
==========================================
  Files          31       31              
  Lines        1253     1257       +4     
==========================================
+ Hits         1123     1125       +2     
- Misses        130      132       +2     

☔ 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.

@bsipocz bsipocz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix works for astroquery if the version check is changed. So I go ahead and add the changes and merge this now, and maybe also do a bugfix release.

Comment thread sphinx_automodapi/smart_resolver.py Outdated
Comment thread sphinx_automodapi/smart_resolver.py Outdated
Comment thread sphinx_automodapi/utils.py Outdated
Fixing version checks, the warning came in v9.0
@bsipocz bsipocz modified the milestones: v.0.22.0, 0.21.1 Dec 12, 2025
@bsipocz
bsipocz marked this pull request as ready for review December 12, 2025 23:34
@bsipocz
bsipocz merged commit 038da98 into astropy:main Dec 12, 2025
22 of 25 checks passed
@bsipocz bsipocz changed the title Sphinx10 compatibility patch Sphinx9 compatibility patch Dec 13, 2025
@pllim
pllim deleted the sphinx10-compat branch December 13, 2025 01:40
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.

RemovedInSphinx10Warning: compatibility with sphinx 10dev

2 participants