Package: sphinx / 1.7.4-1

Metadata

Package Version Patches format
sphinx 1.7.4-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 disable_js_version_check.diff | (download)

tests/test_theming.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable a test that checks versions of js libraries

0002 no_snowballstemmer.diff | (download)

Sphinx.egg-info/requires.txt | 1 0 + 1 - 0 !
setup.py | 1 0 + 1 - 0 !
sphinx/search/__init__.py | 14 0 + 14 - 0 !
tests/test_search.py | 1 1 + 0 - 0 !
4 files changed, 1 insertion(+), 16 deletions(-)

 do not support snowballstemmer-based search for now

0003 skip_tests_network.diff | (download)

tests/test_build_latex.py | 1 1 + 0 - 0 !
tests/test_build_linkcheck.py | 2 2 + 0 - 0 !
2 files changed, 3 insertions(+)

 skip linkcheck tests that require network access

0004 no_require_websupport.diff | (download)

setup.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 move sphinxcontrib-websupport to extras_require


0005 Fix testsuite to not rely on return types.patch | (download)

tests/test_autodoc.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix testsuite to not rely on return types.


0006 Don t use Google Fonts to avoid privacy breach.patch | (download)

doc/_themes/sphinx13/layout.html | 2 0 + 2 - 0 !
sphinx/themes/pyramid/layout.html | 2 0 + 2 - 0 !
2 files changed, 4 deletions(-)

 don't use google fonts to avoid privacy breach.


0007 Fix spelling error in manpage.patch | (download)

doc/man/sphinx-quickstart.rst | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix spelling error in manpage.


0008 Call object_description recursively for dict keys an.patch | (download)

sphinx/util/inspect.py | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 call object_description recursively for dict keys and values.

0009 Ensure the set object description is reproducible.patch | (download)

AUTHORS | 1 1 + 0 - 0 !
sphinx/util/inspect.py | 9 9 + 0 - 0 !
tests/test_util_inspect.py | 18 18 + 0 - 0 !
3 files changed, 28 insertions(+)

 ensure the set object description is reproducible.

Whilst working on the Reproducible Builds effort [0], we noticed
that sphinx could generate output that is not reproducible.

In particular, the rendering of `set` objects in default arguments
and elsewhere is currently non-determinstic. For example:

    class A_Class(object):
        a_set = {'a', 'b', 'c'}

Might be rendered as any of:

     {'a', 'b', 'c'}
     {'a', 'c', 'b'}
     {'b', 'a', 'c'}
     {'b', 'c', 'a'}
     {'c', 'a', 'b'}
     {'c', 'b', 'a'}

Patch attached that sorts the contents of sets whilst rendering.
This is parallel to the `dict` key sorting.

This was originally filed in Debian as #895553 [1].

 [0] https://reproducible-builds.org/
 [1] https://bugs.debian.org/895553

Signed-off-by: Chris Lamb <lamby@debian.org>

0010 Remove setuptools from install_requires.patch | (download)

setup.py | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 remove setuptools from install_requires

It was added there because the entry points use pkg_resources module,
but it is provided in a separate package in Debian, pulling setuptools
itself is not needed.