Accepting request 750234 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/750234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Bottleneck?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2019-11-28 09:13:12 +00:00 committed by Git OBS Bridge
parent 6ee1857f31
commit f059fcd863
4 changed files with 92 additions and 12 deletions

View File

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

3
Bottleneck-1.3.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,85 @@
-------------------------------------------------------------------
Fri Nov 22 06:15:40 UTC 2019 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
- update to version 1.3.1:
* Bug Fixes
+ Fix memory leak in :func:`bottleneck.nanmedian` with the default
argument of axis=None. Thanks to @jsmodic for reporting!
(:issue:`276`, :issue:`278`)
+ Add regression test for memory leak case (:issue:`279`)
- changes from version 1.3.0:
* Project Updates
+ Bottleneck has a new maintainer, Christopher Whelan (@qwhelan on
GitHub).
+ Documentation now hosted at https://bottleneck.readthedocs.io
+ 1.3.x will be the last release to support Python 2.7
+ Bottleneck now supports and is tested against Python 3.7 and
3.8. (:issue:`211`, :issue:`268`)
+ The LICENSE file has been restructured to only include the
license for the Bottleneck project to aid license audit
tools. There has been no change to the licensing of Bottleneck.
+ Licenses for other projects incorporated by Bottleneck are now
reproduced in full in separate files in the LICENSES/ directory
(eg, LICENSES/NUMPY_LICENSE)
+ All licenses have been updated. Notably, setuptools is now MIT
licensed and no longer under the ambiguous dual PSF/Zope
license.
+ Bottleneck now uses PEP 518 for specifying build dependencies,
with per Python version specifications (:issue:`247`)
* Enhancements
+ Remove numpydoc package from Bottleneck source distribution
+ :func:`bottleneck.slow.reduce.nansum` and
:func:`bottleneck.slow.reduce.ss` now longer coerce output to
have the same dtype as input
+ Test (tox, travis, appveyor) against latest numpy (in conda)
+ Performance benchmarking also available via asv
+ versioneer now used for versioning (:issue:`213`)
+ Test suite now uses pytest as nose is deprecated (:issue:`222`)
+ python setup.py build_ext --inplace is now incremental
(:issue:`224`)
+ python setup.py clean now cleans all artifacts (:issue:`226`)
+ Compiler feature support now identified by testing rather than
hardcoding (:issue:`227`)
+ The BN_OPT_3 macro allows selective use of -O3 at the function
level (:issue:`223`)
+ Contributors are now automatically cited in the release notes
(:issue:`244`)
* Performance
+ Speed up :func:`bottleneck.reduce.anynan` and
:func:`bottleneck.reduce.allnan` by 2x via BN_OPT_3
(:issue:`223`)
+ All functions covered by asv benchmarks
+ :func:`bottleneck.nonreduce.replace` speedup of 4x via more
explicit typing (:issue:`239`)
+ :func:`bottleneck.reduce.median` up to 2x faster for
Fortran-ordered arrays (:issue:`248`)
* Bug Fixes
+ Documentation fails to build on Python 3 (:issue:`170`)
+ :func:`bottleneck.benchmark.bench` crashes on python 3.6.3,
numpy 1.13.3 (:issue:`175`)
+ :func:`bottleneck.nonreduce_axis.push` raises when n=None is
explicitly passed (:issue:`178`)
+ :func:`bottleneck.reduce.nansum` wrong output when a =
np.ones((2, 2))[..., np.newaxis] same issue of other reduce
functions (:issue:`183`)
+ Silenced FutureWarning from NumPy in the slow version of move
functions (:issue:`194`)
+ Installing bottleneck onto a system that does not already have
Numpy (:issue:`195`)
+ Memory leaked when input was not a NumPy array (:issue:`201`)
+ Tautological comparison in :func:`bottleneck.move.move_rank`
removed (:issue:`207`, :issue:`212`)
* Cleanup
+ The ez_setup.py module is no longer packaged (:issue:`211`)
+ Building documentation is now self-contained in make doc
(:issue:`214`)
+ Codebase now flake8 compliant and run on every commit
+ Codebase now uses black for autoformatting (:issue:`253`)
-------------------------------------------------------------------
Wed Sep 27 22:20:10 UTC 2017 - arun@gmx.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Bottleneck
#
# Copyright (c) 2017 SUSE LINUX 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,20 +12,18 @@
# 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-Bottleneck
Version: 1.2.1
Version: 1.3.1
Release: 0
Summary: A collection of fast NumPy array functions
License: BSD-2-Clause and BSD-3-Clause
Group: Development/Libraries/Python
Url: http://berkeleyanalytics.com/bottleneck/
License: BSD-2-Clause AND BSD-3-Clause
URL: http://berkeleyanalytics.com/bottleneck/
Source0: https://files.pythonhosted.org/packages/source/B/Bottleneck/Bottleneck-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel >= 1.9.1}
BuildRequires: %{python_module setuptools}
@ -49,8 +47,8 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
%defattr(-,root,root)
%doc README.rst RELEASE.rst LICENSE
%license LICENSE
%doc README.rst RELEASE.rst
%{python_sitearch}/bottleneck/
%{python_sitearch}/Bottleneck-%{version}-py*.egg-info