-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Current dependency resolvement leads to "'logo' is undefined" error #1396
Comments
Hi @nicoa ! Thanks for the report. To understand the error better, would you be able to post a full traceback? You can for instance run |
Hey @benjaoming thanks for pointing out that option (really helpful!). I made a mistake here and thought it is this theme as this was downgraded by pip - anyways, we are using a different theme which actually caused the error. Sorry for any confusion! I'll close this, please reopen if there is anything left to clarify. Besides that: The pinning probably should resolved, but will be soon. Without stating
with stating:
which is leading to version 0.5.1 of this theme - probably not intended to be used with sphinx 6 I guess. |
@nicoa In the second example, I think the resolver finds the latest docutils 0.19 for Sphinx 6.0.0 and then picks sphinx-rtd-theme 0.5.1 from before we started introducing upper boundaries on stuff. This will definitely not work :) We'll have a pre-release out soon so we can have some level of support introduced and test that stuff works with Sphinx 6, then release a new stable sphinx-rtd-theme after New Years... |
Yes, saw that for next release support for 6 is planned, great 👍 Thought it would maybe possible to introduce boundaries on old versions as well, but that's obviously up to you :-) anyways, issue resolved, will re-open in the proper theme repo :-D |
fyi: now the error described is (correctly) reported at pydata/pydata-sphinx-theme#1094 |
FYI: writing this in case others run into the same issue. It will be resolved when this theme allows
sphinx<7
as a dependency, as done for example in #1385As written here, sphinx 6.0 was released. This is not supported by the current sphinx-rtd-theme version, so the latest one not pinned seems to be 0.5.1.
When installing like
pip install sphinx sphinx-rtd-theme
, one would need to pin sphinx to be<6
(if not simply usingsphinx-rtd-theme
directly without explicitly stating sphinx) to avoid falling back to that old version.This yields the following error:
I'd expect this to be resolved by #1385 .
Optional: maybe it makes sense to add pinned dependencies on the old version lines as well so that pip resolves to sphinx 5.x instead. Let me know your opinion :)
The text was updated successfully, but these errors were encountered: