[sagemath] 01/01: Pass --no-readline to R otherwise Pexpect hangs
Ximin Luo
infinity0 at debian.org
Sun Oct 16 13:34:18 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 d5432005b4c4e79eea4a7b83769947616c91f63e
Author: Ximin Luo <infinity0 at debian.org>
Date: Sun Oct 16 15:30:44 2016 +0200
Pass --no-readline to R otherwise Pexpect hangs
---
debian/README.Debian | 16 ----------------
debian/patches/debian-temp-r-no-readline.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
index 02f7124..ba359be 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -82,22 +82,6 @@ Now for the summary:
18+5 unreproducible for infinity0
32 (estimated) for Tobias
-plus "timed out waiting for R"
-
-### Timed out waiting for R
-
-Give --verbose to see which test case it's hanging on. Running R manually works.
-Run the example manually inside ./sage and press Ctrl-C to get a backtrace.
-
-sage -t --long src/sage/misc/sageinspect.py # Timed out
-sage -t --long src/sage/interfaces/expect.py # Timed out
-sage -t --long src/sage/interfaces/r.py # Timed out
-sage -t --long src/sage/interfaces/interface.py # Timed out
-sage -t --long src/doc/en/prep/Quickstarts/Statistics-and-Distributions.rst # Timed out
-sage -t --long /usr/lib/python2.7/dist-packages/sagenb/misc/support.py # Timed out
-sage -t --long src/sage/stats/r.py # Timed out
-sage -t --long src/sage/rings/integer.pyx # Timed out (and interrupt failed)
-
### We have some sort of lead for further investigation
The _wip_hacky-test-fixes branch unbreaks some of these, but not sure that
diff --git a/debian/patches/debian-temp-r-no-readline.patch b/debian/patches/debian-temp-r-no-readline.patch
new file mode 100644
index 0000000..1079622
--- /dev/null
+++ b/debian/patches/debian-temp-r-no-readline.patch
@@ -0,0 +1,16 @@
+Description: Pass --no-readline to R otherwise Pexpect hangs
+Author: Ximin Luo <infinity0 at debian.org>
+Forwarded: TODO, maybe not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/sage/src/sage/interfaces/r.py
++++ b/sage/src/sage/interfaces/r.py
+@@ -331,7 +331,7 @@
+ prompt = '> ', #default, later comes the change
+
+ # This is the command that starts up your program
+- command = "R --vanilla --quiet",
++ command = "R --no-readline --vanilla --quiet",
+
+ server=server,
+ server_tmpdir=server_tmpdir,
diff --git a/debian/patches/series b/debian/patches/series
index 82205f9..d1cb350 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -51,3 +51,4 @@ version-temp-singular-4-extra-fixes.patch
version-temp-glpk-4.60-extra-hacky-fixes.patch
temp-fix-more-tests.patch
debian-temp-userdir.patch
+debian-temp-r-no-readline.patch
--
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