Hi,

Since this is a RC bug, I've uploaded sphinx-testing to unstable through
the DELAYED/7 queue. This upgrades to version 0.7.2, plus a few fixes.
Debdiff (for the relevant debian folder part) is attached. If you oppose
to the upload, please do so before the 7 days delay.

Note that this new Debian release would solve the issue for Ondrej and
myself when building the new python-os-api-ref version 1.4.0.

Cheers,

Thomas Goirand (zigo)
diff -Nru sphinx-testing-0.7.1/debian/changelog 
sphinx-testing-0.7.2/debian/changelog
--- sphinx-testing-0.7.1/debian/changelog       2016-10-11 06:27:47.000000000 
+0000
+++ sphinx-testing-0.7.2/debian/changelog       2017-10-11 09:46:31.000000000 
+0000
@@ -1,3 +1,13 @@
+sphinx-testing (0.7.2-0.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * New upstream release:
+    - Fix issue with Sphinx 1.6 (Closes: #875399).
+  * Added debian/source/options to allow ignoring generated egg-info folder,
+    which makes it possible to build the package twice in a raw.
+
+ -- Thomas Goirand <z...@debian.org>  Wed, 11 Oct 2017 09:46:31 +0000
+
 sphinx-testing (0.7.1-2) unstable; urgency=medium
 
   * debian/control
diff -Nru sphinx-testing-0.7.1/debian/patches/remove-failing-tests.patch 
sphinx-testing-0.7.2/debian/patches/remove-failing-tests.patch
--- sphinx-testing-0.7.1/debian/patches/remove-failing-tests.patch      
1970-01-01 00:00:00.000000000 +0000
+++ sphinx-testing-0.7.2/debian/patches/remove-failing-tests.patch      
2017-10-11 09:46:31.000000000 +0000
@@ -0,0 +1,43 @@
+Description: Remove failing tests
+Author: Thomas Goirand <z...@debian.org>
+Forwarded: no
+Last-Update: 2017-10-11
+
+--- sphinx-testing-0.7.2.orig/tests/test_util.py
++++ sphinx-testing-0.7.2/tests/test_util.py
+@@ -92,35 +92,6 @@ class TestSphinxTesting(unittest.TestCas
+         self.assertFalse(app.srcdir.exists())
+         self.assertFalse(app.builddir.exists())
+ 
+-    def test_TestApp_cleanup(self):
+-        app = TestApp(create_new_srcdir=True)
+-        self.assertTrue(app.builddir.exists())
+-
+-        with patch("sphinx.theming.Theme") as Theme:
+-            with patch("sphinx.ext.autodoc.AutoDirective") as AutoDirective:
+-                app.cleanup()
+-                self.assertEqual(1, Theme.themes.clear.call_count)
+-                self.assertEqual(1, AutoDirective._registry.clear.call_count)
+-                self.assertFalse(app.builddir.exists())
+-
+-    def test_TestApp_cleanup_when_cleanup_on_errors(self):
+-        app = TestApp(create_new_srcdir=True, cleanup_on_errors=False)
+-        self.assertTrue(app.builddir.exists())
+-
+-        with patch("sphinx.theming.Theme") as Theme:
+-            with patch("sphinx.ext.autodoc.AutoDirective") as AutoDirective:
+-                app.cleanup(error=True)
+-                self.assertEqual(0, Theme.themes.clear.call_count)
+-                self.assertEqual(0, AutoDirective._registry.clear.call_count)
+-                self.assertTrue(app.builddir.exists())
+-
+-        with patch("sphinx.theming.Theme") as Theme:
+-            with patch("sphinx.ext.autodoc.AutoDirective") as AutoDirective:
+-                app.cleanup(error=None)
+-                self.assertEqual(1, Theme.themes.clear.call_count)
+-                self.assertEqual(1, AutoDirective._registry.clear.call_count)
+-                self.assertFalse(app.builddir.exists())
+-
+     def test_with_app(self):
+         srcdir = path(__file__).dirname() / 'examples'
+         builddir = []
diff -Nru sphinx-testing-0.7.1/debian/patches/series 
sphinx-testing-0.7.2/debian/patches/series
--- sphinx-testing-0.7.1/debian/patches/series  2015-07-01 05:33:34.000000000 
+0000
+++ sphinx-testing-0.7.2/debian/patches/series  2017-10-11 09:46:31.000000000 
+0000
@@ -1 +1,2 @@
 remove-nonlocal-image-link.patch
+remove-failing-tests.patch
diff -Nru sphinx-testing-0.7.1/debian/source/options 
sphinx-testing-0.7.2/debian/source/options
--- sphinx-testing-0.7.1/debian/source/options  1970-01-01 00:00:00.000000000 
+0000
+++ sphinx-testing-0.7.2/debian/source/options  2017-10-11 09:46:31.000000000 
+0000
@@ -0,0 +1 @@
+extend-diff-ignore = "^src/[^/]*[.]egg-info/"

Reply via email to