Hello community, here is the log from the commit of package python-mpmath for openSUSE:Factory checked in at 2019-02-24 17:17:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mpmath (Old) and /work/SRC/openSUSE:Factory/.python-mpmath.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mpmath" Sun Feb 24 17:17:36 2019 rev:2 rq:677800 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mpmath/python-mpmath.changes 2017-08-24 18:30:20.943766799 +0200 +++ /work/SRC/openSUSE:Factory/.python-mpmath.new.28833/python-mpmath.changes 2019-02-24 17:17:39.904426347 +0100 @@ -1,0 +2,95 @@ +Wed Feb 20 17:30:49 UTC 2019 - Jan Engelhardt <jeng...@inai.de> + +- Trim extreme wording and unspecific comparisons. + +------------------------------------------------------------------- +Wed Feb 20 14:22:03 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Run tests + +------------------------------------------------------------------- +Sat Jan 26 17:08:21 UTC 2019 - Arun Persaud <a...@gmx.de> + +- specfile: + * update copyright year + * update tar.gz name mpmath-all ->mpmath + * be more specific in %file section + * remove devel from noarch package + * disabled building of doc, not in tar ball at the moment + * commented out README.rst, also missing in tar-ball + +- update to version 1.1.0: + * Bugs: + + Fixed severe bug in householder() for complex matrices (Michael + Kagalenko) + + Fixed frequently-reported bug where findroot() mysteriously + raised UnboundLocalError (Sergey B Kirpichev) + + Corrected rounding in binary-to-decimal conversion above 500 + digits + + Fixed minor loss of accuracy affecting rf(), ff(), binomial(), + beta() + + Fixed incorrect computation of the Hurwitz zeta function in some + cases + + Fixed accuracy of digamma function near 0 + + Fixed RuntimeError in qfac() in Python 3.7 caused by raising + StopIteration (Zbigniew Jędrzejewski-Szmek) + + Fix to allow NumPy arrays in fdot() (Nico Schlömer) + * Features and improvements: + + Added more automatic conversions from Fraction, Decimal, NumPy + types (Jonathan Warner) + + Support creating mpf from a long literal (ylemkimon) + + Implemented log1p() + + Slight speedup of eig() + + Implement polylog() for general complex s and z by using Hurwitz + zeta algorithm as a fallback + * Library: + + Test more CPython and PyPy versions (Sergey B Kirpichev, Aaron + Meurer) + + Drop support for Python 2.6 and 3.2 (Sergey B Kirpichev) + + Use py.test for test code; lots of code cleanup (Sergey B + Kirpichev) + + Corrections to the documentation (Paul Masson, Connor Behan, + Warren Weckesser, Aaron Meurer) + +- changes from version 1.0.0: + * Bumped to major version number for 10 year anniversary + * Added module for inverse Laplace transforms, including the top + level function invertlaplace() as well as several different + algorithms (Talbot, Gaver-Stehfest and de Hoog) implemented in + mpmath.calculus.inverselaplace (Kris Kuhlman) + * Fixed bugs in elliprg() giving incorrect values for certain input + * Fixed wrong degree 1 nodes for Gaussian quadrature + * Made make acot(0) and acoth(0) return a finite result + * Fixed sieved zeta sum not being used in Python 3, and added cutoff + for sieved zeta sum on 32-bit systems when too much memory would + be used + * Fixed zeta(0,0.5) to return correct value instead of raising + NoConvergence exception + * Added detection of exact zeros in gammainc(), in particular fixing + NoConvergence error for gammainc(3,-1+1j) + * Fixed wrong values from besseli() due to improper internal + precision + * Fixed bessely(0,1j) to return complex nan instead of raising + NameError (Paul Masson) + * Changed float() and complex() applied to an mpf or mpc to use + rounding to nearest (or the context rounding mode) instead + truncating + * Fix imaginary part of gammainc(n,x), n negative odd int, x < 0 + * Added alternative "phase" color scheme to cplot() + * Better error message for int(inf) or int(nan) (Aaron Meurer) + * Fixed polyroots() with error=True + * Added support to pass optional initial values to polyroots() + (Michael Kagalenko) + * Rewrote the Python major version selection to make it work if + something else has redefined xrange (Arne Brys) + * Switched documentation formula rendering to MathJax (Sergey B + Kirpichev) + * Fixed documentation TeX build (Sergey B Kirpichev) + * Added PEP8 conformity testing (Sergey B Kirpichev) + * Various fixes for the test code and test infrastructure on + different platforms and Python versions (Sergey B Kirpichev) + * Fixed module paths in setup.py (Aaron Meurer) + * Documented more options for methods such as nstr() and hyper() + * Miscellaneous corrections to the documentation (various) + +------------------------------------------------------------------- Old: ---- mpmath-all-0.19.tar.gz New: ---- mpmath-1.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mpmath.spec ++++++ --- /var/tmp/diff_new_pack.m5O5b6/_old 2019-02-24 17:17:40.340426270 +0100 +++ /var/tmp/diff_new_pack.m5O5b6/_new 2019-02-24 17:17:40.344426269 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-mpmath # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,55 +12,43 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-mpmath -Version: 0.19 -Release: 1 -License: BSD-3-Clause +Version: 1.1.0 +Release: 0 Summary: Python library for arbitrary-precision floating-point arithmetic -Url: https://github.com/fredrik-johansson/mpmath +License: BSD-3-Clause Group: Development/Libraries/Python -Source: https://files.pythonhosted.org/packages/source/m/mpmath/mpmath-all-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} +URL: https://github.com/fredrik-johansson/mpmath +Source: https://files.pythonhosted.org/packages/source/m/mpmath/mpmath-%{version}.tar.gz BuildRequires: %{python_module gmpy >= 1.03} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: python3-Sphinx -%if %{with test} -BuildRequires: %{python_module nose} -%endif +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-gmpy >= 1.03 Requires: python-six -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages %description Mpmath is a pure-Python library for multiprecision floating-point -arithmetic. It provides an extensive set of transcendental functions, +arithmetic. It provides a set of transcendental functions, unlimited exponent sizes, complex numbers, interval arithmetic, numerical integration and differentiation, root-finding, linear -algebra, and much more. Almost any calculation can be performed just -as well at 10-digit or 1000-digit precision, and in many cases mpmath -implements asymptotically fast algorithms that scale well for -extremely high precision work. If available, mpmath will (optionally) -use gmpy to speed up high precision operations. - -%package -n %{name}-doc -Summary: Documentation for %{name} -Group: Documentation/Other -Provides: %{python_module mpmath-doc = %{version}} - -%description -n %{name}-doc -Documentation, help files, and demos for %{name}. +algebra, and others. Almost any calculation can be performed just +as well at 10-digit or 1000-digit precision, and in many cases, mpmath +implements algorithms that scale well for high precision work. +If available, mpmath will (optionally) use gmpy to speed up high +precision operations. %prep -%setup -q -n mpmath-all-%{version} +%setup -q -n mpmath-%{version} sed -i 's/\r//' mpmath/tests/runtests.py # fix wrong-script-end-of-line-encoding rpmlint warning sed -i '1d' mpmath/tests/runtests.py # fix non-executable-script rpmlint warning @@ -71,29 +59,15 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -pushd doc -python3 build.py -rm -r build/.{doctrees,buildinfo} -popd - -%if %{with test} %check -pushd demo -%{python_expand export PYTHONPATH="%{buildroot}%{$python_sitelib}" -$python -B -c "import mpmath;mpmath.runtests()" -} -popd -%endif +export PYTHONDONTWRITEBYTECODE=1 +%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{python_bin_suffix} -v --pyargs mpmath %files %{python_files} -%defattr(-,root,root) -%doc CHANGES LICENSE README.rst -%{python_sitelib}/* - -%files -n %{name}-doc -%defattr(-,root,root) -%doc demo/ -%doc doc/build - +%license LICENSE +%doc CHANGES +%dir %{python_sitelib}/mpmath +%{python_sitelib}/mpmath +%{python_sitelib}/mpmath-%{version}-py*.egg-info %changelog ++++++ mpmath-all-0.19.tar.gz -> mpmath-1.1.0.tar.gz ++++++ ++++ 11767 lines of diff (skipped)