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 2023-08-18 19:27:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numpy (Old) and /work/SRC/openSUSE:Factory/.python-numpy.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numpy" Fri Aug 18 19:27:35 2023 rev:119 rq:1104294 version:1.25.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes 2023-06-26 18:15:34.126330394 +0200 +++ /work/SRC/openSUSE:Factory/.python-numpy.new.1766/python-numpy.changes 2023-08-18 19:27:48.851257264 +0200 @@ -1,0 +2,69 @@ +Wed Aug 16 11:31:28 UTC 2023 - Daniel Garcia <[email protected]> + +- Use %pyproject_wheel and %pyproject_install macros +- Disable broken tests in armv7l (bsc#1212710) + +------------------------------------------------------------------- +Mon Aug 14 11:41:16 UTC 2023 - Dirk Müller <[email protected]> + +- limit to Cython < 3 + +------------------------------------------------------------------- +Mon Aug 14 07:07:51 UTC 2023 - Dirk Müller <[email protected]> + +- update to 1.25.2: + * Upgrade various build dependencies. + * use ``-ftrapping-math`` with Clang on macOS + * properly handle negative indexes in ufunc_at fast path + * PyObject_IsTrue and PyObject_Not error handling in setflags + * histogram small range robust + * Update meson.build files from main branch + * exclude min, max and round from ``np.__all__`` + * Dependabot updates + * Fix the signature for np.array_api.take + * update OpenBLAS to an intermeidate commit + * Fix reference count leak in str(scalar). + * fix invalid function pointer conversion error + * Factor out slow ``getenv`` call used for memory policy warning + * correct URL in cirrus.star [skip cirrus] + * Fix C types in scalartypes + * do not modify the input to ufunc_at + * Further fixes to indexing loop and added tests + +------------------------------------------------------------------- +Thu Jul 20 13:21:25 UTC 2023 - Guillaume GARDET <[email protected]> + +- Update to 1.25.1: + * NumPy 1.25.1 is a maintenance release that fixes bugs and regressions + discovered after the 1.25.0 release. The Python versions supported by + this release are 3.9-3.11. + * #23968: MAINT: prepare 1.25.x for further development + * #24036: BLD: Port long double identification to C for meson + * #24037: BUG: Fix reduction return NULL to be goto fail + * #24038: BUG: Avoid undefined behavior in array.astype() + * #24039: BUG: Ensure __array_ufunc__ works without any kwargs passed + * #24117: MAINT: Pin urllib3 to avoid anaconda-client bug. + * #24118: TST: Pin pydantic<2 in Pyodide workflow + * #24119: MAINT: Bump pypa/cibuildwheel from 2.13.0 to 2.13.1 + * #24120: MAINT: Bump actions/checkout from 3.5.2 to 3.5.3 + * #24122: BUG: Multiply or Divides using SIMD without a full vector can... + * #24127: MAINT: testing for IS_MUSL closes #24074 + * #24128: BUG: Only replace dtype temporarily if dimensions changed + * #24129: MAINT: Bump actions/setup-node from 3.6.0 to 3.7.0 + * #24134: BUG: Fix private procedures in f2py modules +- Skipped 1.25.0: + * The NumPy 1.25.0 release continues the ongoing work to improve the + handling and promotion of dtypes, increase the execution speed, and + clarify the documentation. There has also been work to prepare for the + future NumPy 2.0.0 release, resulting in a large number of new and + expired deprecation. Highlights are: + - Support for MUSL, there are now MUSL wheels. + - Support the Fujitsu C/C++ compiler. + - Object arrays are now supported in einsum + - Support for inplace matrix multiplication (@=). + * Full changelog: https://github.com/numpy/numpy/releases/tag/v1.25.0 +The Python versions supported in this release are 3.9-3.11. +- Remove upstream patch: + * remove-deprecated-hypothesis-funcs.patch + +------------------------------------------------------------------- Old: ---- numpy-1.24.2.tar.gz remove-deprecated-hypothesis-funcs.patch New: ---- numpy-1.25.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numpy.spec ++++++ --- /var/tmp/diff_new_pack.zX9tg5/_old 2023-08-18 19:27:49.903259150 +0200 +++ /var/tmp/diff_new_pack.zX9tg5/_new 2023-08-18 19:27:49.911259165 +0200 @@ -17,8 +17,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define ver 1.24.2 -%define _ver 1_24_2 +%define ver 1.25.2 +%define _ver 1_25_2 %define pname python-numpy %define plainpython python %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') @@ -88,12 +88,12 @@ Patch1: numpy-1.9.0-remove-__declspec.patch # PATCH-FIX-OPENSUSE Ignore DeprecationWarnings when importing pkg_resources Patch2: ignore-pkg_resources-deprecation.patch -# PATCH-FIX-OPENSUSE Do not call a deprecated hypothesis health check function -Patch3: remove-deprecated-hypothesis-funcs.patch -BuildRequires: %{python_module Cython >= 0.29.30} +BuildRequires: %{python_module Cython >= 0.29.30 with %python-Cython < 3} BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 60.0.0} +BuildRequires: %{python_module wheel} BuildRequires: gcc-c++ BuildRequires: python-rpm-macros >= 20210929 BuildConflicts: gcc11 < 11.2 @@ -101,8 +101,8 @@ BuildRequires: fdupes %endif # SECTION test requirements -BuildRequires: %{python_module pytest >= 6.2.5} -BuildRequires: %{python_module hypothesis >= 6.24.1} +BuildRequires: %{python_module pytest >= 7.4.0} +BuildRequires: %{python_module hypothesis >= 6.75.0} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module testsuite} BuildRequires: %{python_module typing-extensions >= 4.2.0} @@ -136,7 +136,9 @@ %else BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel BuildRequires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel +%ifnarch %ix86 %arm BuildRequires: lua-lmod +%endif BuildRequires: suse-hpc Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc %endif @@ -184,7 +186,7 @@ %prep %autosetup -p1 -n numpy-%{version} # 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/{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},matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py sed -i '1s/^#!.*$//' numpy/random/_examples/cython/*.pyx # force cythonization @@ -206,13 +208,13 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %endif -%python_build +%pyproject_wheel %install %{?with_hpc:%hpc_setup} %{?with_hpc:module load openblas} -%python_exec setup.py install --prefix=%{p_prefix} --root=%{buildroot} +%pyproject_install --prefix %{p_prefix} --root %{buildroot} %if !%{with hpc} %python_clone -a %{buildroot}%{_bindir}/f2py @@ -314,7 +316,16 @@ test_failok+=" or test_identityless_reduction_huge_array" test_failok+=" or test_huge_vectordot" # invalid int type for 32bit -test_failok+=" or (test_kind and test_all)" +test_failok+=" or (test_kind and test_quad_precision)" +test_failok+=" or (test_kind and test_int)" +test_failok+=" or (test_kind and test_real)" +test_failok+=" or (test_multinomial_pvals_float32)" +%endif +%ifarch %{arm} +# https://github.com/numpy/numpy/issues/24001 +test_failok+=" or (test_cpu_features and test_impossible_feature_enable)" +test_failok+=" or (test_cpu_features and test_features)" +test_failok+=" or (test_umath and test_unary_spurious_fpexception)" %endif %ifarch riscv64 # These tests fail due to non-portable assumptions about the signbit of NaN @@ -365,7 +376,7 @@ %endif %{_bindir}/f2py%{python_bin_suffix} %{python_sitearch}/numpy/ -%{python_sitearch}/numpy-%{version}-py*.egg-info +%{python_sitearch}/numpy-%{version}*-info %license %{python_sitearch}/numpy/LICENSE.txt %exclude %{python_sitearch}/numpy/core/include/ %exclude %{python_sitearch}/numpy/distutils/mingw/*.c @@ -383,7 +394,7 @@ %endif %{p_bindir}/f2py%{python_bin_suffix} %{p_python_sitearch}/numpy/ -%{p_python_sitearch}/numpy-%{version}-py*.egg-info +%{p_python_sitearch}/numpy-%{version}*-info %license %{p_python_sitearch}/numpy/LICENSE.txt %exclude %{p_python_sitearch}/numpy/core/include/ %exclude %{p_python_sitearch}/numpy/core/lib/libnpymath.a ++++++ numpy-1.24.2.tar.gz -> numpy-1.25.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-numpy/numpy-1.24.2.tar.gz /work/SRC/openSUSE:Factory/.python-numpy.new.1766/numpy-1.25.2.tar.gz differ: char 5, line 1
