Skip to content

Update Pyomo autosummary plugin for Sphinx 9.1#3815

Merged
blnicho merged 6 commits intoPyomo:mainfrom
jsiirola:sphinx-fail
Jan 13, 2026
Merged

Update Pyomo autosummary plugin for Sphinx 9.1#3815
blnicho merged 6 commits intoPyomo:mainfrom
jsiirola:sphinx-fail

Conversation

@jsiirola
Copy link
Copy Markdown
Member

Fixes # .

Summary/Motivation:

This updates the Pyomo sphinx plugin for improved autosummaries of Enum classes to track changes in Sphinx 9.1.

Changes proposed in this PR:

  • Track change of the local variable name in generate_autosummary_content() from doc to obj_type
  • Track change in the _get_members API (removal of registry)

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@jsiirola jsiirola requested a review from blnicho January 13, 2026 17:50
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.43%. Comparing base (8fbddce) to head (6d83010).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3815      +/-   ##
==========================================
- Coverage   89.44%   89.43%   -0.01%     
==========================================
  Files         906      906              
  Lines      105444   105444              
==========================================
- Hits        94317    94307      -10     
- Misses      11127    11137      +10     
Flag Coverage Δ
builders 29.14% <ø> (-0.01%) ⬇️
default 86.05% <ø> (?)
expensive 35.76% <ø> (?)
linux 86.74% <ø> (-2.47%) ⬇️
linux_other 86.74% <ø> (+0.02%) ⬆️
osx 82.89% <ø> (+0.01%) ⬆️
win 85.00% <ø> (-0.01%) ⬇️
win_other 85.00% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@blnicho blnicho merged commit b872a24 into Pyomo:main Jan 13, 2026
33 of 35 checks passed
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.

2 participants