Date: Thursday, May 11, 2023 @ 07:34:36
  Author: arojas
Revision: 1459887

upgpkg: python-sympy 1.12-1: Update to 1.12

Modified:
  python-sympy/trunk/PKGBUILD
Deleted:
  python-sympy/trunk/sympy-python-3.10.patch

-------------------------+
 PKGBUILD                |    6 +++---
 sympy-python-3.10.patch |   26 --------------------------
 2 files changed, 3 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-11 07:30:54 UTC (rev 1459886)
+++ PKGBUILD    2023-05-11 07:34:36 UTC (rev 1459887)
@@ -5,8 +5,8 @@
 # Contributor: Peter Garceau <[email protected]>
 
 pkgname=python-sympy
-pkgver=1.11.1
-pkgrel=2
+pkgver=1.12
+pkgrel=1
 arch=('any')
 pkgdesc='Symbolic manipulation package (Computer Algebra System), written in 
pure Python'
 url='https://sympy.org/en/index.html'
@@ -16,7 +16,7 @@
             'python-symengine: optimized backend, set USE_SYMENGINE=1 to use')
 makedepends=('python-setuptools')
 
source=("https://github.com/sympy/sympy/archive/sympy-$pkgver/sympy-$pkgver.tar.gz";)
-sha512sums=('6cc720b673cf31a2e8f56a5cae24ec15024ea43dee92196adb0a87f28561b5d2404fbbfd3d55a8414930a31d4d0f4a731d458ad528c8cbb03c37555f5c14ce4a')
+sha512sums=('96a89b88f6912d70c56f5bd1903dd3c518963118ff25d033cdcb7da2f260b8ee209d3ab4a4394dd2b5dc0b4585b71ccd55d55c8e5c6e28024cccbedf07ee4360')
 
 build() {
   cd sympy-sympy-$pkgver

Deleted: sympy-python-3.10.patch
===================================================================
--- sympy-python-3.10.patch     2023-05-11 07:30:54 UTC (rev 1459886)
+++ sympy-python-3.10.patch     2023-05-11 07:34:36 UTC (rev 1459887)
@@ -1,26 +0,0 @@
---- a/sympy/external/tests/test_pythonmpq.py   2021-09-30 16:23:28.000000000 
-0600
-+++ b/sympy/external/tests/test_pythonmpq.py   2021-10-08 11:06:59.453830335 
-0600
-@@ -42,7 +42,7 @@ def test_PythonMPQ():
-         assert check_Q(Q(Q(3, 5))) == (3, 5)
-         assert check_Q(Q(0.5)) == (1, 2)
-         assert check_Q(Q('0.5')) == (1, 2)
--        assert check_Q(Q(Decimal('0.6'))) == (3, 5)
-+        assert check_Q(Q(str(Decimal('0.6')))) == (3, 5)
-         assert check_Q(Q(Fraction(3, 5))) == (3, 5)
- 
-         # Invalid types
---- a/sympy/polys/ring_series.py       2021-09-30 16:23:28.000000000 -0600
-+++ b/sympy/polys/ring_series.py       2021-10-08 13:43:30.746068783 -0600
-@@ -989,6 +989,11 @@ def rs_nth_root(p, n, x, prec):
-             except ValueError:                # as exponent
-                 raise DomainError("The given series can't be expanded in "
-                     "this domain.")
-+            except TypeError:
-+                try:
-+                    const = R(c**QQ(1, n))
-+                except ValueError:
-+                    raise DomainError("The given series can't be expanded in 
this domain.")
-         res = rs_nth_root(p/c, n, x, prec)*const
-     else:
-         res = _nth_root1(p, n, x, prec)
-

Reply via email to