Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOC: Disable build against Sphinx 1.5.0#7569

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
QuLogic merged 3 commits intomatplotlib:v2.xfromQuLogic:fix-sphinx-1.5
Dec 5, 2016

Conversation

QuLogic
Copy link
Member

This was deprecated in Sphinx 1.4 and causes a warning in 1.5, which kills the build due to warnings-as-errors.

This is breaking bothmaster andv2.x doc builds, so I will self-merge this after CI passes.

This was deprecated in Sphinx 1.4 and causes a warning in 1.5, whichkills the build due to warnings-as-errors.
@QuLogicQuLogic added this to the2.0 (style change major release) milestoneDec 5, 2016
@QuLogicQuLogic mentioned this pull requestDec 5, 2016
@anntzer
Copy link
Contributor

I would just update doc-requirements to require sphinx>=1.4.

@QuLogic
Copy link
MemberAuthor

That's only Mar 28, 2016; seems a bit new.

@tacaswell
Copy link
Member

In the process of doing exactly this too.

There are 2 more:

Warning, treated as error:WARNING: latex_preamble is deprecated. Use latex_elements['preamble'] instead.Warning, treated as error:WARNING: latex_font_size is deprecated. Use latex_elements['pointsize'] instead.
02:11 $ git diffdiff --git a/doc/conf.py b/doc/conf.pyindex d9619d1..037fc80 100644--- a/doc/conf.py+++ b/doc/conf.py@@ -241,9 +241,6 @@ html_favicon = '_static/favicon.ico' # The paper size ('letter' or 'a4'). latex_paper_size = 'letter'-# The font size ('10pt', '11pt' or '12pt').-latex_font_size = '11pt'- # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, document class [howto/manual]).@@ -258,8 +255,9 @@ latex_documents = [ # the title page. latex_logo = None+latex_elements = {} # Additional stuff for the LaTeX preamble.-latex_preamble = r"""+latex_elements['preamble'] = r"""    % In the parameters section, place a newline after the Parameters    % header.  (This is stolen directly from Numpy's conf.py, since it    % affects Numpy-style docstrings).@@ -279,14 +277,17 @@ latex_preamble = r"""    \usepackage{enumitem}    \setlistdepth{2048} """+latex_elements['pointsize'] = '11pt'++# Grouping the document tree into LaTeX files. List of tuples # Documents to append as an appendix to all manuals. latex_appendices = []  # If false, no module index is generated. latex_use_modindex = True-latex_use_parts = True+latex_toplevel_sectioning = 'part'  # Show both class-level docstring and __init__ docstring in class # documentation

@tacaswell
Copy link
Member

We should probably shim it for the sake of people building on top of old system packages.

@tacaswell
Copy link
Member

can you also backport this to 1.5.3-doc?

@QuLogic
Copy link
MemberAuthor

latex_elements was added in 0.5, so we don't need anything special; 1.5.3-doc appears to have managed to pin Sphinx to 1.3.1 because your build appears to be working.

Every single builtin extension does not declare whether it is parallelread safe, causing our warnings-as-errors build to fail no matter what.
@QuLogicQuLogic changed the titleDOC: Avoid deprecated latex_use_parts option.DOC: Disable build against Sphinx 1.5.0Dec 5, 2016
@QuLogic
Copy link
MemberAuthor

Sphinx 1.5.0 now warns about a majority of its internal extensions that are not parallel read safe, making it impossible for us to fix right now; I've just changed requirements to not allow 1.5.0.

@QuLogicQuLogic merged commit984e9b0 intomatplotlib:v2.xDec 5, 2016
@QuLogicQuLogic deleted the fix-sphinx-1.5 branchDecember 5, 2016 08:37
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
v2.0.0
Development

Successfully merging this pull request may close these issues.

3 participants
@QuLogic@anntzer@tacaswell

[8]ページ先頭

©2009-2025 Movatter.jp