Accepting request 632816 from devel:languages:python:numeric

- update to version 2.6.8:
  * Add check to make sure that f_locals is not actually f_globals
    when we do the f_locals clear to avoid the #310 memory leak issue.
  * Compare NumPy versions using distutils.version.LooseVersion to
    avoid issue #312 when working with NumPy development versions.
  * As part of multibuild, wheels for Python 3.7 for Linux and MacOSX
    are now available on PyPI.
- changes from version 2.6.7:
  * Thanks to Lehman Garrison for finding and fixing a bug that
    exhibited memory leak-like behavior. The use in numexpr.evaluate
    of sys._getframe combined with .f_locals from that frame object
    results an extra refcount on objects in the frame that calls
    numexpr.evaluate, and not evaluate's frame. So if the calling
    frame remains in scope for a long time (such as a procedural
    script where numexpr is called from the base frame) garbage
    collection would never occur.
  * Imports for the numexpr.test submodule were made lazy in the
    numexpr module.

OBS-URL: https://build.opensuse.org/request/show/632816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2018-09-04 20:56:26 +00:00 committed by Git OBS Bridge
commit 12bdd4dcc6
4 changed files with 28 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:97c1f7fa409439ae933494014cd41d43de84cfe6c98b7f93392f94d54de1b453
size 92965

3
numexpr-2.6.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ee8bc7201aa2f1962c67d27c326a11eef9df887d7b87b1278a1d4e722bf44375
size 94517

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Sun Sep 2 16:48:00 UTC 2018 - arun@gmx.de
- update to version 2.6.8:
* Add check to make sure that f_locals is not actually f_globals
when we do the f_locals clear to avoid the #310 memory leak issue.
* Compare NumPy versions using distutils.version.LooseVersion to
avoid issue #312 when working with NumPy development versions.
* As part of multibuild, wheels for Python 3.7 for Linux and MacOSX
are now available on PyPI.
- changes from version 2.6.7:
* Thanks to Lehman Garrison for finding and fixing a bug that
exhibited memory leak-like behavior. The use in numexpr.evaluate
of sys._getframe combined with .f_locals from that frame object
results an extra refcount on objects in the frame that calls
numexpr.evaluate, and not evaluate's frame. So if the calling
frame remains in scope for a long time (such as a procedural
script where numexpr is called from the base frame) garbage
collection would never occur.
* Imports for the numexpr.test submodule were made lazy in the
numexpr module.
-------------------------------------------------------------------
Mon Aug 6 20:04:09 UTC 2018 - toddrme2178@gmail.com

View File

@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-numexpr
Version: 2.6.6
Version: 2.6.8
Release: 0
Url: https://github.com/pydata/numexpr/
Summary: Numerical expression evaluator for NumPy
License: MIT
Group: Development/Languages/Python
URL: https://github.com/pydata/numexpr/
Source: https://files.pythonhosted.org/packages/source/n/numexpr/numexpr-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel >= 1.6}
@ -32,7 +32,6 @@ BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
Requires: python-numpy >= 1.6
%python_subpackages
%description