ProjectPythia/cookbook-template

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

Closed this issue · 4 comments

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?

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.

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

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.

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