Compare commits
No commits in common. "rawhide" and "f17" have entirely different histories.
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/sympy-*.tar.gz
|
||||
sympy-0.6.7.tar.gz
|
||||
/sympy-0.7.1.tar.gz
|
||||
|
@ -1,8 +0,0 @@
|
||||
# sympy
|
||||
|
||||
SymPy is a Python library for symbolic mathematics. It aims to become a
|
||||
full-featured computer algebra system (CAS) while keeping the code as
|
||||
simple as possible in order to be comprehensible and easily extensible.
|
||||
SymPy is written entirely in Python.
|
||||
|
||||
See [the home page](https://www.sympy.org/) for more information.
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (sympy-1.12.tar.gz) = 96a89b88f6912d70c56f5bd1903dd3c518963118ff25d033cdcb7da2f260b8ee209d3ab4a4394dd2b5dc0b4585b71ccd55d55c8e5c6e28024cccbedf07ee4360
|
||||
3847b5ed5c1531bf3c1b849dc2337253 sympy-0.7.1.tar.gz
|
||||
|
20
stripmpmath.sh
Executable file
20
stripmpmath.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
# Script for stripping traces of the bundled mpmath library
|
||||
# 2011-10-12 Jussi Lehtola
|
||||
|
||||
# Loop
|
||||
for i in `find . -name \*.py`; do
|
||||
if [[ " `grep sympy.mpmath $i`" != " " ]]; then
|
||||
echo $i
|
||||
cp -a $i $i.mpmath
|
||||
sed -i 's|sympy.mpmath|mpmath|g' $i
|
||||
fi
|
||||
|
||||
if [[ " `grep 'from sympy import mpmath' $i`" != " " ]]; then
|
||||
if [ ! -f $i.mpmath ]; then
|
||||
echo $i
|
||||
cp -a $i $i.mpmath
|
||||
fi
|
||||
sed -i 's|from sympy import mpmath|import mpmath|g' $i
|
||||
fi
|
||||
done
|
529
sympy-0.7.1-strip-internal-mpmath.patch
Normal file
529
sympy-0.7.1-strip-internal-mpmath.patch
Normal file
@ -0,0 +1,529 @@
|
||||
diff -up sympy-0.7.1/examples/advanced/autowrap_ufuncify.py.mpmath sympy-0.7.1/examples/advanced/autowrap_ufuncify.py
|
||||
--- sympy-0.7.1/examples/advanced/autowrap_ufuncify.py.mpmath 2011-07-26 02:59:41.000000000 +0300
|
||||
+++ sympy-0.7.1/examples/advanced/autowrap_ufuncify.py 2011-10-12 01:53:48.550102357 +0300
|
||||
@@ -22,7 +22,7 @@ np = import_module('numpy')
|
||||
if not np:
|
||||
sys.exit("Cannot import numpy. Exiting.")
|
||||
|
||||
-import sympy.mpmath as mpmath
|
||||
+import mpmath as mpmath
|
||||
from sympy.utilities.autowrap import ufuncify
|
||||
from sympy.utilities.lambdify import implemented_function
|
||||
from sympy import symbols, legendre, Plot, pprint
|
||||
diff -up sympy-0.7.1/examples/advanced/pidigits.py.mpmath sympy-0.7.1/examples/advanced/pidigits.py
|
||||
--- sympy-0.7.1/examples/advanced/pidigits.py.mpmath 2011-07-26 02:59:41.000000000 +0300
|
||||
+++ sympy-0.7.1/examples/advanced/pidigits.py 2011-10-12 01:53:48.551102384 +0300
|
||||
@@ -6,8 +6,8 @@ Example shows arbitrary precision using
|
||||
computation of the digits of pi.
|
||||
"""
|
||||
|
||||
-from sympy.mpmath import libmp, pi
|
||||
-from sympy.mpmath import functions as mpf_funs
|
||||
+from mpmath import libmp, pi
|
||||
+from mpmath import functions as mpf_funs
|
||||
|
||||
import math
|
||||
from time import clock
|
||||
diff -up sympy-0.7.1/setup.py.mpmath sympy-0.7.1/setup.py
|
||||
--- sympy-0.7.1/setup.py.mpmath 2011-07-30 03:04:23.000000000 +0300
|
||||
+++ sympy-0.7.1/setup.py 2011-10-12 01:54:20.703994407 +0300
|
||||
@@ -59,12 +59,6 @@ modules = [
|
||||
'sympy.logic.algorithms',
|
||||
'sympy.logic.utilities',
|
||||
'sympy.matrices',
|
||||
- 'sympy.mpmath',
|
||||
- 'sympy.mpmath.calculus',
|
||||
- 'sympy.mpmath.functions',
|
||||
- 'sympy.mpmath.libmp',
|
||||
- 'sympy.mpmath.matrices',
|
||||
- 'sympy.mpmath.tests',
|
||||
'sympy.ntheory',
|
||||
'sympy.parsing',
|
||||
'sympy.physics',
|
||||
@@ -208,7 +202,6 @@ tests = [
|
||||
'sympy.integrals.tests',
|
||||
'sympy.logic.tests',
|
||||
'sympy.matrices.tests',
|
||||
- 'sympy.mpmath.tests',
|
||||
'sympy.ntheory.tests',
|
||||
'sympy.parsing.tests',
|
||||
'sympy.physics.quantum.tests',
|
||||
diff -up sympy-0.7.1/sympy/core/evalf.py.mpmath sympy-0.7.1/sympy/core/evalf.py
|
||||
--- sympy-0.7.1/sympy/core/evalf.py.mpmath 2011-07-30 03:04:23.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/core/evalf.py 2011-10-12 01:53:48.552102412 +0300
|
||||
@@ -3,18 +3,18 @@ Adaptive numerical evaluation of SymPy e
|
||||
for mathematical functions.
|
||||
"""
|
||||
|
||||
-import sympy.mpmath.libmp as libmp
|
||||
-from sympy.mpmath import make_mpc, make_mpf, mp, mpc, mpf, nsum, quadts, quadosc
|
||||
-from sympy.mpmath import inf as mpmath_inf
|
||||
-from sympy.mpmath.libmp import (bitcount, from_int, from_man_exp, \
|
||||
+import mpmath.libmp as libmp
|
||||
+from mpmath import make_mpc, make_mpf, mp, mpc, mpf, nsum, quadts, quadosc
|
||||
+from mpmath import inf as mpmath_inf
|
||||
+from mpmath.libmp import (bitcount, from_int, from_man_exp, \
|
||||
from_rational, fhalf, fnone, fone, fzero, mpf_abs, mpf_add, mpf_atan, \
|
||||
mpf_atan2, mpf_cmp, mpf_cos, mpf_e, mpf_exp, mpf_log, mpf_lt, mpf_mul, \
|
||||
mpf_neg, mpf_pi, mpf_pow, mpf_pow_int, mpf_shift, mpf_sin, mpf_sqrt, \
|
||||
normalize, round_nearest, to_int, to_str)
|
||||
-from sympy.mpmath.libmp.backend import MPZ
|
||||
-from sympy.mpmath.libmp.libmpf import dps_to_prec
|
||||
+from mpmath.libmp.backend import MPZ
|
||||
+from mpmath.libmp.libmpf import dps_to_prec
|
||||
|
||||
-from sympy.mpmath.libmp.gammazeta import mpf_bernoulli
|
||||
+from mpmath.libmp.gammazeta import mpf_bernoulli
|
||||
|
||||
import math
|
||||
|
||||
diff -up sympy-0.7.1/sympy/core/function.py.mpmath sympy-0.7.1/sympy/core/function.py
|
||||
--- sympy-0.7.1/sympy/core/function.py.mpmath 2011-07-30 03:04:24.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/core/function.py 2011-10-12 01:53:48.553102440 +0300
|
||||
@@ -43,8 +43,8 @@ from sympy.core.decorators import deprec
|
||||
from sympy.utilities import default_sort_key
|
||||
from sympy.utilities.iterables import uniq
|
||||
|
||||
-from sympy import mpmath
|
||||
-import sympy.mpmath.libmp as mlib
|
||||
+import mpmath
|
||||
+import mpmath.libmp as mlib
|
||||
|
||||
class PoleError(Exception):
|
||||
pass
|
||||
@@ -737,7 +737,7 @@ class Derivative(Expr):
|
||||
When we can represent derivatives at a point, this should be folded
|
||||
into the normal evalf. For now, we need a special method.
|
||||
"""
|
||||
- from sympy import mpmath
|
||||
+ import mpmath
|
||||
from sympy.core.expr import Expr
|
||||
if len(self.free_symbols) != 1 or len(self.variables) != 1:
|
||||
raise NotImplementedError('partials and higher order derivatives')
|
||||
diff -up sympy-0.7.1/sympy/core/numbers.py.mpmath sympy-0.7.1/sympy/core/numbers.py
|
||||
--- sympy-0.7.1/sympy/core/numbers.py.mpmath 2011-07-30 03:04:24.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/core/numbers.py 2011-10-12 01:53:48.553102440 +0300
|
||||
@@ -5,10 +5,10 @@ from singleton import S, Singleton
|
||||
from expr import Expr, AtomicExpr
|
||||
from decorators import _sympifyit, deprecated
|
||||
from cache import cacheit, clear_cache
|
||||
-import sympy.mpmath as mpmath
|
||||
-import sympy.mpmath.libmp as mlib
|
||||
-from sympy.mpmath.libmp import mpf_pow, mpf_pi, mpf_e, phi_fixed
|
||||
-from sympy.mpmath.ctx_mp import mpnumeric
|
||||
+import mpmath as mpmath
|
||||
+import mpmath.libmp as mlib
|
||||
+from mpmath.libmp import mpf_pow, mpf_pi, mpf_e, phi_fixed
|
||||
+from mpmath.ctx_mp import mpnumeric
|
||||
|
||||
import decimal
|
||||
|
||||
diff -up sympy-0.7.1/sympy/core/power.py.mpmath sympy-0.7.1/sympy/core/power.py
|
||||
--- sympy-0.7.1/sympy/core/power.py.mpmath 2011-07-28 00:06:51.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/core/power.py 2011-10-12 01:53:48.554102468 +0300
|
||||
@@ -6,7 +6,7 @@ from core import C
|
||||
from singleton import S
|
||||
from expr import Expr
|
||||
|
||||
-from sympy import mpmath
|
||||
+import mpmath
|
||||
from sympy.utilities.iterables import sift
|
||||
|
||||
def integer_nthroot(y, n):
|
||||
diff -up sympy-0.7.1/sympy/core/sets.py.mpmath sympy-0.7.1/sympy/core/sets.py
|
||||
--- sympy-0.7.1/sympy/core/sets.py.mpmath 2011-07-28 00:06:51.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/core/sets.py 2011-10-12 01:53:48.555102496 +0300
|
||||
@@ -3,7 +3,7 @@ from singleton import Singleton, S
|
||||
from evalf import EvalfMixin
|
||||
from numbers import Float, Integer
|
||||
from sympify import _sympify, sympify, SympifyError
|
||||
-from sympy.mpmath import mpi, mpf
|
||||
+from mpmath import mpi, mpf
|
||||
from containers import Tuple
|
||||
|
||||
|
||||
diff -up sympy-0.7.1/sympy/core/tests/test_evalf.py.mpmath sympy-0.7.1/sympy/core/tests/test_evalf.py
|
||||
--- sympy-0.7.1/sympy/core/tests/test_evalf.py.mpmath 2011-07-28 00:06:51.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/core/tests/test_evalf.py 2011-10-12 01:53:48.555102496 +0300
|
||||
@@ -5,7 +5,7 @@ from sympy import pi, I, Symbol, Add, Ra
|
||||
factorial, binomial, Sum, zeta, Catalan, Pow, GoldenRatio, sympify, \
|
||||
sstr, Function, Eq, Mul, Pow, Derivative
|
||||
|
||||
-from sympy.mpmath.libmp.libmpf import from_float
|
||||
+from mpmath.libmp.libmpf import from_float
|
||||
|
||||
from sympy.utilities.pytest import raises
|
||||
|
||||
diff -up sympy-0.7.1/sympy/core/tests/test_numbers.py.mpmath sympy-0.7.1/sympy/core/tests/test_numbers.py
|
||||
--- sympy-0.7.1/sympy/core/tests/test_numbers.py.mpmath 2011-07-30 02:00:19.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/core/tests/test_numbers.py 2011-10-12 01:53:48.556102524 +0300
|
||||
@@ -5,7 +5,7 @@ from sympy.core.power import integer_nth
|
||||
|
||||
from sympy.core.numbers import igcd, ilcm, igcdex, seterr, _intcache
|
||||
from sympy.utilities.pytest import raises
|
||||
-from sympy import mpmath
|
||||
+import mpmath
|
||||
|
||||
def test_integers_cache():
|
||||
python_int = 2**65 + 3175259
|
||||
diff -up sympy-0.7.1/sympy/core/tests/test_sets.py.mpmath sympy-0.7.1/sympy/core/tests/test_sets.py
|
||||
--- sympy-0.7.1/sympy/core/tests/test_sets.py.mpmath 2011-07-28 00:06:51.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/core/tests/test_sets.py 2011-10-12 01:53:48.556102524 +0300
|
||||
@@ -2,7 +2,7 @@ from sympy import (
|
||||
Symbol, Set, Union, Interval, oo, S, sympify, nan,
|
||||
Inequality, Max, Min, And, Or, Eq, Ge, Le, Gt, Lt, Float, FiniteSet
|
||||
)
|
||||
-from sympy.mpmath import mpi
|
||||
+from mpmath import mpi
|
||||
|
||||
from sympy.utilities.pytest import raises
|
||||
|
||||
diff -up sympy-0.7.1/sympy/core/tests/test_sympify.py.mpmath sympy-0.7.1/sympy/core/tests/test_sympify.py
|
||||
--- sympy-0.7.1/sympy/core/tests/test_sympify.py.mpmath 2011-07-28 00:06:51.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/core/tests/test_sympify.py 2011-10-12 01:53:48.557102552 +0300
|
||||
@@ -6,7 +6,7 @@ from sympy.core.decorators import _sympi
|
||||
from sympy.utilities.pytest import XFAIL, raises
|
||||
from sympy.geometry import Point, Line
|
||||
|
||||
-from sympy import mpmath
|
||||
+import mpmath
|
||||
|
||||
def test_439():
|
||||
v = sympify("exp(x)")
|
||||
diff -up sympy-0.7.1/sympy/external/tests/test_numpy.py.mpmath sympy-0.7.1/sympy/external/tests/test_numpy.py
|
||||
--- sympy-0.7.1/sympy/external/tests/test_numpy.py.mpmath 2011-07-28 00:06:51.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/external/tests/test_numpy.py 2011-10-12 01:53:48.558102579 +0300
|
||||
@@ -21,7 +21,7 @@ from sympy import (Rational, Symbol, lis
|
||||
symarray, symbols, Integer)
|
||||
import sympy
|
||||
|
||||
-from sympy import mpmath
|
||||
+import mpmath
|
||||
|
||||
# first, systematically check, that all operations are implemented and don't
|
||||
# raise and exception
|
||||
diff -up sympy-0.7.1/sympy/functions/combinatorial/numbers.py.mpmath sympy-0.7.1/sympy/functions/combinatorial/numbers.py
|
||||
--- sympy-0.7.1/sympy/functions/combinatorial/numbers.py.mpmath 2011-06-29 11:58:10.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/functions/combinatorial/numbers.py 2011-10-12 01:53:48.558102579 +0300
|
||||
@@ -9,7 +9,7 @@ the separate 'factorials' module.
|
||||
|
||||
from sympy import Function, S, Symbol, Rational, oo, Integer, C, Add
|
||||
|
||||
-from sympy.mpmath import bernfrac
|
||||
+from mpmath import bernfrac
|
||||
|
||||
def _product(a, b):
|
||||
p = 1
|
||||
diff -up sympy-0.7.1/sympy/functions/special/bessel.py.mpmath sympy-0.7.1/sympy/functions/special/bessel.py
|
||||
--- sympy-0.7.1/sympy/functions/special/bessel.py.mpmath 2011-07-30 03:04:25.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/functions/special/bessel.py 2011-10-12 01:53:48.558102579 +0300
|
||||
@@ -400,7 +400,7 @@ def jn_zeros(n, k, method="sympy"):
|
||||
|
||||
**Examples**
|
||||
|
||||
- >>> from sympy.mpmath import nprint
|
||||
+ >>> from mpmath import nprint
|
||||
>>> from sympy import jn_zeros
|
||||
>>> nprint(jn_zeros(2, 4))
|
||||
[5.76345919689, 9.09501133048, 12.3229409706, 15.5146030109]
|
||||
@@ -409,7 +409,7 @@ def jn_zeros(n, k, method="sympy"):
|
||||
from math import pi
|
||||
|
||||
if method == "sympy":
|
||||
- from sympy.mpmath import findroot
|
||||
+ from mpmath import findroot
|
||||
f = lambda x: jn(n, x).n()
|
||||
elif method == "scipy":
|
||||
from scipy.special import sph_jn
|
||||
diff -up sympy-0.7.1/sympy/functions/special/gamma_functions.py.mpmath sympy-0.7.1/sympy/functions/special/gamma_functions.py
|
||||
--- sympy-0.7.1/sympy/functions/special/gamma_functions.py.mpmath 2011-07-28 00:06:51.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/functions/special/gamma_functions.py 2011-10-12 01:53:48.559102606 +0300
|
||||
@@ -167,7 +167,7 @@ class lowergamma(Function):
|
||||
return (cls(a + 1, x) + x**a * C.exp(-x))/a
|
||||
|
||||
def _eval_evalf(self, prec):
|
||||
- from sympy.mpmath import mp
|
||||
+ from mpmath import mp
|
||||
from sympy import Expr
|
||||
a = self.args[0]._to_mpmath(prec)
|
||||
z = self.args[1]._to_mpmath(prec)
|
||||
@@ -230,7 +230,7 @@ class uppergamma(Function):
|
||||
raise ArgumentIndexError(self, argindex)
|
||||
|
||||
def _eval_evalf(self, prec):
|
||||
- from sympy.mpmath import mp
|
||||
+ from mpmath import mp
|
||||
from sympy import Expr
|
||||
a = self.args[0]._to_mpmath(prec)
|
||||
z = self.args[1]._to_mpmath(prec)
|
||||
diff -up sympy-0.7.1/sympy/matrices/matrices.py.mpmath sympy-0.7.1/sympy/matrices/matrices.py
|
||||
--- sympy-0.7.1/sympy/matrices/matrices.py.mpmath 2011-07-30 03:04:26.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/matrices/matrices.py 2011-10-12 01:53:48.560102634 +0300
|
||||
@@ -1093,7 +1093,7 @@ class Matrix(object):
|
||||
self is the coefficient matrix A and rhs is the right side b.
|
||||
|
||||
This is for symbolic matrices, for real or complex ones use
|
||||
- sympy.mpmath.lu_solve or sympy.mpmath.qr_solve.
|
||||
+ mpmath.lu_solve or mpmath.qr_solve.
|
||||
|
||||
"""
|
||||
if rhs.rows != self.rows:
|
||||
@@ -1367,7 +1367,7 @@ class Matrix(object):
|
||||
to use QRsolve.
|
||||
|
||||
This is mainly for educational purposes and symbolic matrices, for real
|
||||
- (or complex) matrices use sympy.mpmath.qr_solve.
|
||||
+ (or complex) matrices use mpmath.qr_solve.
|
||||
"""
|
||||
|
||||
Q, R = self.QRdecomposition()
|
||||
diff -up sympy-0.7.1/sympy/ntheory/partitions_.py.mpmath sympy-0.7.1/sympy/ntheory/partitions_.py
|
||||
--- sympy-0.7.1/sympy/ntheory/partitions_.py.mpmath 2011-06-28 09:41:12.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/ntheory/partitions_.py 2011-10-12 01:53:48.569102884 +0300
|
||||
@@ -1,4 +1,4 @@
|
||||
-from sympy.mpmath.libmp import (fzero,
|
||||
+from mpmath.libmp import (fzero,
|
||||
from_man_exp, from_int, from_rational,
|
||||
fone, fhalf, bitcount, to_int, to_str, mpf_mul, mpf_div, mpf_sub,
|
||||
mpf_add, mpf_sqrt, mpf_pi, mpf_cosh_sinh, pi_fixed, mpf_cos)
|
||||
diff -up sympy-0.7.1/sympy/physics/quantum/constants.py.mpmath sympy-0.7.1/sympy/physics/quantum/constants.py
|
||||
--- sympy-0.7.1/sympy/physics/quantum/constants.py.mpmath 2011-06-29 11:58:11.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/physics/quantum/constants.py 2011-10-12 01:53:48.569102884 +0300
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
from sympy.core.numbers import NumberSymbol
|
||||
from sympy.printing.pretty.stringpict import prettyForm
|
||||
-import sympy.mpmath.libmp as mlib
|
||||
+import mpmath.libmp as mlib
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Constants
|
||||
diff -up sympy-0.7.1/sympy/polys/domains/groundtypes.py.mpmath sympy-0.7.1/sympy/polys/domains/groundtypes.py
|
||||
--- sympy-0.7.1/sympy/polys/domains/groundtypes.py.mpmath 2011-07-26 02:59:44.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/polys/domains/groundtypes.py 2011-10-12 01:53:48.569102884 +0300
|
||||
@@ -66,13 +66,13 @@ else:
|
||||
gmpy_lcm = None
|
||||
gmpy_sqrt = None
|
||||
|
||||
-from sympy.mpmath import (
|
||||
+from mpmath import (
|
||||
mpf as MPmathRealType,
|
||||
mpc as MPmathComplexType,
|
||||
mpi as MPmathIntervalType,
|
||||
)
|
||||
|
||||
-from sympy.mpmath.libmp.libmpf import isqrt
|
||||
+from mpmath.libmp.libmpf import isqrt
|
||||
|
||||
def python_sqrt(a):
|
||||
return int(isqrt(a))
|
||||
diff -up sympy-0.7.1/sympy/polys/numberfields.py.mpmath sympy-0.7.1/sympy/polys/numberfields.py
|
||||
--- sympy-0.7.1/sympy/polys/numberfields.py.mpmath 2011-07-28 00:06:54.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/polys/numberfields.py 2011-10-12 01:53:48.569102884 +0300
|
||||
@@ -28,7 +28,7 @@ from sympy.utilities import (
|
||||
)
|
||||
|
||||
from sympy.ntheory import sieve
|
||||
-from sympy.mpmath import pslq, mp
|
||||
+from mpmath import pslq, mp
|
||||
|
||||
def minimal_polynomial(ex, x=None, **args):
|
||||
"""
|
||||
diff -up sympy-0.7.1/sympy/polys/polytools.py.mpmath sympy-0.7.1/sympy/polys/polytools.py
|
||||
--- sympy-0.7.1/sympy/polys/polytools.py.mpmath 2011-07-30 03:04:27.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/polys/polytools.py 2011-10-12 01:53:48.570102912 +0300
|
||||
@@ -63,7 +63,7 @@ from sympy.utilities import (
|
||||
from sympy.ntheory import isprime
|
||||
|
||||
import sympy.polys
|
||||
-import sympy.mpmath
|
||||
+import mpmath
|
||||
|
||||
from sympy.polys.domains import FF, QQ
|
||||
from sympy.polys.constructor import construct_domain
|
||||
@@ -2912,16 +2912,16 @@ class Poly(Expr):
|
||||
|
||||
coeffs = [ coeff.evalf(n=n).as_real_imag() for coeff in f.all_coeffs() ]
|
||||
|
||||
- dps = sympy.mpmath.mp.dps
|
||||
- sympy.mpmath.mp.dps = n
|
||||
+ dps = mpmath.mp.dps
|
||||
+ mpmath.mp.dps = n
|
||||
|
||||
try:
|
||||
try:
|
||||
- coeffs = [ sympy.mpmath.mpc(*coeff) for coeff in coeffs ]
|
||||
+ coeffs = [ mpmath.mpc(*coeff) for coeff in coeffs ]
|
||||
except TypeError:
|
||||
raise DomainError("numerical domain expected, got %s" % f.rep.dom)
|
||||
|
||||
- result = sympy.mpmath.polyroots(coeffs, maxsteps=maxsteps, cleanup=cleanup, error=error)
|
||||
+ result = mpmath.polyroots(coeffs, maxsteps=maxsteps, cleanup=cleanup, error=error)
|
||||
|
||||
if error:
|
||||
roots, error = result
|
||||
@@ -2930,7 +2930,7 @@ class Poly(Expr):
|
||||
|
||||
roots = map(sympify, sorted(roots, key=lambda r: (r.real, r.imag)))
|
||||
finally:
|
||||
- sympy.mpmath.mp.dps = dps
|
||||
+ mpmath.mp.dps = dps
|
||||
|
||||
if error is not None:
|
||||
return roots, sympify(error)
|
||||
diff -up sympy-0.7.1/sympy/polys/rootoftools.py.mpmath sympy-0.7.1/sympy/polys/rootoftools.py
|
||||
--- sympy-0.7.1/sympy/polys/rootoftools.py.mpmath 2011-07-07 06:08:19.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/polys/rootoftools.py 2011-10-12 01:53:48.571102940 +0300
|
||||
@@ -21,7 +21,7 @@ from sympy.polys.polyerrors import (
|
||||
|
||||
from sympy.polys.domains import QQ
|
||||
|
||||
-from sympy.mpmath import (
|
||||
+from mpmath import (
|
||||
mp, mpf, mpc, findroot)
|
||||
|
||||
from sympy.utilities import lambdify
|
||||
diff -up sympy-0.7.1/sympy/printing/latex.py.mpmath sympy-0.7.1/sympy/printing/latex.py
|
||||
--- sympy-0.7.1/sympy/printing/latex.py.mpmath 2011-07-30 03:04:28.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/printing/latex.py 2011-10-12 01:53:48.571102940 +0300
|
||||
@@ -8,8 +8,8 @@ from conventions import split_super_sub
|
||||
from sympy.simplify import fraction
|
||||
from sympy import Interval
|
||||
|
||||
-import sympy.mpmath.libmp as mlib
|
||||
-from sympy.mpmath.libmp import prec_to_dps
|
||||
+import mpmath.libmp as mlib
|
||||
+from mpmath.libmp import prec_to_dps
|
||||
|
||||
from sympy.core.compatibility import cmp_to_key
|
||||
|
||||
diff -up sympy-0.7.1/sympy/printing/repr.py.mpmath sympy-0.7.1/sympy/printing/repr.py
|
||||
--- sympy-0.7.1/sympy/printing/repr.py.mpmath 2011-07-24 06:17:32.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/printing/repr.py 2011-10-12 01:53:48.571102940 +0300
|
||||
@@ -7,8 +7,8 @@ relation eval(srepr(expr))=expr holds in
|
||||
|
||||
from printer import Printer
|
||||
from sympy.core import Basic
|
||||
-import sympy.mpmath.libmp as mlib
|
||||
-from sympy.mpmath.libmp import prec_to_dps, repr_dps
|
||||
+import mpmath.libmp as mlib
|
||||
+from mpmath.libmp import prec_to_dps, repr_dps
|
||||
|
||||
class ReprPrinter(Printer):
|
||||
printmethod = "_sympyrepr"
|
||||
diff -up sympy-0.7.1/sympy/printing/str.py.mpmath sympy-0.7.1/sympy/printing/str.py
|
||||
--- sympy-0.7.1/sympy/printing/str.py.mpmath 2011-07-28 00:06:54.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/printing/str.py 2011-10-12 01:53:48.572102968 +0300
|
||||
@@ -6,8 +6,8 @@ from sympy.core import S, Rational, Pow,
|
||||
from printer import Printer
|
||||
from sympy.printing.precedence import precedence, PRECEDENCE
|
||||
|
||||
-import sympy.mpmath.libmp as mlib
|
||||
-from sympy.mpmath.libmp import prec_to_dps
|
||||
+import mpmath.libmp as mlib
|
||||
+from mpmath.libmp import prec_to_dps
|
||||
|
||||
from sympy.polys.polyerrors import PolynomialError
|
||||
|
||||
diff -up sympy-0.7.1/sympy/simplify/simplify.py.mpmath sympy-0.7.1/sympy/simplify/simplify.py
|
||||
--- sympy-0.7.1/sympy/simplify/simplify.py.mpmath 2011-07-30 03:04:29.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/simplify/simplify.py 2011-10-12 01:53:48.572102968 +0300
|
||||
@@ -18,7 +18,7 @@ from sympy.polys import (Poly, together,
|
||||
|
||||
from sympy.core.compatibility import reduce
|
||||
|
||||
-import sympy.mpmath as mpmath
|
||||
+import mpmath as mpmath
|
||||
|
||||
def fraction(expr, exact=False):
|
||||
"""Returns a pair with expression's numerator and denominator.
|
||||
diff -up sympy-0.7.1/sympy/solvers/solvers.py.mpmath sympy-0.7.1/sympy/solvers/solvers.py
|
||||
--- sympy-0.7.1/sympy/solvers/solvers.py.mpmath 2011-07-30 03:04:29.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/solvers/solvers.py 2011-10-12 01:53:48.572102968 +0300
|
||||
@@ -25,7 +25,7 @@ from sympy.polys import roots, cancel, P
|
||||
from sympy.functions.elementary.piecewise import piecewise_fold
|
||||
|
||||
from sympy.utilities.lambdify import lambdify
|
||||
-from sympy.mpmath import findroot
|
||||
+from mpmath import findroot
|
||||
|
||||
from sympy.solvers.polysys import solve_poly_system
|
||||
from sympy.solvers.inequalities import reduce_inequalities
|
||||
@@ -1182,7 +1182,7 @@ def nsolve(*args, **kwargs):
|
||||
|
||||
>>> from sympy import Symbol, nsolve
|
||||
>>> import sympy
|
||||
- >>> sympy.mpmath.mp.dps = 15
|
||||
+ >>> mpmath.mp.dps = 15
|
||||
>>> x1 = Symbol('x1')
|
||||
>>> x2 = Symbol('x2')
|
||||
>>> f1 = 3 * x1**2 - 2 * x2**2 - 1
|
||||
diff -up sympy-0.7.1/sympy/solvers/tests/test_numeric.py.mpmath sympy-0.7.1/sympy/solvers/tests/test_numeric.py
|
||||
--- sympy-0.7.1/sympy/solvers/tests/test_numeric.py.mpmath 2011-06-29 11:58:12.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/solvers/tests/test_numeric.py 2011-10-12 01:53:48.573102996 +0300
|
||||
@@ -1,4 +1,4 @@
|
||||
-from sympy.mpmath import mnorm, mpf
|
||||
+from mpmath import mnorm, mpf
|
||||
from sympy.solvers import nsolve
|
||||
from sympy.utilities.lambdify import lambdify
|
||||
from sympy import Symbol, Matrix, sqrt, Eq
|
||||
diff -up sympy-0.7.1/sympy/statistics/distributions.py.mpmath sympy-0.7.1/sympy/statistics/distributions.py
|
||||
--- sympy-0.7.1/sympy/statistics/distributions.py.mpmath 2011-06-29 11:58:12.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/statistics/distributions.py 2011-10-12 01:53:48.573102996 +0300
|
||||
@@ -135,7 +135,7 @@ class Normal(ContinuousProbability):
|
||||
# error function is not yet implemented in SymPy but can easily be
|
||||
# computed numerically
|
||||
|
||||
- from sympy.mpmath import mpf, erfinv
|
||||
+ from mpmath import mpf, erfinv
|
||||
|
||||
# calculate y = ierf(p) by solving erf(y) - p = 0
|
||||
y = erfinv(mpf(p))
|
||||
diff -up sympy-0.7.1/sympy/statistics/tests/test_statistics.py.mpmath sympy-0.7.1/sympy/statistics/tests/test_statistics.py
|
||||
--- sympy-0.7.1/sympy/statistics/tests/test_statistics.py.mpmath 2011-06-29 11:58:12.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/statistics/tests/test_statistics.py 2011-10-12 01:53:48.573102996 +0300
|
||||
@@ -4,7 +4,7 @@ from sympy.statistics import Normal, Uni
|
||||
from sympy.statistics.distributions import PDF
|
||||
from operator import abs
|
||||
|
||||
-from sympy.mpmath import mp
|
||||
+from mpmath import mp
|
||||
|
||||
def test_normal():
|
||||
dps, mp.dps = mp.dps, 20
|
||||
diff -up sympy-0.7.1/sympy/utilities/lambdify.py.mpmath sympy-0.7.1/sympy/utilities/lambdify.py
|
||||
--- sympy-0.7.1/sympy/utilities/lambdify.py.mpmath 2011-07-28 00:06:55.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/utilities/lambdify.py 2011-10-12 01:53:48.573102996 +0300
|
||||
@@ -70,7 +70,7 @@ NUMPY_TRANSLATIONS = {
|
||||
# Available modules:
|
||||
MODULES = {
|
||||
"math":(MATH, MATH_DEFAULT, MATH_TRANSLATIONS, ("from math import *",)),
|
||||
- "mpmath":(MPMATH, MPMATH_DEFAULT, MPMATH_TRANSLATIONS, ("from sympy.mpmath import *",)),
|
||||
+ "mpmath":(MPMATH, MPMATH_DEFAULT, MPMATH_TRANSLATIONS, ("from mpmath import *",)),
|
||||
"numpy":(NUMPY, NUMPY_DEFAULT, NUMPY_TRANSLATIONS, ("from numpy import *",)),
|
||||
"sympy":(SYMPY, SYMPY_DEFAULT, {}, ("from sympy.functions import *",
|
||||
"from sympy.matrices import Matrix",
|
||||
diff -up sympy-0.7.1/sympy/utilities/runtests.py.mpmath sympy-0.7.1/sympy/utilities/runtests.py
|
||||
--- sympy-0.7.1/sympy/utilities/runtests.py.mpmath 2011-07-30 03:04:30.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/utilities/runtests.py 2011-10-12 01:53:48.573102996 +0300
|
||||
@@ -220,7 +220,7 @@ def doctest(*paths, **kwargs):
|
||||
blacklist = kwargs.get("blacklist", [])
|
||||
blacklist.extend([
|
||||
"doc/src/modules/mpmath", # needs to be fixed upstream
|
||||
- "sympy/mpmath", # needs to be fixed upstream
|
||||
+ "mpmath", # needs to be fixed upstream
|
||||
"doc/src/modules/plotting.txt", # generates live plots
|
||||
"sympy/plotting", # generates live plots
|
||||
"sympy/utilities/compilef.py", # needs tcc
|
||||
diff -up sympy-0.7.1/sympy/utilities/tests/test_lambdify.py.mpmath sympy-0.7.1/sympy/utilities/tests/test_lambdify.py
|
||||
--- sympy-0.7.1/sympy/utilities/tests/test_lambdify.py.mpmath 2011-07-28 00:06:55.000000000 +0300
|
||||
+++ sympy-0.7.1/sympy/utilities/tests/test_lambdify.py 2011-10-12 01:53:48.574103024 +0300
|
||||
@@ -2,7 +2,7 @@ from sympy.utilities.pytest import XFAIL
|
||||
from sympy import (symbols, lambdify, sqrt, sin, cos, pi, atan, Rational, Float,
|
||||
Matrix, Lambda, exp, Integral, oo, I)
|
||||
from sympy.printing.lambdarepr import LambdaPrinter
|
||||
-from sympy import mpmath
|
||||
+import mpmath
|
||||
from sympy.utilities.lambdify import implemented_function
|
||||
import math, sympy
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- sympy-sympy-1.8/sympy/physics/quantum/tests/test_circuitplot.py.orig 2021-04-09 16:29:50.000000000 -0600
|
||||
+++ sympy-sympy-1.8/sympy/physics/quantum/tests/test_circuitplot.py 2021-04-12 13:27:55.241417177 -0600
|
||||
@@ -4,7 +4,9 @@ from sympy.physics.quantum.gate import C
|
||||
from sympy.external import import_module
|
||||
from sympy.testing.pytest import skip
|
||||
|
||||
-mpl = import_module('matplotlib')
|
||||
+mpl = import_module(
|
||||
+ 'matplotlib', import_kwargs={'fromlist': ['pyplot']},
|
||||
+ catch=(RuntimeError,)) # This is raised in environments that have no display.
|
||||
|
||||
def test_render_label():
|
||||
assert render_label('q0') == r'$\left|q0\right\rangle$'
|
@ -1,38 +0,0 @@
|
||||
Fixes this error with GCC 14 and numpy 1.19.0 or later:
|
||||
|
||||
wrapper_module_15.c:32:60: error: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’}
|
||||
32 | PyUFuncGenericFunction wrapped_281000935073472_funcs[1] = {&wrapped_281000935073472_ufunc};
|
||||
| ^
|
||||
error: command '/usr/bin/gcc' failed with exit code 1
|
||||
|
||||
--- sympy-sympy-1.12/sympy/utilities/autowrap.py.orig 2023-05-09 17:42:05.000000000 -0600
|
||||
+++ sympy-sympy-1.12/sympy/utilities/autowrap.py 2023-11-30 13:26:06.612852361 -0700
|
||||
@@ -714,7 +714,7 @@ static PyMethodDef ${module}Methods[] =
|
||||
_ufunc_outcalls = Template("*((double *)out${outnum}) = ${funcname}(${call_args});")
|
||||
|
||||
_ufunc_body = Template("""\
|
||||
-static void ${funcname}_ufunc(char **args, npy_intp *dimensions, npy_intp* steps, void* data)
|
||||
+static void ${funcname}_ufunc(char **args, const npy_intp *dimensions, const npy_intp* steps, void* data)
|
||||
{
|
||||
npy_intp i;
|
||||
npy_intp n = dimensions[0];
|
||||
--- sympy-sympy-1.12/sympy/utilities/tests/test_autowrap.py.orig 2023-05-09 17:42:05.000000000 -0600
|
||||
+++ sympy-sympy-1.12/sympy/utilities/tests/test_autowrap.py 2023-11-30 12:42:03.489842964 -0700
|
||||
@@ -284,7 +284,7 @@ static PyMethodDef wrapper_module_%(num)
|
||||
{NULL, NULL, 0, NULL}
|
||||
};
|
||||
|
||||
-static void test_ufunc(char **args, npy_intp *dimensions, npy_intp* steps, void* data)
|
||||
+static void test_ufunc(char **args, const npy_intp *dimensions, const npy_intp* steps, void* data)
|
||||
{
|
||||
npy_intp i;
|
||||
npy_intp n = dimensions[0];
|
||||
@@ -378,7 +378,7 @@ static PyMethodDef wrapper_module_%(num)
|
||||
{NULL, NULL, 0, NULL}
|
||||
};
|
||||
|
||||
-static void multitest_ufunc(char **args, npy_intp *dimensions, npy_intp* steps, void* data)
|
||||
+static void multitest_ufunc(char **args, const npy_intp *dimensions, const npy_intp* steps, void* data)
|
||||
{
|
||||
npy_intp i;
|
||||
npy_intp n = dimensions[0];
|
@ -1,103 +0,0 @@
|
||||
--- sympy-sympy-1.12/sympy/logic/boolalg.py.orig 2023-05-09 17:42:05.000000000 -0600
|
||||
+++ sympy-sympy-1.12/sympy/logic/boolalg.py 2023-06-29 16:38:14.568908065 -0600
|
||||
@@ -1012,7 +1012,7 @@ class Xor(BooleanFunction):
|
||||
for j in range(i + 1, len(rel)):
|
||||
rj, cj = rel[j][:2]
|
||||
if cj == nc:
|
||||
- odd = ~odd
|
||||
+ odd = not odd
|
||||
break
|
||||
elif cj == c:
|
||||
break
|
||||
--- sympy-sympy-1.12/sympy/parsing/ast_parser.py.orig 2023-05-09 17:42:05.000000000 -0600
|
||||
+++ sympy-sympy-1.12/sympy/parsing/ast_parser.py 2023-06-29 17:12:19.620751353 -0600
|
||||
@@ -23,7 +23,7 @@ from sympy.core.basic import Basic
|
||||
from sympy.core.sympify import SympifyError
|
||||
|
||||
from ast import parse, NodeTransformer, Call, Name, Load, \
|
||||
- fix_missing_locations, Str, Tuple
|
||||
+ fix_missing_locations, Constant, Tuple
|
||||
|
||||
class Transform(NodeTransformer):
|
||||
|
||||
@@ -52,7 +52,7 @@ class Transform(NodeTransformer):
|
||||
elif node.id in ['True', 'False']:
|
||||
return node
|
||||
return fix_missing_locations(Call(func=Name('Symbol', Load()),
|
||||
- args=[Str(node.id)], keywords=[]))
|
||||
+ args=[Constant(node.id)], keywords=[]))
|
||||
|
||||
def visit_Lambda(self, node):
|
||||
args = [self.visit(arg) for arg in node.args.args]
|
||||
--- sympy-sympy-1.12/sympy/parsing/sympy_parser.py.orig 2023-05-09 17:42:05.000000000 -0600
|
||||
+++ sympy-sympy-1.12/sympy/parsing/sympy_parser.py 2023-06-29 17:42:24.574014070 -0600
|
||||
@@ -627,7 +627,9 @@ def factorial_notation(tokens: List[TOKE
|
||||
result: List[TOKEN] = []
|
||||
nfactorial = 0
|
||||
for toknum, tokval in tokens:
|
||||
- if toknum == ERRORTOKEN:
|
||||
+ if toknum == OP and tokval == "!":
|
||||
+ nfactorial += 1
|
||||
+ elif toknum == ERRORTOKEN:
|
||||
op = tokval
|
||||
if op == '!':
|
||||
nfactorial += 1
|
||||
@@ -1135,7 +1137,7 @@ class EvaluateFalseTransformer(ast.NodeT
|
||||
new_node = ast.Call(
|
||||
func=ast.Name(id=sympy_class, ctx=ast.Load()),
|
||||
args=[left, right],
|
||||
- keywords=[ast.keyword(arg='evaluate', value=ast.NameConstant(value=False, ctx=ast.Load()))],
|
||||
+ keywords=[ast.keyword(arg='evaluate', value=ast.Constant(value=False, ctx=ast.Load()))],
|
||||
starargs=None,
|
||||
kwargs=None
|
||||
)
|
||||
@@ -1167,8 +1169,8 @@ class EvaluateFalseTransformer(ast.NodeT
|
||||
if isinstance(node.op, ast.Sub):
|
||||
right = ast.Call(
|
||||
func=ast.Name(id='Mul', ctx=ast.Load()),
|
||||
- args=[ast.UnaryOp(op=ast.USub(), operand=ast.Num(1)), right],
|
||||
- keywords=[ast.keyword(arg='evaluate', value=ast.NameConstant(value=False, ctx=ast.Load()))],
|
||||
+ args=[ast.UnaryOp(op=ast.USub(), operand=ast.Constant(1)), right],
|
||||
+ keywords=[ast.keyword(arg='evaluate', value=ast.Constant(value=False, ctx=ast.Load()))],
|
||||
starargs=None,
|
||||
kwargs=None
|
||||
)
|
||||
@@ -1178,16 +1180,16 @@ class EvaluateFalseTransformer(ast.NodeT
|
||||
rev = True
|
||||
left = ast.Call(
|
||||
func=ast.Name(id='Pow', ctx=ast.Load()),
|
||||
- args=[left, ast.UnaryOp(op=ast.USub(), operand=ast.Num(1))],
|
||||
- keywords=[ast.keyword(arg='evaluate', value=ast.NameConstant(value=False, ctx=ast.Load()))],
|
||||
+ args=[left, ast.UnaryOp(op=ast.USub(), operand=ast.Constant(1))],
|
||||
+ keywords=[ast.keyword(arg='evaluate', value=ast.Constant(value=False, ctx=ast.Load()))],
|
||||
starargs=None,
|
||||
kwargs=None
|
||||
)
|
||||
else:
|
||||
right = ast.Call(
|
||||
func=ast.Name(id='Pow', ctx=ast.Load()),
|
||||
- args=[right, ast.UnaryOp(op=ast.USub(), operand=ast.Num(1))],
|
||||
- keywords=[ast.keyword(arg='evaluate', value=ast.NameConstant(value=False, ctx=ast.Load()))],
|
||||
+ args=[right, ast.UnaryOp(op=ast.USub(), operand=ast.Constant(1))],
|
||||
+ keywords=[ast.keyword(arg='evaluate', value=ast.Constant(value=False, ctx=ast.Load()))],
|
||||
starargs=None,
|
||||
kwargs=None
|
||||
)
|
||||
@@ -1197,7 +1199,7 @@ class EvaluateFalseTransformer(ast.NodeT
|
||||
new_node = ast.Call(
|
||||
func=ast.Name(id=sympy_class, ctx=ast.Load()),
|
||||
args=[left, right],
|
||||
- keywords=[ast.keyword(arg='evaluate', value=ast.NameConstant(value=False, ctx=ast.Load()))],
|
||||
+ keywords=[ast.keyword(arg='evaluate', value=ast.Constant(value=False, ctx=ast.Load()))],
|
||||
starargs=None,
|
||||
kwargs=None
|
||||
)
|
||||
@@ -1212,7 +1214,7 @@ class EvaluateFalseTransformer(ast.NodeT
|
||||
def visit_Call(self, node):
|
||||
new_node = self.generic_visit(node)
|
||||
if isinstance(node.func, ast.Name) and node.func.id in self.functions:
|
||||
- new_node.keywords.append(ast.keyword(arg='evaluate', value=ast.NameConstant(value=False, ctx=ast.Load())))
|
||||
+ new_node.keywords.append(ast.keyword(arg='evaluate', value=ast.Constant(value=False, ctx=ast.Load())))
|
||||
return new_node
|
||||
|
||||
|
558
sympy.spec
558
sympy.spec
@ -1,552 +1,62 @@
|
||||
# We used to build with Theano support. However, we no longer have a compatible
|
||||
# version of Theano in Fedora. If aesara is ever packaged for Fedora, we can
|
||||
# use it instead.
|
||||
|
||||
# We are archful (see below), but there are no ELF objects in the binary RPM.
|
||||
%global debug_package %{nil}
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
Name: sympy
|
||||
Version: 1.12
|
||||
Release: 3%{?dist}
|
||||
Version: 0.7.1
|
||||
Release: 2%{?dist}
|
||||
Summary: A Python library for symbolic mathematics
|
||||
Group: Development/Languages
|
||||
License: BSD
|
||||
URL: http://code.google.com/p/sympy/
|
||||
Source0: http://sympy.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||
# Upstream tried to graft in another project as a private copy; we rip
|
||||
# it out (rhbz# 551576):
|
||||
Patch0: sympy-0.7.1-strip-internal-mpmath.patch
|
||||
|
||||
# The project as a whole is BSD-3-Clause.
|
||||
# The files in sympy/parsing/latex are MIT.
|
||||
License: BSD-3-Clause AND MIT
|
||||
URL: https://sympy.org/
|
||||
Source0: https://github.com/%{name}/%{name}/archive/%{name}-%{version}.tar.gz
|
||||
# Skip tests that require a display
|
||||
Patch0: %{name}-circuitplot.patch
|
||||
# Adapt to python 3.12
|
||||
Patch1: %{name}-python3.12.patch
|
||||
# Fix incompatible pointers, which are an error with GCC 14
|
||||
Patch2: %{name}-incompatible-pointer.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# This package used to be noarch, and should still be noarch. However, because
|
||||
# there is no JDK available on i686 anymore, the antlr4 package is also not
|
||||
# available on i686. When we can stop building on i686 altogether, we can bring
|
||||
# this back. In the meantime, we cannot claim to be noarch, because the i686
|
||||
# build is different from the other arches in lacking BuildRequires: antlr4.
|
||||
# BuildArch: noarch
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-mpmath
|
||||
Requires: python-mpmath
|
||||
|
||||
%ifarch %{java_arches}
|
||||
BuildRequires: antlr4
|
||||
%endif
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-gfortran
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: %{py3_dist cython}
|
||||
BuildRequires: %{py3_dist gmpy2}
|
||||
BuildRequires: %{py3_dist llvmlite}
|
||||
BuildRequires: %{py3_dist matplotlib}
|
||||
BuildRequires: %{py3_dist matplotlib-inline}
|
||||
BuildRequires: %{py3_dist myst-parser}
|
||||
BuildRequires: %{py3_dist numexpr}
|
||||
BuildRequires: python3-numpy-f2py
|
||||
BuildRequires: %{py3_dist scipy}
|
||||
BuildRequires: %{py3_dist wurlitzer}
|
||||
|
||||
# Documentation
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: librsvg2-tools
|
||||
BuildRequires: make
|
||||
BuildRequires: %{py3_dist furo}
|
||||
BuildRequires: %{py3_dist linkify-it-py}
|
||||
BuildRequires: %{py3_dist mpmath}
|
||||
BuildRequires: %{py3_dist numpydoc}
|
||||
BuildRequires: %{py3_dist sphinx-autobuild}
|
||||
BuildRequires: %{py3_dist sphinx-copybutton}
|
||||
BuildRequires: %{py3_dist sphinx-math-dollar}
|
||||
BuildRequires: %{py3_dist sphinx-reredirects}
|
||||
BuildRequires: %{py3_dist sphinxcontrib-jquery}
|
||||
BuildRequires: python-mpmath-doc
|
||||
BuildRequires: tex(latex)
|
||||
BuildRequires: tex-dvipng
|
||||
|
||||
# Tests
|
||||
BuildRequires: parallel
|
||||
BuildRequires: %{py3_dist autowrap}
|
||||
BuildRequires: xorg-x11-fonts-Type1
|
||||
BuildRequires: xorg-x11-server-Xvfb
|
||||
|
||||
%global _description\
|
||||
SymPy aims to become a full-featured computer algebra system (CAS)\
|
||||
while keeping the code as simple as possible in order to be\
|
||||
comprehensible and easily extensible. SymPy is written entirely in\
|
||||
Python and does not require any external libraries.
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: A Python3 library for symbolic mathematics
|
||||
Recommends: tex(latex)
|
||||
Recommends: tex(amsfonts.sty)
|
||||
Recommends: tex(amsmath.sty)
|
||||
Recommends: tex(euler.sty)
|
||||
Recommends: tex(eulervm.sty)
|
||||
Recommends: tex(standalone.cls)
|
||||
%ifarch %{java_arches}
|
||||
Recommends: %{py3_dist antlr4-python3-runtime}
|
||||
%endif
|
||||
Recommends: %{py3_dist cython}
|
||||
Recommends: %{py3_dist gmpy2}
|
||||
Recommends: %{py3_dist matplotlib}
|
||||
Recommends: %{py3_dist numexpr}
|
||||
Recommends: %{py3_dist pyglet}
|
||||
Recommends: %{py3_dist scipy}
|
||||
|
||||
# This can be removed when F38 reaches EOL
|
||||
Obsoletes: sympy-texmacs < 1.8
|
||||
|
||||
%description -n python3-%{name}
|
||||
%description
|
||||
SymPy aims to become a full-featured computer algebra system (CAS)
|
||||
while keeping the code as simple as possible in order to be
|
||||
comprehensible and easily extensible. SymPy is written entirely in
|
||||
Python and does not require any external libraries.
|
||||
|
||||
%package examples
|
||||
License: BSD-3-Clause
|
||||
Summary: Sympy examples
|
||||
Requires: python3-%{name} = %{version}-%{release}
|
||||
|
||||
%description examples
|
||||
This package contains example input for sympy.
|
||||
|
||||
%package doc
|
||||
# This project is BSD-3-Clause. Other files bundled with the documentation
|
||||
# have the following licenses:
|
||||
# - searchindex.js: BSD-2-Clause
|
||||
# - _static/basic.css: BSD-2-Clause
|
||||
# - _static/clipboard.min.js: MIT
|
||||
# - _static/copy*: MIT
|
||||
# - _static/doctools.js: BSD-2-Clause
|
||||
# - _static/graphviz.js: BSD-2-Clause
|
||||
# - _static/jquery*.js: MIT
|
||||
# - _static/language_data.js: BSD-2-Clause
|
||||
# - _static/plot_directive.css: PSF-2.0 (see note)
|
||||
# - _static/pygments.css: BSD-2-Clause
|
||||
# - _static/scripts/*: MIT
|
||||
# - _static/searchtools.js: BSD-2-Clause
|
||||
# - _static/styles/*: MIT
|
||||
# - _static/underscore*.js: MIT
|
||||
#
|
||||
# NOTE: The license of _static/plot_directive.css is the same as the license of
|
||||
# matplotlib. The matplotlib license is functionally identical to PSF-2.0, but
|
||||
# uses different organization and project names. I am using the PSF-2.0
|
||||
# identifier for now, because there is no valid SPDX choice. Revisit this.
|
||||
License: BSD-3-Clause AND BSD-2-Clause AND MIT AND PSF-2.0
|
||||
Summary: Documentation for sympy
|
||||
Provides: bundled(js-jquery)
|
||||
Provides: bundled(js-underscore)
|
||||
|
||||
%description doc
|
||||
HTML documentation for sympy.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{name}-%{version}
|
||||
%setup -q
|
||||
%patch0 -p1 -b .mpmath
|
||||
rm -rf sympy/mpmath doc/src/modules/mpmath
|
||||
|
||||
fixtimestamp() {
|
||||
touch -r $1.orig $1
|
||||
rm -f $1.orig
|
||||
}
|
||||
|
||||
# Do not depend on env
|
||||
for fil in $(grep -rl "^#\![[:blank:]]*%{_bindir}/env" .); do
|
||||
sed -i.orig 's,^\(#\![[:blank:]]*%{_bindir}/\)env python,\1python3,' $fil
|
||||
fixtimestamp $fil
|
||||
done
|
||||
|
||||
# Remove bogus shebangs
|
||||
for fil in sympy/physics/mechanics/models.py \
|
||||
sympy/physics/optics/polarization.py; do
|
||||
sed -i.orig '/env python/d' $fil
|
||||
fixtimestamp $fil
|
||||
done
|
||||
|
||||
# Use local objects.inv for intersphinx
|
||||
sed -e "s|\('https://mpmath\.org/doc/current/', \)None|\1'%{_docdir}/python-mpmath-doc/html/objects.inv'|" \
|
||||
-i doc/src/conf.py
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
#patch1 -p1
|
||||
#patch2 -p1
|
||||
|
||||
%build
|
||||
%ifarch %{java_arches}
|
||||
# Regenerate the ANTLR files
|
||||
%{python3} setup.py antlr
|
||||
%endif
|
||||
|
||||
# Build
|
||||
%pyproject_wheel
|
||||
|
||||
# Build the documentation
|
||||
pushd doc
|
||||
make html SPHINXOPTS=%{?_smp_mflags} PYTHON=%{python3}
|
||||
make cheatsheet
|
||||
popd
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files isympy sympy
|
||||
|
||||
## Remove extra files
|
||||
rm -rf %{buildroot}
|
||||
python setup.py install -O1 --skip-build --root %{buildroot}
|
||||
# Remove extra files
|
||||
rm -f %{buildroot}%{_bindir}/{,doc}test
|
||||
|
||||
# Don't let an executable script go into the documentation
|
||||
chmod -R a-x+X examples
|
||||
|
||||
# Fix permissions
|
||||
chmod 0755 %{buildroot}%{python3_sitelib}/sympy/benchmarks/bench_symbench.py \
|
||||
%{buildroot}%{python3_sitelib}/sympy/testing/tests/diagnose_imports.py
|
||||
|
||||
# Install the HTML documentation
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}-doc
|
||||
cp -a doc/_build/html %{buildroot}%{_docdir}/%{name}-doc
|
||||
rm -f %{buildroot}%{_docdir}/%{name}-doc/html/.buildinfo
|
||||
rm -fr %{buildroot}%{_docdir}/%{name}-doc/i18n
|
||||
|
||||
# Try to get rid of pyc files, which aren't useful for documentation
|
||||
find examples/ -name '*.py[co]' -print -delete
|
||||
|
||||
%check
|
||||
# Many tests assume they are running on an x86_64 machine. Some assume that
|
||||
# native 64-bit integers are available. Some assume that 80-bit floating point
|
||||
# numbers are available. Some assume that certain operations always produce
|
||||
# numpy float64 values (but produce float32 values on some architectures). I
|
||||
# used to try to keep the test suite working on all architectures, but it has
|
||||
# become too much of a burden. Only run tests if we happen to build on x86_64.
|
||||
# We cannot use %%ifarch here because this is a noarch package.
|
||||
if [ "$(uname -m)" = "x86_64" ]; then
|
||||
# Split into many small chunks to reduce waiting in the end-game
|
||||
jobs=%{?_smp_mflags}; jobs=${jobs#-j}; jobs=$((jobs * 3))
|
||||
python setup.py test
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
xvfb-run -d \
|
||||
parallel %{?_smp_mflags} \
|
||||
%{python3} bin/test -v --split {}/$jobs \
|
||||
::: $(bash -c "echo {1..$jobs}")
|
||||
fi
|
||||
|
||||
%files -n python3-%{name} -f %{pyproject_files}
|
||||
%doc AUTHORS README.md
|
||||
%doc doc/_build/cheatsheet/cheatsheet.pdf
|
||||
%doc doc/_build/cheatsheet/combinatoric_cheatsheet.pdf
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README LICENSE
|
||||
%{python_sitelib}/sympy/
|
||||
%{python_sitelib}/sympy-%{version}-*.egg-info
|
||||
%{_bindir}/isympy
|
||||
%{_mandir}/man1/isympy.1*
|
||||
|
||||
%files examples
|
||||
%doc examples/*
|
||||
|
||||
%files doc
|
||||
%docdir %{_docdir}/%{name}-doc/html
|
||||
%{_docdir}/%{name}-doc/html
|
||||
|
||||
%changelog
|
||||
* Thu Nov 30 2023 Jerry James <loganjerry@gmail.com> - 1.12-3
|
||||
- Fix incompatible pointer types for GCC 14 compatibility
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Jun 29 2023 Jerry James <loganjerry@gmail.com> - 1.12-1
|
||||
- Version 1.12
|
||||
- Add patch for python 3.12 compatibility
|
||||
|
||||
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 1.11.1-5
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Tue Feb 21 2023 Jerry James <loganjerry@gmail.com> - 1.11.1-4
|
||||
- Fix the antlr4 Recommends (bz 2172030)
|
||||
- Dynamically generate BuildRequires (to the extent possible)
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Sep 27 2022 Jerry James <loganjerry@gmail.com> - 1.11.1-2
|
||||
- Do not run antlr on i386 where it doesn't exist
|
||||
- Be archful so we don't BR a package that doesn't exist on i386
|
||||
|
||||
* Tue Sep 6 2022 Jerry James <loganjerry@gmail.com> - 1.11.1-1
|
||||
- Version 1.11.1
|
||||
- Convert License tag to SPDX
|
||||
- Drop upstreamed patches: -tests, -distutils, -signature
|
||||
- Drop fastcache dependency
|
||||
- Regenerate ANTLR4 files
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 1.10.1-2
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Sat Mar 19 2022 Jerry James <loganjerry@gmail.com> - 1.10.1-1
|
||||
- Version 1.10.1
|
||||
|
||||
* Thu Mar 17 2022 Jerry James <loganjerry@gmail.com> - 1.10-1
|
||||
- Version 1.10
|
||||
- Drop upstreamed patches: -python3, -png-decoder, -gmpy2-mpq,
|
||||
and -rational-exponent
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Oct 8 2021 Jerry James <loganjerry@gmail.com> - 1.9-1
|
||||
- Version 1.9
|
||||
- Drop theano support due to incompatibility with the Fedora version
|
||||
- Add -tests, -distutils, -gmpy2-mpq, and -rational-exponent patches to
|
||||
work around test failures
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Thu Jun 10 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.8-2~bootstrap
|
||||
- Build in bootstrap mode to work-around missing theano
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.8-2
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Mon Apr 12 2021 Jerry James <loganjerry@gmail.com> - 1.8-1
|
||||
- Version 1.8
|
||||
- Drop the -float patch and only run tests on x86_64
|
||||
- Add -circuitplot patch to skip tests that fail with no display
|
||||
- Drop the -texmacs subpackage; the TeXmacs package ships its own sympy plugin
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sat Dec 12 2020 Jerry James <loganjerry@gmail.com> - 1.7.1-1
|
||||
- Version 1.7.1
|
||||
|
||||
* Thu Dec 10 2020 Jerry James <loganjerry@gmail.com> - 1.7-2
|
||||
- Fix preview of PNG images (bz 1906363)
|
||||
- Add missing Recommends needed to preview images (bz 1906363)
|
||||
|
||||
* Sat Nov 28 2020 Jerry James <loganjerry@gmail.com> - 1.7-1
|
||||
- Version 1.7
|
||||
|
||||
* Thu Nov 26 2020 Jerry James <loganjerry@gmail.com> - 1.6.2-2
|
||||
- Update Theano dependency for Theano-PyMC
|
||||
- Add -theano-pymc patch to adapt
|
||||
|
||||
* Mon Aug 10 2020 Jerry James <loganjerry@gmail.com> - 1.6.2-1
|
||||
- Version 1.6.2
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jul 2 2020 Jerry James <loganjerry@gmail.com> - 1.6.1-1
|
||||
- Version 1.6.1
|
||||
- Drop upstreamed -ast patch
|
||||
|
||||
* Wed Jun 24 2020 Jerry James <loganjerry@gmail.com> - 1.6-2
|
||||
- Add setuptools BR
|
||||
- Add -ast patch to fix compilation with python 3.9
|
||||
|
||||
* Fri May 29 2020 Jerry James <loganjerry@gmail.com> - 1.6-1
|
||||
- Version 1.6
|
||||
- Drop upstreamed -doc and -sample-set patches
|
||||
- Disable testing on 32-bit systems; too many tests need 64-bit integers
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-4
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Mon May 11 2020 Jerry James <loganjerry@gmail.com> - 1.5.1-3
|
||||
- Add -sample-set patch to fix test failure with python 3.9
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jan 8 2020 Jerry James <loganjerry@gmail.com> - 1.5.1-1
|
||||
- Update to 1.5.1
|
||||
- Drop upstreamed patches
|
||||
- Drop upstreamed workaround for numpy with a release candidate version
|
||||
|
||||
* Mon Nov 4 2019 Jerry James <loganjerry@gmail.com> - 1.4-6
|
||||
- Fix broken dependencies in the -texmacs subpackage
|
||||
- Recommend numexpr
|
||||
|
||||
* Fri Sep 13 2019 Jerry James <loganjerry@gmail.com> - 1.4-5
|
||||
- Add one more patch to fix a python 3.8 warning
|
||||
|
||||
* Sat Aug 24 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.4-4
|
||||
- Add patches to fix build with Python 3.8 and Numpy 1.17
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Apr 17 2019 Jerry James <loganjerry@gmail.com> - 1.4-1
|
||||
- Update to 1.4
|
||||
- Drop -factorial patch
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Wed Jan 30 2019 Jerry James <loganjerry@gmail.com> - 1.3-2
|
||||
- Add -sympify and -factorial patches to work around test failures
|
||||
|
||||
* Mon Jan 14 2019 Jerry James <loganjerry@gmail.com> - 1.3-2
|
||||
- Drop Requires from the -doc subpackage (bz 1665767)
|
||||
|
||||
* Sat Oct 6 2018 Jerry James <loganjerry@gmail.com> - 1.3-1
|
||||
- Update to 1.3
|
||||
- Drop upstreamed patches: subexpr-lambdify, test-code-quality, tex-encoding
|
||||
- Drop the python2 subpackage
|
||||
- Add -python3 patch to ask cython to generate python 3 code
|
||||
|
||||
* Tue Aug 14 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2-2
|
||||
- Fix _subexpr method in lambdify
|
||||
|
||||
* Sat Jul 21 2018 Jerry James <loganjerry@gmail.com> - 1.2-1
|
||||
- Update to 1.2 (bz 1599502)
|
||||
- Drop upstreamed -python3 patch
|
||||
- Add -test-code-quality and -doc patches
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-5
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.1-4
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.1-2
|
||||
- Python 2 binary package renamed to python2-sympy
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
||||
* Thu Jul 27 2017 Jerry James <loganjerry@gmail.com> - 1.1.1-1
|
||||
- Update to 1.1.1 (bz 1468405)
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jul 24 2017 Jerry James <loganjerry@gmail.com> - 1.1-3
|
||||
- Fix dependency on python2 from python3 package (bz 1471886)
|
||||
|
||||
* Sat Jul 8 2017 Jerry James <loganjerry@gmail.com> - 1.1-2
|
||||
- Disable tests that fail due to overflow on some 32-bit architectures
|
||||
|
||||
* Fri Jul 7 2017 Jerry James <loganjerry@gmail.com> - 1.1-1
|
||||
- Update to 1.1 (bz 1468405)
|
||||
- All patches have been upstreamed; drop them all
|
||||
|
||||
* Sat Apr 1 2017 Jerry James <loganjerry@gmail.com> - 1.0-7
|
||||
- Update theano test for theano 0.9
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Jan 20 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1.0-5
|
||||
- Make documentation scripts non-executable to avoid
|
||||
autogenerating Python 2 dependency in sympy-examples (#1360766)
|
||||
|
||||
* Fri Jan 13 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0-4
|
||||
- Run tests in parallel
|
||||
- Work around some broken tests
|
||||
- Use python3 in texmacs-sympy (#1360766)
|
||||
|
||||
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0-4
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Fri Jul 22 2016 Jerry James <loganjerry@gmail.com> - 1.0-3
|
||||
- Update the -test patch for the latest matplotlib release
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Sat Apr 2 2016 Jerry James <loganjerry@gmail.com> - 1.0-2
|
||||
- Fix bad /usr/bin/env substitution
|
||||
|
||||
* Thu Mar 31 2016 Jerry James <loganjerry@gmail.com> - 1.0-1
|
||||
- Update to 1.0
|
||||
- All patches have been upstreamed; drop them all
|
||||
- Add -test patch to fix test failures with recent mpmath
|
||||
- Recommend scipy
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||
|
||||
* Thu Sep 3 2015 Jerry James <loganjerry@gmail.com> - 0.7.6.1-1
|
||||
- Update to 0.7.6.1 (bz 1259971)
|
||||
|
||||
* Mon Jul 6 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.6-3
|
||||
- Fix failure in tests (#1240097)
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri Dec 5 2014 Jerry James <loganjerry@gmail.com> - 0.7.6-1
|
||||
- Update to 0.7.6
|
||||
- Drop upstreamed -test and -is-tangent patches
|
||||
- Drop obsolete bug workarounds
|
||||
- Add python(3)-fastcache BR and R
|
||||
- Recommend python-theano
|
||||
- Fix executable bits on tm_sympy
|
||||
|
||||
* Tue Sep 16 2014 Jerry James <loganjerry@gmail.com> - 0.7.5-4
|
||||
- Drop python3-six BR and R now that bz 1140413 is fixed
|
||||
- Use gmpy2
|
||||
|
||||
* Wed Sep 3 2014 Jerry James <loganjerry@gmail.com> - 0.7.5-3
|
||||
- Install both isympy and python3-isympy to comply with packaging standards
|
||||
- Add -is-tangent patch (bz 1135677)
|
||||
- Temporarily disable tests that fail due to mpmath bugs (bz 1127796)
|
||||
- Fix license handling
|
||||
- Add python3-six BR and R; see bz 1140413 for details
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon May 19 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.7.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
||||
|
||||
* Thu Mar 13 2014 Jerry James <loganjerry@gmail.com> - 0.7.5-1
|
||||
- Update to 0.7.5 (bz 1066951)
|
||||
- Binaries now default to using python3
|
||||
- Use py3dir macro to simplify python3 build
|
||||
- Add BRs for more comprehensive testing
|
||||
- Workaround bz 1075826
|
||||
- Add -test patch to fix Unicode problem in the tests
|
||||
|
||||
* Mon Dec 9 2013 Jerry James <loganjerry@gmail.com> - 0.7.4-1
|
||||
- Update to 0.7.4
|
||||
- Python 2 and 3 sources are now in the same tarball
|
||||
|
||||
* Fri Oct 18 2013 Jerry James <loganjerry@gmail.com> - 0.7.3-2
|
||||
- Build a python3 subpackage (bz 982759)
|
||||
|
||||
* Fri Aug 2 2013 Jerry James <loganjerry@gmail.com> - 0.7.3-1
|
||||
- Update to 0.7.3
|
||||
- Upstream dropped all tutorial translations
|
||||
- Add graphviz BR for documentation
|
||||
- Sources now distributed from github instead of googlecode
|
||||
- Adapt to versionless _docdir in Rawhide
|
||||
|
||||
* Mon Jun 17 2013 Jerry James <loganjerry@gmail.com> - 0.7.2-1
|
||||
- Update to 0.7.2 (bz 866044)
|
||||
- Add python-pyglet R (bz 890312)
|
||||
- Package the TeXmacs integration
|
||||
- Build and provide documentation
|
||||
- Provide examples
|
||||
- Minor spec file cleanups
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user