diff --git a/VERSION.txt b/VERSION.txt index aa70f9b2457..c196b9216c0 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -SageMath version 8.1.beta1, Release Date: 2017-08-04 +SageMath version 8.1.beta2, Release Date: 2017-08-13 diff --git a/build/pkgs/configure/checksums.ini b/build/pkgs/configure/checksums.ini index e55d7ae64f2..856db7714d1 100644 --- a/build/pkgs/configure/checksums.ini +++ b/build/pkgs/configure/checksums.ini @@ -1,4 +1,4 @@ tarball=configure-VERSION.tar.gz -sha1=15364988812ace7a0293646fded1f3c0a372ae71 -md5=398aaa4217d841d6353ebf230003902e -cksum=2273414518 +sha1=0f56bbb0118c834fec6c7adbe6276245f856092b +md5=993b6a1f19eafc160cad2a67f17aad8b +cksum=3308302982 diff --git a/build/pkgs/configure/package-version.txt b/build/pkgs/configure/package-version.txt index 7c022aedd27..0c56bea5944 100644 --- a/build/pkgs/configure/package-version.txt +++ b/build/pkgs/configure/package-version.txt @@ -1 +1 @@ -232 +233 diff --git a/build/pkgs/deformation/spkg-check b/build/pkgs/deformation/spkg-check old mode 100755 new mode 100644 index 35f04fc8862..27cd9419538 --- a/build/pkgs/deformation/spkg-check +++ b/build/pkgs/deformation/spkg-check @@ -1,4 +1,2 @@ -#!/usr/bin/env bash - cd src $MAKE check diff --git a/build/pkgs/deformation/spkg-install b/build/pkgs/deformation/spkg-install old mode 100755 new mode 100644 index b32e5884850..e0985d153bb --- a/build/pkgs/deformation/spkg-install +++ b/build/pkgs/deformation/spkg-install @@ -1,5 +1,3 @@ -#!/usr/bin/env bash - cd src ./configure --disable-static --prefix="$SAGE_LOCAL" \ diff --git a/build/pkgs/pari/checksums.ini b/build/pkgs/pari/checksums.ini index be66a9c3b20..9983fa901ed 100644 --- a/build/pkgs/pari/checksums.ini +++ b/build/pkgs/pari/checksums.ini @@ -1,4 +1,4 @@ tarball=pari-VERSION.tar.gz -sha1=6e5f9b227bb1afe9a8fb67fe1239211714601142 -md5=fec030cfa01fa1815552c7aa362d8bf9 -cksum=3798015133 +sha1=99a8ecd47ee6cdd22098d8585db183e357fb7b71 +md5=ae178b3c984af32f2008d147e901aa76 +cksum=4215303198 diff --git a/build/pkgs/pari/package-version.txt b/build/pkgs/pari/package-version.txt index 942ba952403..97f22211f46 100644 --- a/build/pkgs/pari/package-version.txt +++ b/build/pkgs/pari/package-version.txt @@ -1 +1 @@ -2.9.2.p2 +2.9.3.p0 diff --git a/build/pkgs/pari/patches/fflush.patch b/build/pkgs/pari/patches/fflush.patch deleted file mode 100644 index d6eb25995a0..00000000000 --- a/build/pkgs/pari/patches/fflush.patch +++ /dev/null @@ -1,20 +0,0 @@ -commit c8ddd6e4952a8731f5e99ff17cfa37cb430b47aa -Author: Bill Allombert -Date: Tue Mar 28 10:42:54 2017 +0200 - - GP was incorrectly issuing fflush(NULL) (From Erik Bray) - -diff --git a/src/language/es.c b/src/language/es.c -index 38f3737..77bcf8f 100644 ---- a/src/language/es.c -+++ b/src/language/es.c -@@ -532,7 +532,8 @@ _puts_log(const char *s) - fputs(s, f); - } - static void --_flush_log(void) { (void)fflush(pari_logfile); } -+_flush_log(void) -+{ if (pari_logfile != NULL) (void)fflush(pari_logfile); } - - static void - normalOutC(char c) { putc(c, pari_outfile); _putc_log(c); } diff --git a/build/pkgs/pari/patches/polredabs.patch b/build/pkgs/pari/patches/polredabs.patch deleted file mode 100644 index 98d06b65757..00000000000 --- a/build/pkgs/pari/patches/polredabs.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 1420fa40a7d7b43cf2d21c530a0a1d394bac245d Mon Sep 17 00:00:00 2001 -From: Karim Belabas -Date: Sun, 18 Jun 2017 17:30:46 +0200 -Subject: [PATCH] 82- polredabs(non-monic t_POL, 1) => potentially wrong - transformation map - ---- - src/basemath/base1.c | 2 +- - 1 files changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/basemath/base1.c b/src/basemath/base1.c -index 47c6ba1..9f1c736 100644 ---- a/src/basemath/base1.c -+++ b/src/basemath/base1.c -@@ -2484,7 +2484,7 @@ polredabs0(GEN x, long flag) - GEN w = gel(vw,2); - for (i = 1; i < l; i++) - w = ZV_union_shallow(w, gel(Z_factor(gel(v,i)),1)); -- nfinit_basic(&S, mkvec2(x,w)); -+ nfinit_basic(&S, mkvec2(S.T0,w)); - } - } - v = polredabs_aux(&S, &u); diff --git a/build/pkgs/polytopes_db/SPKG.txt b/build/pkgs/polytopes_db/SPKG.txt index 12375de91bd..3f2aae989ff 100644 --- a/build/pkgs/polytopes_db/SPKG.txt +++ b/build/pkgs/polytopes_db/SPKG.txt @@ -19,21 +19,3 @@ GPL == Dependencies == None - -== Changelog == - -=== polytopes_db-20120220 (Volker Braun 2012 Feb 20) === -* #12553: Added PALP binary data file version. In the future, - this will be the only data file format. - -=== polytopes_db-20100210.p2 (R. Andrew Ohana, 2012-05-17) === -* #13123: Move SAGE_DATA to SAGE_LOCAL/share - -=== polytopes_db-20100210.p1 (Keshav Kini, 2012-03-18) === -* #12694: Normalize directory structure - -=== polytopes_db-20100210 (?, ?) === -* Binary files replaced by text ones. - -=== polytopes_db-20080430 (?, ?) === -* 2008-04-30 Original version. diff --git a/build/pkgs/polytopes_db/checksums.ini b/build/pkgs/polytopes_db/checksums.ini index c662abac41b..ceb452697f3 100644 --- a/build/pkgs/polytopes_db/checksums.ini +++ b/build/pkgs/polytopes_db/checksums.ini @@ -1,4 +1,4 @@ tarball=polytopes_db-VERSION.tar.bz2 -sha1=4d83146f9739e1c907b8592f620f97b7eb02bb3d -md5=99bd633f4dfcdfef33c22b0b1b33919a -cksum=3316537984 +sha1=6a9d12740588ea5c0efc0e82776d8386e7887b47 +md5=64c5fba9568891a2dbde5d433ce668e2 +cksum=3276110922 diff --git a/build/pkgs/polytopes_db/package-version.txt b/build/pkgs/polytopes_db/package-version.txt index 2bf1d04f5a3..7c2a5aa9867 100644 --- a/build/pkgs/polytopes_db/package-version.txt +++ b/build/pkgs/polytopes_db/package-version.txt @@ -1 +1 @@ -20120220 +20170220 diff --git a/build/pkgs/psutil/patches/cygwin-support.patch b/build/pkgs/psutil/patches/cygwin-support.patch index 9b9f68854c5..dcdca636c29 100644 --- a/build/pkgs/psutil/patches/cygwin-support.patch +++ b/build/pkgs/psutil/patches/cygwin-support.patch @@ -819,7 +819,7 @@ index 0000000..ffba639 + raise + # Process name is between parentheses. It can contain spaces and + # other parentheses. This is taken into account by looking for -+ # the first occurrence of "(" and the last occurence of ")". ++ # the first occurrence of "(" and the last occurrence of ")". + rpar = data.rfind(b')') + name = data[data.find(b'(') + 1:rpar] + fields_after_name = data[rpar + 2:].split() diff --git a/build/pkgs/rpy2/SPKG.txt b/build/pkgs/rpy2/SPKG.txt index 37d55804d82..9c78b19257c 100644 --- a/build/pkgs/rpy2/SPKG.txt +++ b/build/pkgs/rpy2/SPKG.txt @@ -26,7 +26,7 @@ Website: http://rpy.sourceforge.net/rpy2.html === rpy2-2.7.4 (Emmanuel Charpentier, December 1st, 2015) === * Trac #19638 : upgrade to allow interaction with Jupyter notebook - * Updated cygwin.patch to add "|| #defined(__CyGWIN__)" to ALL occurences + * Updated cygwin.patch to add "|| #defined(__CyGWIN__)" to ALL occurrences of "#defined(Win32) || #defined(Win64)". This should be reviewed by someone who knows what (he|she)'s doing with Cygwin (I don't). * Removed setup.patch, which as no target now. diff --git a/src/bin/sage-banner b/src/bin/sage-banner index 7f5f0fa4873..36b751b7de9 100644 --- a/src/bin/sage-banner +++ b/src/bin/sage-banner @@ -1,5 +1,5 @@ ┌────────────────────────────────────────────────────────────────────┐ -│ SageMath version 8.1.beta1, Release Date: 2017-08-04 │ +│ SageMath version 8.1.beta2, Release Date: 2017-08-13 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ diff --git a/src/bin/sage-version.sh b/src/bin/sage-version.sh index e38c89742a4..a7c9e990f2e 100644 --- a/src/bin/sage-version.sh +++ b/src/bin/sage-version.sh @@ -1,4 +1,4 @@ # Sage version information for shell scripts # This file is auto-generated by the sage-update-version script, do not edit! -SAGE_VERSION='8.1.beta1' -SAGE_RELEASE_DATE='2017-08-04' +SAGE_VERSION='8.1.beta2' +SAGE_RELEASE_DATE='2017-08-13' diff --git a/src/doc/en/constructions/interface_issues.rst b/src/doc/en/constructions/interface_issues.rst index 8fc9a788984..40dbad4986f 100644 --- a/src/doc/en/constructions/interface_issues.rst +++ b/src/doc/en/constructions/interface_issues.rst @@ -228,7 +228,7 @@ Command-line Sage help If you know only part of the name of a Sage command and want to know where it occurs in Sage, a new option for 0.10.11 has been added to make it easier to hunt it down. Just type -``sage -grep `` to find all occurences of ```` in the +``sage -grep `` to find all occurrences of ```` in the Sage source code. For example, :: diff --git a/src/doc/en/developer/coding_basics.rst b/src/doc/en/developer/coding_basics.rst index fc226c6257a..9e68120e9e0 100644 --- a/src/doc/en/developer/coding_basics.rst +++ b/src/doc/en/developer/coding_basics.rst @@ -862,6 +862,18 @@ written. 5 7 +- **Python3 print:** even if Python2 syntax for print can still be + used in your own code for the moment, Python3 syntax for print must + be used in Sage code and doctests. If you use an old-style print in + doctests, it will raise a SyntaxError:: + + sage: print "not like that" + Traceback (most recent call last): + ... + SyntaxError: invalid syntax + sage: print("but like this") + but like this + - **Split long lines:** You may want to split long lines of code with a backslash. Note: this syntax is non-standard and may be removed in the future:: diff --git a/src/doc/en/developer/git_trac.rst b/src/doc/en/developer/git_trac.rst index bd30c04870d..d18160a39de 100644 --- a/src/doc/en/developer/git_trac.rst +++ b/src/doc/en/developer/git_trac.rst @@ -486,7 +486,7 @@ The file now looks like this:: <<<<<<< HEAD if i > 1: return fibonacci(i-1) * fibonacci(i-2) - return i + return [0, 1][i] ======= return fibonacci(i-1) + fibonacci(i-2) >>>>>>> 41675dfaedbfb89dcff0a47e520be4aa2b6c5d1b diff --git a/src/doc/en/prep/Quickstarts/NumAnalysis.rst b/src/doc/en/prep/Quickstarts/NumAnalysis.rst index 70fc163fed8..e3a0d888d07 100644 --- a/src/doc/en/prep/Quickstarts/NumAnalysis.rst +++ b/src/doc/en/prep/Quickstarts/NumAnalysis.rst @@ -34,19 +34,16 @@ Basic Analysis sage: ring=RealField(3) To print the actual number (without rounding off the last few imprecise -digits to only display correct digits), call the ``.str()`` method with -the option ``truncate=False``. - -:: +digits to only display correct digits), call the ``.str()`` method:: sage: print(ring('1').nextabove()) 1.2 :: - sage: print(ring('1').nextabove().str(truncate=False)) + sage: print(ring('1').nextabove().str()) 1.2 - sage: print(ring('1').nextbelow().str(truncate=False)) + sage: print(ring('1').nextbelow().str()) 0.88 Let's change our precision. @@ -54,9 +51,9 @@ Let's change our precision. :: sage: ring=RealField(20) - sage: print(ring('1').nextabove().str(truncate=False)) + sage: print(ring('1').nextabove().str()) 1.0000019 - sage: print(ring('1').nextbelow().str(truncate=False)) + sage: print(ring('1').nextbelow().str()) 0.99999905 You can also specify the rounding mode. @@ -68,17 +65,17 @@ You can also specify the rounding mode. :: - sage: ring(1/9).str(truncate=False) + sage: ring(1/9).str() '0.11111116' :: - sage: ringup(1/9).str(truncate=False) + sage: ringup(1/9).str() '0.13' :: - sage: ringdown(1/9).str(truncate=False) + sage: ringdown(1/9).str() '0.10' :: diff --git a/src/doc/en/reference/manifolds/diff_map.rst b/src/doc/en/reference/manifolds/diff_map.rst index 0054c1099ef..385248c0506 100644 --- a/src/doc/en/reference/manifolds/diff_map.rst +++ b/src/doc/en/reference/manifolds/diff_map.rst @@ -9,3 +9,5 @@ Differentiable Maps and Curves sage/manifolds/differentiable/diff_map sage/manifolds/differentiable/curve + + sage/manifolds/differentiable/integrated_curve diff --git a/src/doc/en/reference/plot3d/threejs_examples/helix.html b/src/doc/en/reference/plot3d/threejs_examples/helix.html index 4bfa45da48e..9300d18060a 100644 --- a/src/doc/en/reference/plot3d/threejs_examples/helix.html +++ b/src/doc/en/reference/plot3d/threejs_examples/helix.html @@ -15,8 +15,8 @@ - - + + - + +