[sagemath] 01/01: Fix 57 failing GAP-related tests

Ximin Luo infinity0 at debian.org
Sun Oct 2 22:40:04 UTC 2016


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

infinity0 pushed a commit to branch master
in repository sagemath.

commit e259f1867801b010c3b896ee28f267269a9c1b9f
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon Oct 3 00:39:29 2016 +0200

    Fix 57 failing GAP-related tests
---
 debian/patches/debian-sage-gap-reset.patch | 18 ++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/debian-sage-gap-reset.patch b/debian/patches/debian-sage-gap-reset.patch
new file mode 100644
index 0000000..d0e364c
--- /dev/null
+++ b/debian/patches/debian-sage-gap-reset.patch
@@ -0,0 +1,18 @@
+Description: Reset the sage-local gap workspace before the first test
+ Otherwise it causes test errors, if the workspace contains files from older
+ versions of gap.
+Author: Ximin Luo <infinity0 at debian.org>
+Forwarded: not-needed / TBD
+# it's upstream's bug but they are likely to not bother, since they control their "GAP version"
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/sage/src/sage/interfaces/gap.py
++++ b/sage/src/sage/interfaces/gap.py
+@@ -27,6 +27,7 @@
+ 
+ We factor an integer using GAP::
+ 
++    sage: gap_reset_workspace()
+     sage: n = gap(20062006); n
+     20062006
+     sage: n.parent()
diff --git a/debian/patches/series b/debian/patches/series
index 49f8d45..c553ab0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -32,6 +32,7 @@ debian-cython-sys-path.patch
 debian-sage-env.patch
 debian-octave.patch
 debian-no-singular-hlp.patch
+debian-sage-gap-reset.patch
 
 # temporary patches for whatever reason
 # they will eventually be gotten rid of

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



More information about the debian-science-commits mailing list