2020-01-31 05:51:40 by Min Sik Kim | Files touched by this commit (2) |
Log message:
math/py-sympy: Update to 1.5.1
Changes:
- Fix a regression in 1.5 that allowed expressions to compare equal to
strings, and caused == to call str() on the other object.
- Avoid using scipy versions of numpy functions, which are deprecated,
in lambdify.
Take MAINTAINERship.
|
2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981) |
Log message:
all: migrate homepages from http to https
pkglint -r --network --only "migrate"
As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
|
2020-01-24 17:20:24 by Min Sik Kim | Files touched by this commit (3) |
Log message:
math/py-sympy: Update to 1.5
Breaking changes:
- Deprecate is_EmptySet in favor of is_empty.
- Lambda now requires a tuple rather than a list for the signature
argument (non-tuple iterables are deprecated)
- Eq(expr) now raises ValueError. Eq(expr, 0) should be used
instead.
- Refactory of the units module. Scale factors and dimensions are now
both global and relative to single unit systems.
- get_dixon_matrix() now computes only the necessary monomials for the
Dixon matrix.
- The ProductSet of no sets is no longer the empty set. Instead is the
set consisting of the empty tuple.
- Deprecated tensorhead() and tensorsymmetry() static methods.
- Rational, irrational, transcendental and algebraic now imply finite
in the assumptions system. This means that all symbols declared as
rational, integer, odd etc are now automatically assumed finite.
- In the (old) assumptions, complex=True now implies finite=True. Note
that the default assumption for Symbol is complex=None, which allows
for the possibility for it to be infinite.
- The assumptions system is changed so that only finite numbers can be
considered real, positive, negative, nonnegative, nonpositive or
nonzero (since nonzero implies real). This means that any symbol
declared with e.g. real=True is now automatically considered
finite. It also means that infinities can not be considered positive
or negative since they are not real (e.g. oo.is_positive is now
False).
- New assumptions extended_real, extended_positive etc are added that
allow for positive and negative infinity. The equivalent of
Symbol('x', real=True) in version 1.4 is now Symbol('x',
extended_real=True). The equivalent of Symbol('x', negative=False)
is now Symbol('x', extended_negative=False) although it is usually
better to use Symbol('x', nonnegative=True) (which implies both
real=True and finite=True as well). Code that previously checked if
x.is_positive should now be written as if x.is_extended_positive if
it is intended that infinities should be allowed.
- Numbers still compare the same as they do in Python (Float(1) == 1)
except when they appear in an Expression, e.g. x**2.0 != x**2
|
2020-01-15 20:13:06 by Min Sik Kim | Files touched by this commit (3) |
Log message:
math/py-sympy: Update to 1.4
Highlights:
* Logic expressions with relations can now be simplifed in a better
way which has impact on e.g. simplification of piecewise
expressions.
* The MathML Presentation printer has seen a major improvement with
support configuration and about a hundred new functions.
* Union and Intersection have been improved to, among other
improvements, support Python sets.
* The test procedure has been changed to include code coverage and
code quality checks leading to a number of issues being identified
and removed.
* Unicode support, especially for Python 2.7, has been improved.
* subs and Subs have been improved in a number of ways.
* SymPy objects now renders as LaTeX automatically in Jupyter
notebooks. init_printing is still required to LaTeX render non-SymPy
objects such as lists of expressions or Python ints.
|
2019-12-17 00:54:48 by Min Sik Kim | Files touched by this commit (3) |
Log message:
math/py-sympy: Update to 1.3
Backwards compatibility breaks and deprecations:
* Symbols no longer automatically convert to functions when called,
e.g., if f = Symbol('f'), f(t) is now a TypeError. To create a
function, use f = Function('f') or f = symbols('f', cls=Function).
* .integrate() has been renamed to .compute_expectation() in
sympy.stats in order to avoid confusion with the integrals module.
* classof() and a2idx() in sympy.matrices.matrices have been
deprecated in favor of the same functions in sympy.matrices.common.
* The source() function has been deprecated. Use inspect.getsource or
?? in IPython.
See the release notes for the full list of changes.
https://github.com/sympy/sympy/wiki/release-notes-for-1.3
|
2018-07-19 22:15:36 by Patrick Welche | Files touched by this commit (3) |
Log message:
Update py-sympy to 1.2
Highlights
There are many changes in 1.2 (see below). Some of the highlights are
* Python 3.3 is no longer supported. If you require Python 3.3
support, use SymPy 1.1.1. See our [518]policy on dropping support
for major Python versions.
* Experimental LaTeX parsing with sympy.parsing.latex.parse_latex()
has been added, based on the latex2sympy project. This requires
antlr-python-runtime to be installed. [519]#13706
* The vector module has been improved to support orthogonal
curvilinear coordinate systems ([520]Szymon Mieszczak's GSoC
project)
* New module sympy.integrals.intpoly for integrating uni/bivariate
polynomials over 2-polytopes. ([521]Arif Ahmed's GSoC project)
* Improvements to the code generation module. ([522]Bj?rn Dahlgren's
GSoC project)
* Improvements to the group theory module. See below for more
information. ([523]Valeriia Gladkova's GSoC project)
* New module sympy.discrete for operating on discrete sequences.
polynomials over 2-polytopes. ([521]Arif Ahmed's GSoC project)
* Improvements to the code generation module. ([522]Bj?rn Dahlgren's
GSoC project)
* Improvements to the group theory module. See below for more
information. ([523]Valeriia Gladkova's GSoC project)
* New module sympy.discrete for operating on discrete sequences.
([524]Sidhant Nagpal's GSoC project)
Complete release notes at:
https://github.com/sympy/sympy/wiki/release-notes-for-1.2
|
2017-09-17 13:53:47 by Adam Ciarcinski | Files touched by this commit (3) | ![Package updated](https://pkgsrc.se/images/update.gif) |
Log message:
py-sympy: update to 1.1.1
Changes 1.1.1:
Units
-----
Fix an issue with the Quantity Add postprocessor in Python 3.6.
Support functions with quantities and dimensions.
Fix addition of a quantity and a number.
Workaround power of a quantity.
Fix SI prefix definitions
Core
----
Fix the Add/Mul postprocessor logic for subclasses.
Fix various recursion issues in the Add assumptions that prevented isympy from \
working with the cache off.
Fix some test failures on 32-bit systems.
Allow for complex NumPy scalars in sympify.
Code generation
---------------
Only call asarray in lambdify on Python builtin numeric types. Fixes lambdify \
for array subclasses such as xarray.
Fix using preprocessor_statements kwarg in CCodeGen.
Matrices
--------
Fix stacking of empty matrices.
Other
-----
Build the docs with the latest version of Sphinx. Fixes the search functionality \
being broken in the docs.
Fix the language classifiers in setup.py
|
2016-08-28 17:48:37 by Thomas Klausner | Files touched by this commit (112) |
Log message:
Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.
Mark a couple more packages as not ready for python-3.x.
|
2016-08-19 10:14:49 by Thomas Klausner | Files touched by this commit (2) |
Log message:
Switch to egg.mk.
Fix PLIST for python-3.x.
|
2016-08-16 06:30:05 by Maya Rashish | Files touched by this commit (1) |
Log message:
py-sympy: use python pkg version for man page in PLIST
|