[sagenb-export] 01/02: Work around an FTBFS due to a bug in nbformat

Ximin Luo infinity0 at debian.org
Wed Dec 7 19:46:21 UTC 2016


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

infinity0 pushed a commit to branch master
in repository sagenb-export.

commit 9696520e928312e464159a154213e40ad60a64c2
Author: Ximin Luo <infinity0 at debian.org>
Date:   Wed Dec 7 20:35:30 2016 +0100

    Work around an FTBFS due to a bug in nbformat
---
 debian/changelog | 6 ++++++
 debian/rules     | 9 +++++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e4915b1..a68fa20 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sagenb-export (2.0-2) UNRELEASED; urgency=medium
+
+  * Work around an FTBFS due to a bug in nbformat. (Closes: #847172)
+
+ -- Ximin Luo <infinity0 at debian.org>  Wed, 07 Dec 2016 20:21:03 +0100
+
 sagenb-export (2.0-1) unstable; urgency=medium
 
   * Initial release. (Closes: #839782)
diff --git a/debian/rules b/debian/rules
index 27c4835..51faee0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,15 @@ TOX_ENVLIST = py27,py35
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+# Temporary workaround for #847172; the following two lines with LC_CTYPE
+# should be removed after these are fixed:
+# - https://github.com/jupyter/nbformat/issues/76
+# - https://github.com/vbraun/ExportSageNB/issues/6
+# Contrary to its documentation tox does pass down LANG which is why we see
+# #847172 in the first place; however we want to affect as little as possible
+# so we only set LC_CTYPE - LANG would affect the other LC_* values too.
+	LC_CTYPE=C.UTF-8 \
+	TOX_TESTENV_PASSENV=LC_CTYPE \
 	VIRTUALENV_DOWNLOAD=no \
 	http_proxy=http://127.0.9.1:9 \
 	https_proxy=https://127.0.9.1:9 \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb-export.git



More information about the debian-science-commits mailing list