[sagemath] 01/01: Fix our cython 0.25 patch, this is what's causing our sageinspect "TypeError built-in is a built-in class" errors

Ximin Luo infinity0 at debian.org
Thu Dec 8 20:02:07 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 d30499505bda6b702442cd2a418929c3eb18ad0a
Author: Ximin Luo <infinity0 at debian.org>
Date:   Thu Dec 8 21:01:04 2016 +0100

    Fix our cython 0.25 patch, this is what's causing our sageinspect "TypeError built-in is a built-in class" errors
---
 debian/patches/version-cython-0.25.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/version-cython-0.25.patch b/debian/patches/version-cython-0.25.patch
index 15c5843..2dce607 100644
--- a/debian/patches/version-cython-0.25.patch
+++ b/debian/patches/version-cython-0.25.patch
@@ -117,12 +117,12 @@ diff --git a/src/setup.py b/src/setup.py
 index c26639d..f094700 100755
 --- a/sage/src/setup.py	2016-11-05 19:34:44.701025334 +0000
 +++ b/sage/src/setup.py	2016-11-05 19:46:00.706210289 +0000
-@@ -562,16 +562,6 @@
+@@ -562,16 +562,7 @@
      import Cython.Compiler.Options
      import Cython.Compiler.Main
  
 -    # Sage uses these directives (mostly for historical reasons).
--    Cython.Compiler.Options.embed_pos_in_docstring = True
+     Cython.Compiler.Options.embed_pos_in_docstring = True
 -    Cython.Compiler.Options.directive_defaults['autotestdict'] = False
 -    Cython.Compiler.Options.directive_defaults['cdivision'] = True
 -    Cython.Compiler.Options.directive_defaults['fast_getattr'] = True

-- 
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