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

Cannot install sphinx-pythia-theme via conda-forge (workaround is pip) #6

Closed
brian-rose opened this issue Jun 10, 2022 · 4 comments · Fixed by #163
Closed

Cannot install sphinx-pythia-theme via conda-forge (workaround is pip) #6

brian-rose opened this issue Jun 10, 2022 · 4 comments · Fixed by #163
Assignees
Labels
infrastructure Infrastructure related issue

Comments

@brian-rose
Copy link
Member

I ran the existing deploy_book.yml action and it failed:
https://github.com/ProjectPythiaTutorials/cookbook-template/actions/runs/2476709281

It raises the following:

Theme error:
[26](https://github.com/ProjectPythiaTutorials/cookbook-template/runs/6835864655?check_suite_focus=true#step:4:27)
An error happened in rendering the page landing-page.
[27](https://github.com/ProjectPythiaTutorials/cookbook-template/runs/6835864655?check_suite_focus=true#step:4:28)
Reason: TemplateNotFound('sbt-sidebar-footer.html')

sphinx-pythia-theme is installed via conda. I notice here that an older version 2022.1.13 is used. I don't know why the conda solver is choosing that one over the more recent release 2022.3.29

@kmpaul @jukent any ideas?

@brian-rose
Copy link
Member Author

A workaround may be to install sphinx-pythia-theme via pip instead. That's what we are currently doing for Foundations. But, given that this is a template, I'd rather fix the problem.

@brian-rose
Copy link
Member Author

I see now that the pip workaround is being used in the Radar Cookbook as well.

@brian-rose
Copy link
Member Author

Ok, I see now that the conda recipe for sphinx-pythia-theme pins to sphinx-book-theme >=0.1.7,<0.2 and sphinx-book-theme is currently in version 0.3.2. That's probably related to this conda conflict.

@brian-rose brian-rose changed the title Template build fails with theme error: TemplateNotFound('sbt-sidebar-footer.html') Cannot install sphinx-pythia-theme via conda-forge (workaround is pip) Oct 4, 2022
@brian-rose brian-rose added the infrastructure Infrastructure related issue label Oct 4, 2022
@brian-rose
Copy link
Member Author

Hopefully this can be addressed as part of an overhaul of the theme as tracked at ProjectPythia/sphinx-pythia-theme#39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Infrastructure related issue
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants