Skip to content
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

Fixes Sphinx version for docs to 1.3b1 #1700

Merged
merged 2 commits into from
Jun 1, 2016
Merged

Conversation

daveFNbuck
Copy link
Contributor

@daveFNbuck daveFNbuck commented May 31, 2016

Description

Changes Sphinx requirement for docs from Sphinx>=1.3b1 to Sphinx==1.3b1 and updates the sphinx warn_node override to better match the function signature in newer versions.

Motivation and Context

The docs test is currently broken because it's incompatible with the latest version of Sphinx. By fixing Sphinx to an exact version number, we avoid picking up a newer version that breaks everything. By also fixing the bug that broke the newer version, we can use a newer version if we choose.

Have you tested this? If so, how?

I ran the doc test and it succeeded with the lower version with and without the bugfix and with the latest version with the bug fix.

The docs test is currently broken because it's incompatible with the latest
version of Sphinx. By fixing Sphinx to an exact version number, we avoid picking
up a newer version that breaks everything.
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @gpoulin, @Tarrasch and @themalkolm to be potential reviewers

The latest version of sphinx has a different signature for warn_node than the
one we were using in our overridden version. By adding *args and **kwargs we now
have a more future-proof version of this override.
@codecov-io
Copy link

codecov-io commented Jun 1, 2016

Current coverage is 76.10%

Merging #1700 into master will decrease coverage by 2.69%

@@             master      #1700   diff @@
==========================================
  Files            94         94          
  Lines         10285      10285          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           8104       7827   -277   
- Misses         2181       2458   +277   
  Partials          0          0          

Powered by Codecov. Last updated by 2d2a7fb...84c5705

@Tarrasch Tarrasch merged commit 64f09a0 into spotify:master Jun 1, 2016
@Tarrasch
Copy link
Contributor

Tarrasch commented Jun 1, 2016

Thanks. Though I don't understand why you didn't bump the version to today's most recent.

@daveFNbuck daveFNbuck deleted the fix_docs branch June 1, 2016 06:42
@daveFNbuck
Copy link
Contributor Author

I haven't worked on the documentation much, so I didn't want to be responsible for changing how it's generated. If you want that version, go for it.

@Tarrasch
Copy link
Contributor

Tarrasch commented Jun 1, 2016

Sure. Your defensiveness here makes sense. Again thanks for the PR. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants