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

Fix docs failure after new sphinx release #127

Merged
merged 8 commits into from
Aug 13, 2024
Merged

Fix docs failure after new sphinx release #127

merged 8 commits into from
Aug 13, 2024

Conversation

juanep97
Copy link
Owner

@juanep97 juanep97 commented Aug 13, 2024

PR #125 tests passed, however after merging to the main branch, docs are failing. This PR is to investigate and fix this issue.

Results:

The issue is caused by the new sphinx 8.0 and myst_parser 4.0 that were released between the last run of PR #125 and the merge (2024-07-29 and 2024-08-05). It happens only with python 3.10.9, but works fine with python 3.11.

Python 3.10.9, sphinx 7.4, myst_parser 3.0: works
Python 3.10.9, sphinx 8.0.2, myst_parser 4.0: issue
Python 3.11, sphinx 7.4, myst_parser 3.0: works
Python 3.11, sphinx 8.0.2, myst_parser 4.0: works

It seems that the notebooks have not been run at the build-finished event.

@juanep97 juanep97 changed the title Calibrator reform Fix docs Aug 13, 2024
@juanep97 juanep97 self-assigned this Aug 13, 2024
@juanep97 juanep97 changed the title Fix docs Fix docs failure after new sphinx release Aug 13, 2024
@juanep97 juanep97 requested a review from morcuended August 13, 2024 18:07
@juanep97 juanep97 marked this pull request as ready for review August 13, 2024 18:07
@juanep97
Copy link
Owner Author

juanep97 commented Aug 13, 2024

Fixed by specifying sphinx < 8 for python < 3.11.

We should also include python 3.11 and 3.12 in the CI, and progressively free dependencies, to prepare for an upgrade in the near future (issue #120).

@juanep97 juanep97 merged commit 674b341 into main Aug 13, 2024
3 checks passed
@juanep97
Copy link
Owner Author

It seems now that there is some problem with Python 3.11.

mwouts/jupytext#1266 (comment)

@juanep97 juanep97 mentioned this pull request Aug 28, 2024
@juanep97 juanep97 deleted the calibrator_reform branch December 17, 2024 19:46
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.

1 participant