[sagemath] 01/01: Don't output pip warnings, otherwise some doctests fail

Ximin Luo infinity0 at debian.org
Thu Nov 10 00:35:59 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 289dd2eaff121a050db4632cb38c3d3d1b2fb39c
Author: Ximin Luo <infinity0 at debian.org>
Date:   Thu Nov 10 01:35:45 2016 +0100

    Don't output pip warnings, otherwise some doctests fail
---
 debian/patches/debian-install-paths.patch |  2 +-
 debian/patches/debian-pip-nowarn.patch    | 15 +++++++++++++++
 debian/patches/series                     |  1 +
 3 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/patches/debian-install-paths.patch b/debian/patches/debian-install-paths.patch
index 12ae6ee..d684863 100644
--- a/debian/patches/debian-install-paths.patch
+++ b/debian/patches/debian-install-paths.patch
@@ -101,7 +101,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
      clean_install_dir(output_dir, python_packages, python_modules,
 --- a/sage/sage
 +++ b/sage/sage
-@@ -22,6 +22,7 @@
+@@ -23,6 +23,7 @@
  # automatically.
  #SAGE_ROOT=/path/to/sage-version
  
diff --git a/debian/patches/debian-pip-nowarn.patch b/debian/patches/debian-pip-nowarn.patch
new file mode 100644
index 0000000..1f785c2
--- /dev/null
+++ b/debian/patches/debian-pip-nowarn.patch
@@ -0,0 +1,15 @@
+Description: Don't output pip warnings, otherwise some doctests fail
+Author: Ximin Luo <infinity0 at debian.org>
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/sage/sage
++++ b/sage/sage
+@@ -16,6 +16,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ 
++export PIP_DISABLE_PIP_VERSION_CHECK=1
+ 
+ # Set SAGE_ROOT to the location of the sage install, i.e. the directory
+ # containing this shell script.  If unset, we will try to figure it out
diff --git a/debian/patches/series b/debian/patches/series
index 61113a9..7da6c7c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -38,6 +38,7 @@ debian-gsl-cblas.patch
 debian-arb.patch
 debian-cython-sys-path.patch
 debian-sage-gap-reset.patch
+debian-pip-nowarn.patch
 # this next one contains some stuff that should be forwarded upstream
 debian-fix-trivial-test-cases.patch
 debian-install-paths.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