-
Notifications
You must be signed in to change notification settings - Fork 43
[DNM/investigation only] Pin sphinx in an attempt to fix build documentation fail #2706
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2706 +/- ##
=======================================
Coverage 95.10% 95.10%
=======================================
Files 257 257
Lines 15021 15021
=======================================
Hits 14286 14286
Misses 735 735 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
this may not be needed after all, it appears to be an internal issue with Sphinx (and manifesting itself for both 8.1 and 8.2) see sphinx-doc/sphinx#13485 |
|
OK |
|
just to point out the flakiness of this whole spiel: de6f818 passed all the tests! |
|
OK iris is indeed causing the issue: just with iris in the env:
The issue is only iris>=3.11 Another hint, as Bouwe has already found out, iris=3.11 is causing the issue only with Python==3.13.3 (as iris3.10 is compatible only up to and including Python 3.13.2); also, local (ie on my laptop) builds go through fine with iris=3.11 and python=3.13.3. This is the doc build failed with NO cf-units installed by us (though it is in the env from a dep that needs it), but with iris=3.11 and Python 3.13.3 https://app.circleci.com/pipelines/github/ESMValGroup/ESMValCore/12990/workflows/07fd887b-217b-403d-a9ef-7b18152b21cf/jobs/53941?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link&utm_content=summary - pure issue with Going down the 🐰 hole, this is the only change in Python 3.13.3 (see log https://docs.python.org/3/whatsnew/changelog.html) that deals with FYI @bouweandela |
|
locale at start: locale after install, before running sphinx:
the same things are ('en_US', 'UTF-8') UTF-8 when things are not breaking (on RTD), so this thing is most probably not due to any Scratch that! On CircleCI it will pass only with:
|
|
#2708 has been merged |
Description
Nightly docs build tests are failing - in all honesty I am not 100% what the cause of that is, so first port of entry is to pin to latest Sphinx (for some reason the env reverts back to 8.1.3 at pip install point - EDIT to be able to get a valid nbsphinx which currently is incompatible with sphinx>=8.2, but that pin is NOT in the conda recipe).
Nbsphinx is a pain in the rear: allowing for Sphinx=8.2.3 solves the build issue no problem https://app.circleci.com/pipelines/github/ESMValGroup/ESMValCore/12855/workflows/d9af7d3a-b4fb-44a4-bc40-c20cee158740/jobs/53453?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link&utm_content=summary
EDIT: this seems to be a transitory issue (with fail frequency rather high)@ same run but failed https://app.circleci.com/pipelines/github/ESMValGroup/ESMValCore/12856/workflows/acec1635-9bcf-43da-9d98-d955cf1d25dd/jobs/53458?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link&utm_content=summary
Gonna have to wait 24h see what happens tomorrow.
Link to documentation:
Before you get started
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.
To help with the number pull requests: