Hello community, here is the log from the commit of package python-numpy for openSUSE:Factory checked in at 2020-09-04 10:56:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numpy (Old) and /work/SRC/openSUSE:Factory/.python-numpy.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numpy" Fri Sep 4 10:56:37 2020 rev:93 rq:822783 version:1.19.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes 2020-07-01 18:22:28.245908569 +0200 +++ /work/SRC/openSUSE:Factory/.python-numpy.new.3399/python-numpy.changes 2020-09-04 10:57:27.902570418 +0200 @@ -1,0 +2,612 @@ +Sat Jul 25 15:35:20 UTC 2020 - Arun Persaud <a...@gmx.de> + +- specfile: + * update cython version requirement + * updated line number in patches + * removed patch 0001-Re-raise-MemoryError-exception-in-test_large_zips-process, included upstream + +- update to version 1.19.1: + * #16649: MAINT, CI: disable Shippable cache + * #16652: MAINT: Replace PyUString_GET_SIZE with + PyUnicode_GetLength. + * #16654: REL: Fix outdated docs link + * #16656: BUG: raise IEEE exception on AIX + * #16672: BUG: Fix bug in AVX complex absolute while processing + array of... + * #16693: TST: Add extra debugging information to CPU features + detection + * #16703: BLD: Add CPU entry for Emscripten / WebAssembly + * #16705: TST: Disable Python 3.9-dev testing. + * #16714: MAINT: Disable use_hugepages in case of ValueError + * #16724: BUG: Fix PyArray_SearchSorted signature. + * #16768: MAINT: Fixes for deprecated functions in scalartypes.c.src + * #16772: MAINT: Remove unneeded call to PyUnicode_READY + * #16776: MAINT: Fix deprecated functions in scalarapi.c + * #16779: BLD, ENH: Add RPATH support for AIX + * #16780: BUG: Fix default fallback in genfromtxt + * #16784: BUG: Added missing return after raising error in methods.c + * #16795: BLD: update cython to 0.29.21 + * #16832: MAINT: setuptools 49.2.0 emits a warning, avoid it + * #16872: BUG: Validate output size in bin- and multinomial + * #16875: BLD, MAINT: Pin setuptools + * #16904: DOC: Reconstruct Testing Guideline. + * #16905: TST, BUG: Re-raise MemoryError exception in + test_large_zip's... + * #16906: BUG,DOC: Fix bad MPL kwarg. + * #16916: BUG: Fix string/bytes to complex assignment + * #16922: REL: Prepare for NumPy 1.19.1 release + +------------------------------------------------------------------- +Fri Jul 17 11:08:29 UTC 2020 - Antonio Larrosa <alarr...@suse.com> + +- Add patch to fix the test_large_zip test in i586, which fails + when run in a separate process (gh#numpy/numpy#16890): + * 0001-Re-raise-MemoryError-exception-in-test_large_zips-process.patch + +------------------------------------------------------------------- +Thu Jul 2 16:55:48 UTC 2020 - Antonio Larrosa <alarr...@suse.com> + +- Update to version 1.19.0: + * #8255: ENH: add identity kwarg to frompyfunc + * #12646: TST: check exception details in refguide_check.py + * #13421: ENH: improve runtime detection of CPU features + * #14326: TST: Add assert_array_equal test for big integer arrays. + * #14376: MAINT: Remove unnecessary 'from __future__ import ...' + statements + * #14530: MAINT: Fix typos and copy edit NEP-0030. + * #14546: DOC: NumPy for absolute beginners tutorial + * #14715: NEP: Proposal for array creation dispatching with + __array_function__ + * #14867: ENH: Use AVX-512F for np.maximum and np.minimum + * #14924: BUG: Fix numpy.random.dirichlet returns NaN for small + 'alpha'... + * #14933: API: Use ResultType in PyArray_ConvertToCommonType + * #14942: MAINT,API: ignore and NULL fasttake/fastputmask ArrFuncs + slots + * #14981: BUG: Make ediff1d kwarg casting consistent + * #14988: DOC: linalg: Include information about scipy.linalg. + * #14995: BUG: Use __array__ during dimension discovery + * #15011: MAINT: cleanup compat.py3k.py + * #15022: ENH: f2py: improve error messages + * #15028: [DOC] LaTeX: fix preamble (closes #15026) + * #15035: BUG: add endfunction, endsubroutine to valid fortran + end words + * #15040: TST: Add test for object method (and general unary) + loops + * #15042: REL: Update master after 1.18.x branch. + * #15043: DOC: Update HOWTO_RELEASE.rst.txt + * #15046: API, DOC: change names to multivariate_hypergeometric, + improve... + * #15050: DOC: Fix statement about norms + * #15052: MAINT: follow-up cleanup for blas64 PR + * #15054: DOC: add docstrings to refguide-check + * #15066: Revert "DEP: issue deprecation warning when creating + ragged array... + * #15069: ENH: add support for ILP64 OpenBLAS (without symbol + suffix) + * #15070: DOC: correct version for NaT sort + * #15072: TST: Check requires_memory immediately before the test + * #15073: MAINT: core: Fix a very long line in the ufunc + docstrings. + * #15076: BUG: test, fix flexible dtype conversion on class with + __array__ + * #15082: TST: add value to pytest.ini for pytest6 compatibility + * #15085: MAINT: Ragged cleanup + * #15097: DOC: bring the out parameter docstring into line with + ufuncs + * #15106: ENH: f2py: add --f2cmap option for specifying the name + of .f2py_f2cmap + * #15107: TST: add BLAS ILP64 run in Travis & Azure + * #15110: MAINT: Fix expm1 instability for small complex numbers. + * #15115: MAINT: random: Remove a few unused imports from test + files. + * #15116: MAINT: Bump pytest from 5.3.1 to 5.3.2 + * #15118: API: remove undocumented use of __array__(dtype, + context) + * #15120: MAINT,CI: fix signed-unsigned comparison warning + * #15124: DOC: Update documentation of np.clip + * #15125: DOC: Remove reference to basic RNG + * #15126: MAINT: Fix randint 0d limits and other 0d cleanups + * #15129: DOC: Fix typos, via a Levenshtein-style corrector + * #15133: MAINT: CI: Clean up .travis.yml + * #15136: DOC: Correct choice signature + * #15138: DOC: Correct documentation in choice + * #15143: TST: shippable build efficiency + * #15144: BUG: ensure reduction output matches input along + non-reduction... + * #15149: REL: Update master after NumPy 1.18.0 release. + * #15150: MAINT: Update pavement.py for towncrier. + * #15153: DOC: update cholesky docstring regarding input checking + * #15154: DOC: update documentation on how to build NumPy + * #15156: DOC: add moved modules to 1.18 release note + * #15160: MAINT: Update required cython version to 0.29.14. + * #15164: BUG: searchsorted: passing the keys as a keyword + argument + * #15170: BUG: use tmp dir and check version for cython test + * #15178: TST: improve assert message of assert_array_max_ulp + * #15187: MAINT: unskip test on win32 + * #15189: ENH: Add property-based tests using Hypothesis + * #15194: BUG: test, fix for c++ compilation + * #15196: DOC: Adding instructions for building documentation to + developer... + * #15197: DOC: NEP 37: A dispatch protocol for NumPy-like modules + * #15203: MAINT: Do not use private Python function in testing + * #15205: DOC: Improvements to Quickstart Tutorial. + * #15211: BUG: distutils: fix msvc+gfortran openblas handling + corner case + * #15212: BUG: lib: Fix handling of integer arrays by gradient. + * #15215: MAINT: lib: A little bit of clean up for the new year. + * #15216: REL: Update master after NumPy 1.16.6 and 1.17.5 + releases. + * #15217: DEP: records: Deprecate treating shape=0 as shape=None + * #15218: ENH: build fallback lapack_lite with 64-bit integers on + 64-bit... + * #15224: MAINT: linalg: use symbol suffix in fallback + lapack_lite + * #15227: DOC: typo in release.rst + * #15228: NEP: universal SIMD NEP 38 + * #15229: MAINT: Remove unused int_asbuffer + * #15232: MAINT: Cleaning up PY_MAJOR_VERSION/PY_VERSION_HEX + * #15233: MAINT: Clean up more PY_VERSION_HEX + * #15236: MAINT: Remove implicit inheritance from object class + * #15238: MAINT: only add --std=c99 where needed + * #15239: MAINT: Remove Python2 newbuffer getbuffer + * #15240: MAINT: Py3K array_as_buffer and gentype_as_buffer + * #15241: MAINT: Remove references to non-existent sys.exc_clear() + * #15242: DOC: Update HOWTO_RELEASE.rst + * #15248: MAINT: cleanup use of sys.exc_info + * #15249: MAINT: Eliminate some calls to eval + * #15251: MAINT: Improve const-correctness of shapes and strides + * #15253: DOC: clarify the effect of None parameters passed to + ndarray.view + * #15254: MAINT: Improve const-correctness of string arguments + * #15255: MAINT: Delete numpy.distutils.compat + * #15256: MAINT: Implement keyword-only arguments as syntax + * #15260: MAINT: Remove FIXME comments introduced in the previous + commit + * #15261: MAINT: Work with unicode strings in dtype('i8,i8') + * #15262: BUG: Use PyDict_GetItemWithError() instead of + PyDict_GetItem() + * #15263: MAINT: Remove python2 array_{get,set}slice + * #15264: DOC: Add some missing functions in the list of + available ufuncs. + * #15265: MAINT: Tidy PyArray_DescrConverter + * #15266: MAINT: remove duplicated if statements between + DescrConverters + * #15267: BUG: Fix PyArray_DescrAlignConverter2 on tuples + * #15268: MAINT: Remove Python2 ndarray.__unicode__ + * #15272: MAINT: Remove Python 2 divide + * #15273: MAINT: minor formatting fixups for NEP-37 + * #15274: MAINT: Post NumPy 1.18.1 update. + * #15275: MAINT: travis-ci: Update CI scripts. + * #15278: BENCH: Add benchmark for small array coercions + * #15279: BUILD: use standard build of OpenBLAS for aarch64, + ppc64le, s390x + * #15280: BENCH: Add basic benchmarks for take and putmask + * #15281: MAINT: Cleanup most PY3K #ifdef guards + * #15282: DOC: BLD: add empty release notes for 1.19.0 to fix doc + build... + * #15284: MAINT: Use a simpler return convention for internal + functions + * #15285: MAINT: Simplify np.int_ inheritance + * #15286: DOC" Update np.full docstring. + * #15287: MAINT: Express PyArray_DescrAlignConverter in terms of + _convert_from_any + * #15288: MAINT: Push down declarations in _convert_from_* + * #15289: MAINT: C code simplifications + * #15291: BUG: Add missing error handling to _convert_from_list ++++ 415 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes ++++ and /work/SRC/openSUSE:Factory/.python-numpy.new.3399/python-numpy.changes Old: ---- numpy-1.18.4.zip New: ---- numpy-1.19.1.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numpy.spec ++++++ --- /var/tmp/diff_new_pack.ZX5coU/_old 2020-09-04 10:57:31.098572130 +0200 +++ /var/tmp/diff_new_pack.ZX5coU/_new 2020-09-04 10:57:31.102572132 +0200 @@ -17,7 +17,7 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_18_1 +%define _ver 1_19_0 %define pname python-numpy %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') %if "%{flavor}" == "" @@ -70,7 +70,7 @@ %endif %endif Name: %{package_name} -Version: 1.18.4 +Version: 1.19.1 Release: 0 Summary: NumPy array processing for numbers, strings, records and objects License: BSD-3-Clause @@ -84,10 +84,11 @@ # # PATCH-FIX-SLE fix-py34-tests.patch -- python 3.4 support Patch3: fix-py34-tests.patch Patch4: s390x.patch -BuildRequires: %{python_module Cython >= 0.29.13} +BuildRequires: %{python_module Cython >= 0.29.21} BuildRequires: %{python_module devel} +BuildRequires: %{python_module hypothesis >= 5.12.0} +BuildRequires: %{python_module pytest >= 5.4.2} BuildRequires: %{python_module pytest-xdist} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testsuite} BuildRequires: python-rpm-macros @@ -254,7 +255,7 @@ %ifarch ppc64 ppc64le %define skiptest -k "not test_generalized_sq" %endif -%pytest_arch -n auto --pyargs numpy %{buildroot}%{$python_sitearch}/numpy %{?skiptest} +%pytest_arch -n auto --pyargs numpy %{buildroot}%{python_sitearch}/numpy %{?skiptest} popd %endif %if %{without hpc} ++++++ fix-py34-tests.patch ++++++ --- /var/tmp/diff_new_pack.ZX5coU/_old 2020-09-04 10:57:31.162572164 +0200 +++ /var/tmp/diff_new_pack.ZX5coU/_new 2020-09-04 10:57:31.162572164 +0200 @@ -2,15 +2,16 @@ =================================================================== --- numpy-1.16.2.orig/numpy/lib/tests/test_mixins.py +++ numpy-1.16.2/numpy/lib/tests/test_mixins.py -@@ -7,6 +7,7 @@ import sys +@@ -4,6 +4,8 @@ import sys import numpy as np from numpy.testing import assert_, assert_equal, assert_raises +import pytest ++import sys - PY2 = sys.version_info.major < 3 - -@@ -199,6 +200,7 @@ class TestNDArrayOperatorsMixin(object): + # NOTE: This class should be kept as an exact copy of the example from the + # docstring for NDArrayOperatorsMixin. +@@ -193,6 +195,7 @@ class TestNDArrayOperatorsMixin(object): err_msg = 'failed for operator {}'.format(op) _assert_equal_type_and_value(expected, actual, err_msg=err_msg) ++++++ numpy-1.9.0-remove-__declspec.patch ++++++ --- /var/tmp/diff_new_pack.ZX5coU/_old 2020-09-04 10:57:31.178572173 +0200 +++ /var/tmp/diff_new_pack.ZX5coU/_new 2020-09-04 10:57:31.178572173 +0200 @@ -15,7 +15,7 @@ --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py -@@ -168,7 +168,7 @@ OPTIONAL_FUNCTION_ATTRIBUTES = [('__attr +@@ -186,7 +186,7 @@ OPTIONAL_FUNCTION_ATTRIBUTES = [('__attr ] # variable attributes tested via "int %s a" % attribute ++++++ numpy-buildfix.patch ++++++ --- /var/tmp/diff_new_pack.ZX5coU/_old 2020-09-04 10:57:31.190572180 +0200 +++ /var/tmp/diff_new_pack.ZX5coU/_new 2020-09-04 10:57:31.190572180 +0200 @@ -1,6 +1,6 @@ --- a/numpy/distutils/command/autodist.py +++ b/numpy/distutils/command/autodist.py -@@ -49,7 +49,7 @@ +@@ -50,7 +50,7 @@ """Return True if the C compiler is GCC 4.x.""" cmd._check_compiler() body = textwrap.dedent(""" @@ -12,7 +12,7 @@ --- a/numpy/distutils/command/install.py +++ b/numpy/distutils/command/install.py -@@ -69,7 +69,7 @@ +@@ -67,7 +67,7 @@ need_rewrite = False for l in f: l = l.rstrip() ++++++ s390x.patch ++++++ --- /var/tmp/diff_new_pack.ZX5coU/_old 2020-09-04 10:57:31.214572193 +0200 +++ /var/tmp/diff_new_pack.ZX5coU/_new 2020-09-04 10:57:31.214572193 +0200 @@ -11,7 +11,7 @@ code = """ function t0(value) @@ -87,6 +88,7 @@ cf2py intent(out) ts - self.check_function(getattr(self.module, name)) + self.check_function(getattr(self.module, name), name) +@pytest.mark.skip(reason="Test broken on s390x")