-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
CI: Build cache issue #552
Comments
@kp992 thanks for your thoughts on this. The latex build is the first active build in the action, so it looks like it is executing all the notebooks and rebuilding the cache, so download notebooks and the html runs use that cache. The step the sphinx message indicates that the |
yeah, you are right. Comparing two builds: https://github.com/QuantEcon/lecture-python-intro/actions/runs/11118983947/job/30893458986?pr=551 (2 weeks back) and https://github.com/QuantEcon/lecture-python-intro/actions/runs/10396786335/job/28791423058 (Aug 15), the difference is in the log |
thanks @kp992 it is a really frustrating bug. No idea why the pickling would change. |
I have even tried to match the same environment as 2 months but the issue still persists. Not sure what is the root cause because it's not even reproducible in previous environments. Any reason why aren't we using latest versions for each libraries and have pinned? I will try to remove all the pins locally and try to see if that fixes. |
You mean in |
It's like |
I was debugging into it by trying various ways. I created a forked version where I added more logs to check the pickling info like path and all but that was never logged meaning it wasn't called anytime. So maybe not sure what is really wrong. |
thanks @kp992 it is a tricky one to solve. I don't fully understand why
if the problem persists it is something impacting the sphinx change logic. |
@kp992 I think I have figured out the issue |
Hi @mmcky,
I was checking the build cache issue and looks like it is working as expected.
For example: https://github.com/QuantEcon/lecture-python-intro/actions/runs/11118983947/job/30893458986?pr=551
The logs show that for the build jobs:
Build HTML
andBuild download notebooks
things are working fine and it is using the cached notebooks.Build PDF from Latex
does not seem to be using the cache and may the issue behind this is that in cache.yml, we are just building and uploading html build and so it couldn't find PDF cache.Please let me know if you were pointing some other lecture series issue.
The text was updated successfully, but these errors were encountered: