-
-
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
Make alabaster and sphinx_rtd_theme dependencies optional #2097
Conversation
Seems reasonable! 👍 |
At least alabaster cannot be removed since it is the new default. The rtd theme was supposed to be merged, but the rtd guys wanted to have a little more time to do some changes, so we used the dependency solution to give them more flexibility. Maybe it is time to revisit these choices for 1.4. |
@birkenfeld This PR does not change anything functionally, it just moves imports to where they are actually used. As I said, I will be happy if at least sphinx-rtd-theme was removed from requirements (or merged), but this is not included in this pull request. |
I am happy to retarget this PR to |
👍 but I think it's even more important to remove dependencies from |
@vitaut Your PR is what I would like to be done, but mine is absolutely safe (i.e. it doesn't break anything), while yours can potentially introduce incompatibilities. |
I've read this thread again, and +1 for this PR to merge into stable. If no objection, I'm going to merge into stable for sphinx-1.3.5. |
@shimizukawa please tell me the plan of these dependencies before merging. (I understand this is no breaking change, but I do not understand where we goes) |
The former one. |
@shimizukawa I understand. LGTM! |
There is no need to pull these dependencies if i.e. the documentation is using the classic theme. There will be no change in behavior for projects using alabaster or sphinx_rtd_theme.
FWIW I've rebased this pull request against the latest stable branch. |
Make alabaster and sphinx_rtd_theme dependencies optional
Merged. Thanks! |
There is no need to pull these dependencies if i.e. the documentation is using the classic theme.
There will be no change in behavior for projects using alabaster or sphinx_rtd_theme.
Note: this PR does not remove these dependencies from setuptools
requires
list, as this can potentially break some reverse dependencies. If you think we should do this, please let me know and I will amend the PR. This change will be useful for us (Debian) anyway as we will be able to removesphinx-rtd-theme
from our our list of dependencies.