[Python-modules-commits] [sphinx] 02/02: Skip running websupport tests during build.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sat Aug 5 18:35:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch debian/master
in repository sphinx.

commit 75cb09758809aef9314662a5a495f8d00d111e9f
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sat Aug 5 20:45:16 2017 +0300

    Skip running websupport tests during build.
    
    To avoid build-dependency loop with sphinxcontrib-websupport.
---
 debian/changelog | 5 +++--
 debian/rules     | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 84b6edf..2634595 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,7 @@ sphinx (1.6.3-1) UNRELEASED; urgency=medium
   * New upstream release (closes: #866789).
   * Update dependencies for the new release.
     - Drop python[3]-whoosh and python[3]-sqlalchemy build-dependencies.
-      These were only needed for websupport tests, we are now not running
-      these tests to avoid build-dependency loop with websupport packages.
+      They were only needed for websupport tests, now skipped (see below).
     - Add build-dependency on python-typing (Python 2 only).
     - Add suggestion on latexmk, it is now used for LaTeX builds.
   * Update autopkgtest dependencies.
@@ -14,6 +13,8 @@ sphinx (1.6.3-1) UNRELEASED; urgency=medium
   * Move libjs-sphinxdoc package to javascript section.
   * Update numbers in debian/jstest/run-tests for the new release.
   * Update debian/copyright from upstream LICENSE and AUTHORS files.
+  * Skip running websupport tests during build, to avoid build-dependency
+    loop with sphinxcontrib-websupport.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Sun, 09 Jul 2017 12:12:43 +0300
 
diff --git a/debian/rules b/debian/rules
index 5ae4698..a51a531 100755
--- a/debian/rules
+++ b/debian/rules
@@ -60,9 +60,9 @@ ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
 	export LC_ALL=C.UTF-8 && \
 	set -ex; for py in $(shell pyversions -r) $(shell py3versions -r); do \
 		if [ "$$py" \< "python3.5" ]; then \
-			$$py tests/run.py --verbose --ignore tests/py35; \
+			$$py tests/run.py --verbose --ignore tests/test_websupport.py --ignore tests/test_api_translator.py --ignore tests/py35; \
 		else \
-			$$py tests/run.py --verbose; \
+			$$py tests/run.py --verbose --ignore tests/test_websupport.py --ignore tests/test_api_translator.py; \
 		fi; \
 	done
 	rm -rf build/py2/tests/ build/py3/tests/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx.git



More information about the Python-modules-commits mailing list