From 5db5d4e56243c609f44afc1f21c112b026f9e1fe Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Mon, 11 Jul 2022 21:24:01 +0100 Subject: [PATCH 1/3] Update doctests for SymPy 1.11 Doctests related to SymPy's rsolve function are updated in: src/sage/calculus/test_sympy.py src/sage/tests/books/computational-mathematics-with-sagemath/recequadiff_doctest.py The form of the output from SymPy has changed since https://github.com/sympy/sympy/pull/23567 --- src/sage/calculus/test_sympy.py | 4 ++-- .../recequadiff_doctest.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sage/calculus/test_sympy.py b/src/sage/calculus/test_sympy.py index 7cf7f3f6bfd..927e6ee4fb6 100644 --- a/src/sage/calculus/test_sympy.py +++ b/src/sage/calculus/test_sympy.py @@ -193,7 +193,7 @@ sage: u = Function('u') sage: n = Symbol('n', integer=True) sage: f = u(n+2) - u(n+1) + u(n)/4 - sage: 2**n * rsolve(f,u(n)) - C1*n + C0 + sage: expand(2**n * rsolve(f,u(n))) + 2*C1*n + C0 """ diff --git a/src/sage/tests/books/computational-mathematics-with-sagemath/recequadiff_doctest.py b/src/sage/tests/books/computational-mathematics-with-sagemath/recequadiff_doctest.py index 1062f4f7e8c..f53f813d793 100644 --- a/src/sage/tests/books/computational-mathematics-with-sagemath/recequadiff_doctest.py +++ b/src/sage/tests/books/computational-mathematics-with-sagemath/recequadiff_doctest.py @@ -382,7 +382,7 @@ sage: from sympy import rsolve_hyper sage: from sympy.abc import n sage: rsolve_hyper([-2,1],2**(n+2),n) - 2**n*C0 + 2**(n + 2)*(C0 + n/2) + 2**n*C0 + 2**(n + 1)*n """ From 16fdc52e7dee6414a36cf3e6546b4a7c9089b21d Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Wed, 24 Aug 2022 21:36:24 -0700 Subject: [PATCH 2/3] build/pkgs/sympy: Update to 1.11 --- build/pkgs/sympy/checksums.ini | 6 +++--- build/pkgs/sympy/package-version.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/pkgs/sympy/checksums.ini b/build/pkgs/sympy/checksums.ini index f2b891c8a65..d92eeec4219 100644 --- a/build/pkgs/sympy/checksums.ini +++ b/build/pkgs/sympy/checksums.ini @@ -1,5 +1,5 @@ tarball=sympy-VERSION.tar.gz -sha1=95b5323b284a3f64414dab3b9da909eeeb1c09ea -md5=8c7a956d74a47dc439c2935fec64ac46 -cksum=1092663182 +sha1=bb3ecaa4b223097831b5f0627d6579d8bd906840 +md5=973f746dd0b0d07b01f6b2b15603cbf8 +cksum=3499849170 upstream_url=https://github.com/sympy/sympy/releases/download/sympy-VERSION/sympy-VERSION.tar.gz diff --git a/build/pkgs/sympy/package-version.txt b/build/pkgs/sympy/package-version.txt index 4dae2985b58..09601587019 100644 --- a/build/pkgs/sympy/package-version.txt +++ b/build/pkgs/sympy/package-version.txt @@ -1 +1 @@ -1.10.1 +1.11 From 52815744bde2b682245b6f985a112f7cb8666056 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Wed, 31 Aug 2022 08:58:07 -0700 Subject: [PATCH 3/3] build/pkgs/sympy: Update to 1.11.1 --- build/pkgs/sympy/checksums.ini | 6 +++--- build/pkgs/sympy/package-version.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/pkgs/sympy/checksums.ini b/build/pkgs/sympy/checksums.ini index d92eeec4219..f59c0083e07 100644 --- a/build/pkgs/sympy/checksums.ini +++ b/build/pkgs/sympy/checksums.ini @@ -1,5 +1,5 @@ tarball=sympy-VERSION.tar.gz -sha1=bb3ecaa4b223097831b5f0627d6579d8bd906840 -md5=973f746dd0b0d07b01f6b2b15603cbf8 -cksum=3499849170 +sha1=9e75c8cafa4324f2803a6488ac713d87adf5cb64 +md5=232141d248ab4164e92c8ac59a996914 +cksum=2645245679 upstream_url=https://github.com/sympy/sympy/releases/download/sympy-VERSION/sympy-VERSION.tar.gz diff --git a/build/pkgs/sympy/package-version.txt b/build/pkgs/sympy/package-version.txt index 09601587019..720c7384c61 100644 --- a/build/pkgs/sympy/package-version.txt +++ b/build/pkgs/sympy/package-version.txt @@ -1 +1 @@ -1.11 +1.11.1