-
Notifications
You must be signed in to change notification settings - Fork 362
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
Stop using deprecated add_stylesheet in sphinx #1050
Conversation
A different CI step is failing, but at least CircleCI is fixed! |
This is actually a fairly annoying failure. If we merge this PR without fixing it I think we won't get a new image pushed to docker hub, but we wil lget an automated PR for mybinder.org-deploy, which if we merge it will lead to errors because the builder image doesn't exist. It looks like the error is around ruamel.yaml for which there are no wheels that work on alpine. I have a vague memory of us having a problem like this before, but I don't remember the solution. The only thing I remember is to be wary of ruamel.yaml updates/changes :-/ |
The obvious fix is to add At some point we discussed using alpine vs a slim ubuntu/debian image. A switch would probably also ease the pain here, because debian/ubuntu is less "outlandish" than alpine. However, I think we decided that the added pain of using alpine was worth it because we get significantly smaller images. Even if you consider layer sharing between the repo2docker image and the images built by repo2docker. This means we should "stick" with Alpine. |
@yuvipanda can you add |
add_stylesheet has been deprecated for a while. This should hopefully fix the CI failures in circleci
69f9740
to
76f55c5
Compare
I've rebased this, hopefully that should make it pass all the tests |
Does the minimum version of Sphinx need to be bumped, currently we claim almost any version is supported: repo2docker/docs/doc-requirements.txt Line 3 in ea90ae2
In jupyterhub/mybinder.org-deploy#1914 I pinned all versions exactly and now dependabot takes care of testing upgrades, would it be worth doing the same here? |
@manics full pinning + dependabot seems pretty awesome. However, for this PR, I have just changed the pin to a minimum of 1.8 - that's when |
Would you be willing to do the pinning + dependabot setup here too? Would be sweet! Will provide review + merges if necessary! |
I opened another PR with the pinning, then realised you'd already opened this one 😄 #1052 I'll merge this, and open a follow-up PR instead. |
add_stylesheet has been deprecated for a while.
This should hopefully fix the CI failures in circleci