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

Bump docutils to include 0.19 #1427

Closed
wants to merge 1 commit into from
Closed

Conversation

phlax
Copy link

@phlax phlax commented Jan 31, 2023

Signed-off-by: Ryan Northey [email protected]

@phlax phlax requested a review from a team as a code owner January 31, 2023 10:17
@phlax
Copy link
Author

phlax commented Jan 31, 2023

apologies opened in error

@phlax phlax closed this Jan 31, 2023
@benjaoming
Copy link
Contributor

NP 👍 Does docutils 0.19 work well for you?

@phlax
Copy link
Author

phlax commented Jan 31, 2023

Does docutils 0.19 work well for you?

i didnt get so far as properly testing yet - it got rid of the invalid escape errors i was hitting with 0.18, and ci tests pass, but i didnt run a build - i can report back here as i do

@benjaoming
Copy link
Contributor

Thanks, it's great with feedback! What is the reason that you cannot use 0.18? Is that some bug in docutils 0.18 that's fixed in 0.19 or a dependency that isn't compatible?

@phlax
Copy link
Author

phlax commented Jan 31, 2023

Thanks, it's great with feedback! What is the reason that you cannot use 0.18? Is that some bug in docutils 0.18 that's fixed in 0.19 or a dependency that isn't compatible?

my motivation was 2-fold

  • i was immediately hitting invalid escape errors with 0.18 and didnt see any obvious solution
  • wanting to be able to use the latest sphinx versions

reading through tickets it seemed like the pin is there more for backward compatibility - so it seemed like worth the effort to try running the newer version

@benjaoming
Copy link
Contributor

Sounds good! The reason that it's not supported in the sphinx_rtd_theme is because so many documentation projects are built without upper bounds on dependencies, so it's too risky to open for docutils 0.19 until it's well-tested. All feedback is appreciated 👍

@phlax
Copy link
Author

phlax commented Jan 31, 2023

So with updated/contrived deps:

sphinx>=6.1.3
docutils~=0.19.0
sphinx-rtd-theme @ https://github.com/phlax/sphinx_rtd_theme/archive/11a587c63fd2237003e60a7359e8503c7ea094a1.zip#egg=sphinx_rtd_theme
sphinx-tabs @ https://github.com/phlax/sphinx-tabs/archive/338fda565dbf917650503b3cf0d35760f7fe07df.zip#egg=sphinx-tabs

all seems to be good - ci passes, no escape issues, and docs build

visually, clicky testing the built docs, im not seeing any differences - not sure exactly what to look for - we had issues with tabs <> docutils in the past - but all looks good

the only issue im hitting with some custom jquery-based code - but i think that is just a regular upgrade type issue

@phlax
Copy link
Author

phlax commented Jan 31, 2023

just following up on above - i do actually hit an issue with sphinx==6.1.3 - altho i think unrelated to either the theme or docutils

sphinx ticket is sphinx-doc/sphinx#11163

@benjaoming
Copy link
Contributor

the only issue im hitting with some custom jquery-based code

sphinxcontrib-jquery is a dependency of sphinx-rtd-theme and should ensure that jquery is loaded. However, as you can find in #1421, it doesn't get loaded on local builds.

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