Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
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 |
shimizukawa
added this to the 1.4 milestone
Nov 15, 2015
shimizukawa
added
the
html
label
Nov 15, 2015
|
|
|
@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. |
added a commit
that referenced
this pull request
Jan 15, 2016
|
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) |
tk0miya
assigned
shimizukawa
Jan 16, 2016
tk0miya
added
html theme
and removed
html
labels
Jan 16, 2016
The former one. |
|
@shimizukawa I understand. LGTM! |
shimizukawa
modified the milestones:
1.3.5,
1.4
Jan 18, 2016
|
FWIW I've rebased this pull request against the latest stable branch. |
added a commit
that referenced
this pull request
Jan 19, 2016
shimizukawa
merged commit dcdcdb4
into
sphinx-doc:stable
Jan 19, 2016
1 check passed
|
Merged. Thanks! |
mitya57 commentedOct 24, 2015
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
requireslist, 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-themefrom our our list of dependencies.