-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Circular dependency causes dependency checking tools to fail #1845
Comments
Hmm, since these are not "needs to build" dependencies but "needs to run" dependencies, I don't see why the circular dependency is so bad. ("install_requires", despite the slightly misleading name, means "needs to be installed together with this one". The build-time dependency would be "setup_requires".) So please take this up with the If that is considered inacceptable, I suggest filing this with sphinx_rtd_theme, since Sphinx definitely doesn't run without it now, while the theme doesn't "run" (or do anything) anyway if Sphinx is not present. |
This appears to be suboptimal for building with Could another solution please be considered? Perhaps bundling an acceptable copy of |
Well, what do the conda people say about this? |
Fair question, asked in this issue ( conda/conda-build#381 ). I tried a different manner of building here ( conda/conda-build#380 ), which has a different result. So, I can't conclusive say what the cause was, but I am a little worried about how these dependencies are setup. |
Also, @birkenfeld, I have followed up on your previous point by opening an issue with |
Thanks! |
Perhaps I'm missing something, but Sphinx requires sphinx_rtd_theme in its setup.py script. It seems not 'testing requirement'. Will it be more wise not to rely on any particular themes that user may not need? |
It looks like the |
@jakirkham Thank you for letting us know. |
sphinx
specifiessphinx_rtd_theme
as a dependency intests-reqs.txt
butsphinx_rtd_theme
specifiessphinx>=1.1
as a dependency, thus leading to a circular dependency which causes a dependency checking tool (currently usingpip-compile
) to flag an error.The text was updated successfully, but these errors were encountered: