-
Notifications
You must be signed in to change notification settings - Fork 15
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
Sphinx 7 support #67
Sphinx 7 support #67
Conversation
Given that this package is relatively simple and likely will not test the Sphinx API too much, I'd suggest we remove the upper bound pin on Sphinx in general. I'd suggest that we open an issue to track this decision, and if after one or two more major releases we have had problems associated with API changes that would have been caught by a major version pin, we can change the policy back. Does that make sense? In this PR i suggest we remove the upper pin, and just add the tests for the new version. We can also remove the sphinx 5 and 6 tests accordingly so that we are just testing the newest and oldest supported releases |
I already removed the upper pin in the setup.py file. Yes, we can remove the 5,6 versioned requirements as soon as a simple test passes. But I had install failures there right now. Let me fix the CI so I can show. Also do you want to track future releases as well in the CI? |
|
ae5fef6
to
ea80722
Compare
Also, there's a chicken-and-egg problem with |
hmmm - I feel it'd be better if we actually didn't use the book theme in the testing suite since it's got some unnecessary complexity that we probably aren't testing with anyway. What if we either changed the theme to Alabaster on the fly in the test, or created a little dummy test site to run that didn't have the book theme dependencies. |
Let me give it a quick try to see if we can just use the default/builtin themes. Hopefully they are not hard-coded in the tests |
I don't understand the tests well enough to figure out what would be a minimum testing suite. Current version complains as:
It seems that the minimum test dependencies are # Check for MyST-NB cell structure to make sure it stays the same
# If this breaks, we'll need to update our default cell selectors
soup_nb = BeautifulSoup(
Path(sphinx_build.path_pg_ntbk).read_text(), "html.parser"
) Luckily I don't see anything hard-coded about the theme or anything, so as soon as a minimum documentation can be built, it should be fine. |
Any chance to update this PR? 🤔 |
I need help with creating minimal tests, I am not familiar with the project to make the necessary mwe |
I'll open a new one for CI stuff |
This one cannot be built because of dependency hell in the testing dependencies. Any advice?
See my fork pr for action runner LecrisUT#2