Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-numpy for openSUSE:Factory checked in at 2021-07-10 22:54:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numpy (Old) and /work/SRC/openSUSE:Factory/.python-numpy.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numpy" Sat Jul 10 22:54:04 2021 rev:101 rq:904588 version:1.21.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes 2021-06-11 00:17:39.081210330 +0200 +++ /work/SRC/openSUSE:Factory/.python-numpy.new.2625/python-numpy.changes 2021-07-10 22:54:18.975844783 +0200 @@ -1,0 +2,601 @@ +Wed Jul 7 08:24:03 UTC 2021 - Antonio Larrosa <[email protected]> + +- update to 1.21.0: + * DEP: Deprecate data_type.dtype if attribute is not already... + * ENH: Implement faster keyword argument parsing capable of METH_FASTCALL + * ENH: Optimize and cleanup ufunc calls and ufunc CheckOverrides + * BUG: Remove temporary change of descr/flags in VOID functions + * DOC: Add more information about poly1d -> polynomial to reference... + * ENH: Warn when reloading numpy or using numpy in sub-interpreter + * DOC: Fix for building with sphinx 3 + * DOC: unify the docs for np.transpose and ndarray.transpose + * DOC: added examples section for rfft2 and irfft2 docstring + * DOC: Fix Typo (Wrong argument name) + * ENH: Phase unwrapping generalized to arbitrary interval size + * SIMD: Optimize the performance of np.packbits in AVX2/AVX512F/VSX. + * MAINT: Use numpy version for f2py version. + * DEP: Shift correlate mode parsing to C and deprecate inexact... + * DEP: Formally deprecate np.typeDict + * SIMD: Replace raw SIMD of sin/cos with NPYV(universal intrinsics) + * MAINT: Bump pydata-sphinx-theme and set logo link to index + * DOC: Add module template + * ENH: Make ndarray generic w.r.t. its shape and dtype + * ENH: Added libdivide for floor divide + * BUG, Benchmark: fix passing optimization build options to asv + * MAINT, Benchmark: print the supported CPU features during the... + * ENH: Add annotations for comparison operations + * SIMD: Optimize the performance of einsum's submodule multiply... + * ENH, SIMD: Add new NPYV intrinsics pack(0) + * ENH, SIMD: Add new NPYV intrinsics pack(1) + * BLD: Enable Werror=undef in travis + * ENH: add support for fujitsu compiler to numpy. + * ENH: Add two new _<X>Like unions + * BUG: Ignore fewer errors during array-coercion + * MAINT: Add git rules to ignore all SIMD generated files + * ENH: Add a mypy plugin for inferring platform-specific np.number... + * TST: use latest pypy37 not pypy36 + * DOC: Doc for deprecate_with_doc + * DOC: Clarify docs of np.resize(). + * MAINT: Update master after 1.20.x branch. + * Make it clearer that np.interp input must be monotonically increasing + * MAINT: Implement new casting loops based on NEP 42 and 43 + * DOC: fix typo in glossary.rst + * BUG, TST: use python-version not PYTHON_VERSION + * DOC: update the release howto for oldest-supported-numpy + * MAINT: clean up a spurious warning in numpy/typing/setup.py + * DOC: Prepare for 1.20.0 release + * DOC: fixed typo in np-indexing.png explaining [-2:] slice in... + * BUG: Fix buffer readflag errors and small leaks + * BUG: np.arange: Allow stop not start as sole kwargs. + * MAINT: Bump hypothesis from 5.41.3 to 5.41.4 + * MAINT: Remove duplicate dictionary entry + * BUG: numpy.putmask not respecting writeable flag + * ENH: Timestamp development versions. + * DOC: Update arraycreation + * DOC: Correct sentence/statement composition + * DOC: Rename basics to fundamentals + added description + * MAINT: Remove remaining uses of Python 3.6. + * ENH: Speed up default where in the reduce-like method + * BUG: merging PR to use -Werror=undef broke another PR + * DEP: Finalize unravel_index dims alias for shape keyword + * BUG: Fix a MacOS build failure + * BUG: 'bool' object has no attribute 'ndim' + * BUG: remove stray '+' from f-string upgrade in numba/extending.py + * DOC: Update release notes to mention type(dtype) is not np.dtype + * NEP: Update NEP 42 and 43 according to the current implementation + * BUG: Enforce high >= low on uniform number generators + * MAINT: Replace contextlib_nullcontext with contextlib.nullcontext + * DOC: Add information about leak checking and valgrind + * TST: Fixed an issue where the typing tests would fail for comparison... + * DOC: Clarify savez documentation of naming arrays in output file + * [DOC]: Wrong length for underline in docstring. + * MAINT: Bump hypothesis from 5.41.4 to 5.41.5 + * BUG: Removed empty String from Nag Compiler's Flags + * NEP: Accept NEP 42 -- New and extensible DTypes + * DOC: Replace {var} in docstrings type annotation with `scalar... + * ENH: Use versioneer to manage numpy versions. + * TST: Fix crosstalk issues with polynomial str tests. + * MAINT: Optimize the performance of count_nonzero by using universal... + * TST, BUILD: Add a native x86 baseline build running on ubuntu-20.04 + * TST: Ensure tests are not sensitive to execution order + * BUG: Add missing decref to arange + * ENH: Use more typevars in np.dtype + * BUG, SIMD: Fix direactive check for AVX512BW of intrinsics npyv_tobits_* + * DEP: Futurewarn on requiring __len__ on array-likes + * BLD: Fixes for versioneer and setup.py sdist. + * DOC: Add/remove spaces in snippets and re-format here and there + * MAINT: Update test_requirements and release_requirements. + * ENH: Add proper dtype-support to np.flatiter + * ENH, SIMD: Ditching the old CPU dispatcher(Arithmetic) + * DOC: Replace verbatim with reference to local parameter + * [DOC] np.kron use double backticks for non-references + * SIMD: Optimize the performance of einsum's submodule dot . + * MAINT: Bump pytest from 6.0.2 to 6.2.0 + * MAINT: Update wheel requirement from <=0.35.1 to <0.36.3 + * MAINT: Bump hypothesis from 5.41.5 to 5.43.3 + * TST: ignore pytest warning + * Replace Numpy with NumPy + * BLD, BUG: Fix detecting aarch64 on macOS + * DOC: Fix and extend the docstring for np.inner + * DOC: Add a brief explanation of float printing + * DOC: fix for doctests + * BLD: update to OpenBLAS 0.3.13 + * SIMD: Optimize the performance of einsum's submodule sum. + * DOC: random: add some examples for SeedSequence + * DOC, MAINT: Minor fixes to refguide_check.py documentation. + * BUG: make a variable volatile to work around clang compiler bug + * DOC: Parameter name typo axes -> axis in numpy.fft._pocketfft. + * ENH: Add annotations for np.core.arrayprint + * DOC: Fix a couple of reference to verbatim and vice versa + * MAINT: Add dist_info to "other" setup.py commands. + * MAINT: Bump pytest from 6.2.0 to 6.2.1 + * TST: add back sdist test run + * BLD,DOC: pin sphinx to 3.3.1 + * DOC: Update TESTS.rst.txt + * MAINT: Add aliases for commonly used ArrayLike objects + * DEP: deprecate np.testing.dec + * BUG: Fix concatenation when the output is "S" or "U" + * DOC: Update stack docstrings + * BLD: ensure we give the right error message for old Python versions + * DOC: add missing details to linalg.lstsq docstring + * MAINT: CPUs that support unaligned access. + * TST: Allow mypy output types to be specified via aliases + * MAINT: Remove obsolete workaround to set ndarray.__hash__ = None + * BUG: Fix unique handling of nan entries. + * MAINT: crackfortran regex simplify + * MAINT: exprtype regex simplify + * ENH, SIMD: Dispatch for unsigned floor division + * NEP: mark NEP 28 on website redesign as final + * Fix build warnings in NEPs + * MAINT: Bump sphinx from 3.3.1 to 3.4.1 + * MAINT: Bump pytz from 2020.4 to 2020.5 + * MAINT: Bump hypothesis from 5.43.3 to 5.43.4 + * DOC: roadmap update + * MAINT: regex char class improve + * NEP: NumPy sponsorship guidelines (NEP 46) + * DOC: replace 'this platform' with the actual platform in the... + * BUG, SIMD: Fix _simd module build for 64bit Arm/neon clang + * DOC: Update reference to verbatim in a few location. + * MAINT: multiline regex class simplify + * DOC: Avoid using "set of" when talking about an ordered list. + * NEP: update backwards compatibility and deprecation policy NEP + * BUG, BLD: Generate the main dispatcher config header into the... + * ENH: move exp, log, frexp, ldexp to SIMD dispatching + * TST: Avoid changing odd tempfile names in tests' site.cfg + * TST: Turn some tests with loops into parametrized tests. + * MAINT: Fix exception cause in mingw32ccompiler.py + * API: make piecewise subclass safe using use zeros_like. + * MAINT: Bump hypothesis from 5.43.4 to 5.46.0 + * BUG: Fix promotion of half and string + * DEP: Deprecate promotion of numbers and bool to string + * BUG, MAINT: improve avx512 mask logical operations + * REL: Update master after 1.19.5 release. + * ENH: Add dtype support to the array comparison ops + * ENH: Adding keyboard interrupt support for array creation + * BLD: add found Cython version to check in cythonize.py + * MAINT: Bump sphinx from 3.4.1 to 3.4.3 + * MAINT: Bump hypothesis from 5.46.0 to 6.0.0 + * BUG: Ensure too many advanced indices raises an exception + * BUG: Promotion between strings and objects was assymetric + * MAINT: Remove redundant null check before free + * BUG: Initialize value of no_castable_output used in ufunc_loop_matches + * MAINT: Make keyword arrays static + * TST: add a pypy37 windows 64-bit build + * Use sinus based formula for chebpts1 + * ENH: cpu features detection implementation on FreeBSD ARM + * TST: Clear the mypy cache before running any typing tests + * MAINT: Changed the NBitBase variancy in number from co- to... + * ENH: Improve performance of tril_indices and triu_indices + * SIMD: add fast integer division intrinsics for all supported... + * BUG: threads.h existence test requires GLIBC > 2.12. + * ENH: [f2py] Add external attribute support. + * MAINT: Bump hypothesis from 6.0.0 to 6.0.2 + * MAINT: Optimize numpy.count_nonzero for int types using SIMD... + * BUG: Fix f2py bugs when wrapping F90 subroutines. + * MAINT: Give the _<X>Like and _ArrayLike<X> type aliases a... + * STY: unify imports in __init__.py + * STY: Use explicit reexports for numpy.typing objects + * MAINT: Fix typo in docstring example + * MAINT: einsum: Optimize the sub function two-operands by using... + * BLD: update OpenBLAS to af2b0d02 + * BUG: Keep ignoring most errors during array-protocol lookup + * ENH: Add new intrinsics sum_u8/u16/u64. + * TST: Speed up the typing tests + * MAINT: Update pavement.py to work with versioneer. + * TST: raise memory limit for test + * DOC: typo in post-loop return + * MAINT: random shuffle: warn on unrecognized objects, fix empty... + * DOC: Formatting consistency. + * DOC: Double backticks for inline code example. + * MAINT: Ignore ComplexWarning in test_iter_copy_casts. + * DOC: Misc single to double backticks fixes. + * DOC: Improve doc for numpy.random.Generator.choice + * MAINT: Bump pydata-sphinx-theme from 0.4.1 to 0.4.2 + * MAINT: Bump mypy from 0.790 to 0.800 + * MAINT: Bump hypothesis from 6.0.2 to 6.0.3 + * MAINT: Bump pytest-cov from 2.10.1 to 2.11.1 + * ENH: Add dtype-support to the ufunc-based ndarray magic methods... ++++ 404 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes ++++ and /work/SRC/openSUSE:Factory/.python-numpy.new.2625/python-numpy.changes Old: ---- numpy-1.20.3.zip New: ---- 0001-BUG-Fix-infinite-loop-on-gcc11.patch numpy-1.21.0.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numpy.spec ++++++ --- /var/tmp/diff_new_pack.LMvrY7/_old 2021-07-10 22:54:19.739838887 +0200 +++ /var/tmp/diff_new_pack.LMvrY7/_new 2021-07-10 22:54:19.743838856 +0200 @@ -17,8 +17,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define ver 1.20.3 -%define _ver 1_20_3 +%define ver 1.21.0 +%define _ver 1_21_0 %define pname python-numpy %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') %if "%{flavor}" == "" @@ -77,11 +77,13 @@ Patch0: numpy-buildfix.patch # PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious compiler warnings that cause build failure Patch1: numpy-1.9.0-remove-__declspec.patch -BuildRequires: %{python_module Cython >= 0.29.21} +# PATCH-FIX-UPSTREAM 0001-BUG-Fix-infinite-loop-on-gcc11.patch +Patch2: 0001-BUG-Fix-infinite-loop-on-gcc11.patch +BuildRequires: %{python_module Cython >= 0.29.23} BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module devel} -BuildRequires: %{python_module hypothesis >= 5.12.0} -BuildRequires: %{python_module pytest >= 5.4.2} +BuildRequires: %{python_module hypothesis >= 6.12.0} +BuildRequires: %{python_module pytest >= 6.2.4} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testsuite} @@ -160,6 +162,7 @@ %setup -q -n numpy-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p1 # Fix non-executable scripts sed -i '1s/^#!.*$//' numpy/{compat/setup,random/_examples/cython/setup,distutils/{conv_template,cpuinfo,exec_command,from_template,setup,system_info},f2py/{__init__,auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,f2py2e,f90mod_rules,func2subr,rules,setup,use_rules},ma/{setup,bench},matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py sed -i '1s/^#!.*$//' numpy/random/_examples/cython/*.pyx ++++++ 0001-BUG-Fix-infinite-loop-on-gcc11.patch ++++++ >From 820cb97bcad0d171c9efbb8fb8d7e987a0514aa9 Mon Sep 17 00:00:00 2001 From: Sayed Adel <[email protected]> Date: Fri, 2 Jul 2021 04:58:37 +0200 Subject: [PATCH] BUG, SIMD: Fix infinite loop during count non-zero on GCC-11 The issue appears when the compiler miss inlining a function that returns or accepts a SIMD vector. --- numpy/core/src/multiarray/item_selection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/numpy/core/src/multiarray/item_selection.c b/numpy/core/src/multiarray/item_selection.c index fb354ce5473..2b8ea9e79ac 100644 --- a/numpy/core/src/multiarray/item_selection.c +++ b/numpy/core/src/multiarray/item_selection.c @@ -2131,7 +2131,7 @@ count_nonzero_bytes_384(const npy_uint64 * w) #if NPY_SIMD /* Count the zero bytes between `*d` and `end`, updating `*d` to point to where to keep counting from. */ -static NPY_INLINE NPY_GCC_OPT_3 npyv_u8 +NPY_FINLINE NPY_GCC_OPT_3 npyv_u8 count_zero_bytes_u8(const npy_uint8 **d, const npy_uint8 *end, npy_uint8 max_count) { const npyv_u8 vone = npyv_setall_u8(1); @@ -2150,7 +2150,7 @@ count_zero_bytes_u8(const npy_uint8 **d, const npy_uint8 *end, npy_uint8 max_cou return vsum8; } -static NPY_INLINE NPY_GCC_OPT_3 npyv_u16x2 +NPY_FINLINE NPY_GCC_OPT_3 npyv_u16x2 count_zero_bytes_u16(const npy_uint8 **d, const npy_uint8 *end, npy_uint16 max_count) { npyv_u16x2 vsum16;
