Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Bottleneck for openSUSE:Factory checked in at 2024-07-08 19:08:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Bottleneck (Old) and /work/SRC/openSUSE:Factory/.python-Bottleneck.new.2080 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Bottleneck" Mon Jul 8 19:08:39 2024 rev:16 rq:1186069 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Bottleneck/python-Bottleneck.changes 2024-04-21 20:31:00.446127626 +0200 +++ /work/SRC/openSUSE:Factory/.python-Bottleneck.new.2080/python-Bottleneck.changes 2024-07-08 19:08:58.224298368 +0200 @@ -1,0 +2,8 @@ +Mon Jul 1 04:19:18 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 1.4.0: + * Building against numpy 2.0, which ships new backwards compatible ABI + * Update CI config +- Remove numpy upper bound. + +------------------------------------------------------------------- Old: ---- Bottleneck-1.3.8.tar.gz New: ---- bottleneck-1.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Bottleneck.spec ++++++ --- /var/tmp/diff_new_pack.fuLVKD/_old 2024-07-08 19:08:58.920323823 +0200 +++ /var/tmp/diff_new_pack.fuLVKD/_new 2024-07-08 19:08:58.924323969 +0200 @@ -17,29 +17,29 @@ Name: python-Bottleneck -Version: 1.3.8 +Version: 1.4.0 Release: 0 Summary: A collection of fast NumPy array functions License: BSD-2-Clause AND BSD-3-Clause URL: https://github.com/pydata/bottleneck -Source0: https://files.pythonhosted.org/packages/source/B/Bottleneck/Bottleneck-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/b/bottleneck/bottleneck-%{version}.tar.gz Source99: python-Bottleneck.rpmlintrc BuildRequires: %{python_module devel} -BuildRequires: %{python_module numpy-devel >= 1.16.0 with %python-numpy-devel < 2} +BuildRequires: %{python_module numpy-devel >= 1.16.0} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: (python-numpy >= 1.16.0 with python-numpy < 2) +Requires: python-numpy >= 1.16.0 %python_subpackages %description Bottleneck is a collection of fast NumPy array functions written in C. %prep -%setup -q -n Bottleneck-%{version} +%setup -q -n bottleneck-%{version} %build export CFLAGS="%{optflags} -fno-strict-aliasing" @@ -50,9 +50,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -# https://github.com/pydata/bottleneck/issues/423 -donttest="(move_test and test_move)" -%pytest_arch --pyargs bottleneck -k "not ($donttest)" +%pytest_arch --pyargs bottleneck %files %{python_files} %license LICENSE ++++++ Bottleneck-1.3.8.tar.gz -> bottleneck-1.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Bottleneck-1.3.8/Bottleneck.egg-info/PKG-INFO new/bottleneck-1.4.0/Bottleneck.egg-info/PKG-INFO --- old/Bottleneck-1.3.8/Bottleneck.egg-info/PKG-INFO 2024-02-25 01:30:22.000000000 +0100 +++ new/bottleneck-1.4.0/Bottleneck.egg-info/PKG-INFO 2024-06-18 00:24:40.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Bottleneck -Version: 1.3.8 +Version: 1.4.0 Summary: Fast NumPy array functions written in C Home-page: https://github.com/pydata/bottleneck Download-URL: http://pypi.python.org/pypi/Bottleneck @@ -26,7 +26,6 @@ Classifier: Programming Language :: Python :: 3.11 Classifier: Topic :: Scientific/Engineering Classifier: Topic :: Scientific/Engineering -Requires: numpy Description-Content-Type: text/x-rst License-File: LICENSE Requires-Dist: numpy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Bottleneck-1.3.8/PKG-INFO new/bottleneck-1.4.0/PKG-INFO --- old/Bottleneck-1.3.8/PKG-INFO 2024-02-25 01:30:22.989980500 +0100 +++ new/bottleneck-1.4.0/PKG-INFO 2024-06-18 00:24:40.131224400 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Bottleneck -Version: 1.3.8 +Version: 1.4.0 Summary: Fast NumPy array functions written in C Home-page: https://github.com/pydata/bottleneck Download-URL: http://pypi.python.org/pypi/Bottleneck @@ -26,7 +26,6 @@ Classifier: Programming Language :: Python :: 3.11 Classifier: Topic :: Scientific/Engineering Classifier: Topic :: Scientific/Engineering -Requires: numpy Description-Content-Type: text/x-rst License-File: LICENSE Requires-Dist: numpy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Bottleneck-1.3.8/RELEASE.rst new/bottleneck-1.4.0/RELEASE.rst --- old/Bottleneck-1.3.8/RELEASE.rst 2024-02-25 01:30:13.000000000 +0100 +++ new/bottleneck-1.4.0/RELEASE.rst 2024-06-18 00:24:33.000000000 +0200 @@ -6,6 +6,16 @@ These are the major changes made in each release. For details of the changes see the commit log at https://github.com/pydata/bottleneck +Bottleneck 1.4.0 +================ + +*Release date: 2024-06-17 + +Enhancements +~~~~~~~~~~~~ +- Building against numpy 2.0, which ships new backwards compatible ABI +- Update CI config + Bottleneck 1.3.8 ================ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Bottleneck-1.3.8/bottleneck/_version.py new/bottleneck-1.4.0/bottleneck/_version.py --- old/Bottleneck-1.3.8/bottleneck/_version.py 2024-02-25 01:30:22.989980500 +0100 +++ new/bottleneck-1.4.0/bottleneck/_version.py 2024-06-18 00:24:40.131224400 +0200 @@ -8,11 +8,11 @@ version_json = ''' { - "date": "2024-02-25T01:15:02+0100", + "date": "2024-06-17T22:41:24+0100", "dirty": false, "error": null, - "full-revisionid": "bd70f840ac1e0bc220b9bc6bfee6b42ffa57464a", - "version": "1.3.8" + "full-revisionid": "c4e1582c208ca23ebbf58ea64a9a9803208bd106", + "version": "1.4.0" } ''' # END VERSION_JSON diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Bottleneck-1.3.8/bottleneck/slow/move.py new/bottleneck-1.4.0/bottleneck/slow/move.py --- old/Bottleneck-1.3.8/bottleneck/slow/move.py 2024-02-25 01:30:13.000000000 +0100 +++ new/bottleneck-1.4.0/bottleneck/slow/move.py 2024-06-18 00:24:33.000000000 +0200 @@ -52,7 +52,7 @@ "Slow move_argmin for unaccelerated dtype" def argmin(a, axis): - a = np.array(a, copy=False) + a = np.asarray(a) flip = [slice(None)] * a.ndim flip[axis] = slice(None, None, -1) a = a[tuple(flip)] # if tie, pick index of rightmost tie @@ -78,7 +78,7 @@ "Slow move_argmax for unaccelerated dtype" def argmax(a, axis): - a = np.array(a, copy=False) + a = np.asarray(a) flip = [slice(None)] * a.ndim flip[axis] = slice(None, None, -1) a = a[tuple(flip)] # if tie, pick index of rightmost tie @@ -115,7 +115,7 @@ def move_func(func, a, window, min_count=None, axis=-1, **kwargs): "Generic moving window function implemented with a python loop." - a = np.array(a, copy=False) + a = np.asarray(a) if min_count is None: mc = window else: @@ -226,7 +226,7 @@ -0.5 """ - a = np.array(a, copy=False) + a = np.asarray(a) ndim = a.ndim if a.size == 0: # At least one dimension has length 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Bottleneck-1.3.8/bottleneck/slow/nonreduce_axis.py new/bottleneck-1.4.0/bottleneck/slow/nonreduce_axis.py --- old/Bottleneck-1.3.8/bottleneck/slow/nonreduce_axis.py 2024-02-25 01:30:13.000000000 +0100 +++ new/bottleneck-1.4.0/bottleneck/slow/nonreduce_axis.py 2024-06-18 00:24:33.000000000 +0200 @@ -15,7 +15,7 @@ def _rank(func1d, a, axis): - a = np.array(a, copy=False) + a = np.asarray(a) if axis is None: a = a.ravel() axis = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Bottleneck-1.3.8/pyproject.toml new/bottleneck-1.4.0/pyproject.toml --- old/Bottleneck-1.3.8/pyproject.toml 2024-02-25 01:30:13.000000000 +0100 +++ new/bottleneck-1.4.0/pyproject.toml 2024-06-18 00:24:33.000000000 +0200 @@ -3,5 +3,16 @@ "setuptools", "versioneer", "wheel", - "oldest-supported-numpy" + "oldest-supported-numpy ; python_version < '3.9'", + # Comments on numpy build requirement range: + # + # 1. >=2.0.x is the numpy requirement for wheel builds for distribution + # on PyPI - building against 2.x yields wheels that are also + # ABI-compatible with numpy 1.x at runtime. + # 2. Note that building against numpy 1.x works fine too - users and + # redistributors can do this by installing the numpy version they like + # and disabling build isolation. + # 3. The <2.3 upper bound is for matching the numpy deprecation policy, + # it should not be loosened + "numpy>=2.0.0rc1,<2.3 ; python_version >= '3.9'", ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Bottleneck-1.3.8/setup.py new/bottleneck-1.4.0/setup.py --- old/Bottleneck-1.3.8/setup.py 2024-02-25 01:30:13.000000000 +0100 +++ new/bottleneck-1.4.0/setup.py 2024-06-18 00:24:33.000000000 +0200 @@ -192,11 +192,9 @@ "bottleneck": ["LICENSE"], "bottleneck.tests": ["data/*/*"], }, - requires=["numpy"], install_requires=["numpy"], extras_require={"doc": ["numpydoc", "sphinx", "gitpython"]}, cmdclass=cmdclass, - setup_requires=["numpy"], ext_modules=prepare_modules(), zip_safe=False, )