Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add len() protocol to LazyObject to support Sphinx 5+ #5249

Merged
merged 2 commits into from Dec 17, 2023

Conversation

stefanor
Copy link
Contributor

Required by Sphinx 5+

Fixes: #5248

Copy link

Warning! No news item is found for this PR.
If this is an user facing change/feature/fix, please add a news item by copying the format from news/TEMPLATE.rst.

@codecov-commenter
Copy link

codecov-commenter commented Dec 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a76a2f6) 67.18% compared to head (2eb73a7) 65.15%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5249      +/-   ##
==========================================
- Coverage   67.18%   65.15%   -2.04%     
==========================================
  Files         119      119              
  Lines       23124    23124              
  Branches     4855     4855              
==========================================
- Hits        15537    15066     -471     
- Misses       6384     6842     +458     
- Partials     1203     1216      +13     
Flag Coverage Δ
macOS-latest 64.44% <ø> (-0.04%) ⬇️
ubuntu-latest 64.75% <ø> (+0.03%) ⬆️
windows-latest ?

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.

@anki-code anki-code self-requested a review December 17, 2023 17:31
@anki-code anki-code merged commit 6513dea into xonsh:main Dec 17, 2023
15 checks passed
@anki-code
Copy link
Member

Thanks!

@stefanor stefanor deleted the lazy-object-len branch December 17, 2023 17:32
theadam pushed a commit to theadam/xonsh that referenced this pull request Mar 11, 2024
* Add len() protocol to LazyObject

Required by Sphinx 5+

Fixes: xonsh#5248

* Unrestrict maximum Sphinx version
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.

Requires old Sphinx (<5): TypeError: object of type 'LazyObject' has no len()
3 participants