diff --git a/numpy-1.26.2.tar.gz b/numpy-1.26.2.tar.gz deleted file mode 100644 index 0a88fe4..0000000 --- a/numpy-1.26.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f65738447676ab5777f11e6bbbdb8ce11b785e105f690bc45966574816b6d3ea -size 15664248 diff --git a/numpy-1.26.4.tar.gz b/numpy-1.26.4.tar.gz new file mode 100644 index 0000000..0d230b3 --- /dev/null +++ b/numpy-1.26.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010 +size 15786129 diff --git a/python-numpy-rpmlintrc b/python-numpy-rpmlintrc index ba645aa..9ca22d5 100644 --- a/python-numpy-rpmlintrc +++ b/python-numpy-rpmlintrc @@ -1,6 +1,7 @@ # These files are required for testing (and testing the package on a live system) -addFilter("devel-file-in-non-devel-package.*numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c") -addFilter("devel-file-in-non-devel-package.*numpy/core/tests/examples") -addFilter("devel-file-in-non-devel-package.*numpy/core/tests/data") -addFilter("hidden-file-or-dir .*/numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap") -addFilter("hidden-file-or-dir .*/numpy/f2py/tests/src/f2cmap/.f2py_f2cmap") +addFilter("devel-file-in-non-devel-package .*numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c") +addFilter("devel-file-in-non-devel-package .*numpy/core/tests/examples") +addFilter("devel-file-in-non-devel-package .*numpy/core/tests/data") +addFilter("hidden-file-or-dir .*numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap") +addFilter("hidden-file-or-dir .*numpy/f2py/tests/src/f2cmap/.f2py_f2cmap") +addFilter("zero-length .*numpy/_core/__init__.pyi") diff --git a/python-numpy.changes b/python-numpy.changes index caa8337..0ad9e3d 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,88 @@ +------------------------------------------------------------------- +Tue Apr 16 19:12:21 UTC 2024 - Ben Greiner + +- Update to 1.26.4 + * NumPy 1.26.4 is a maintenance release that fixes bugs and + regressions discovered after the 1.26.3 release. The Python + versions supported by this release are 3.9-3.12. This is the + last planned release in the 1.26.x series. + * BUG: Restore missing asstr import + * MAINT: prepare 1.26.x for further development + * BUG: numpy.array_api: fix linalg.cholesky upper decomp... + * MAINT, BLD: Fix unused inline functions warnings on clang + * TST: Fix test_numeric on riscv64 + * MAINT: add newaxis to __all__ in numpy.array_api + * BUG: Use large file fallocate on 32 bit linux platforms + * TST: Fix test_warning_calls on Python 3.12 + * TST: Bump pytz to 2023.3.post1 + * BUG: Fix AVX512 build flags on Intel Classic Compiler + * BLD: fix potential issue with escape sequences in __config__.py + * BLD: unvendor meson-python on 1.26.x and upgrade to + meson-python... + * MAINT: Include header defining backtrace + * BUG: Fix np.quantile([Fraction(2,1)], 0.5) (#24711) +- Release 1.26.3 + ## Compatibility + * f2py will no longer accept ambiguous -m and .pyf CLI + combinations. When more than one .pyf file is passed, an error + is raised. When both -m and a .pyf is passed, a warning is + emitted and the -m provided name is ignored. + ## Improvements + * f2py now handles common blocks which have kind specifications + from modules. This further expands the usability of intrinsics + like iso_fortran_env and iso_c_binding. + ## Pull requests merged + * MAINT: prepare 1.26.x for further development + * TYP: add None to __getitem__ in numpy.array_api + * BLD,BUG: quadmath required where available [f2py] + * BUG: alpha doesn't use REAL(10) + * BUG: Fix FP overflow error in division when the divisor is + scalar + * MAINT: Pin scipy-openblas version. + * BUG: Fix f2py to enable use of string optional inout argument + * BUG: Fix -fsanitize=alignment issue in + numpy/_core/src/multiarray/arraytypes.c.src + * TST: Explicitly pass NumPy path to cython during tests (also... + * BUG: fix issues with newaxis and linalg.solve in + numpy.array_api + * BUG: Disallow shadowed modulenames + * BUG: Handle common blocks with kind specifications from modules + * BUG: Fix moving compiled executable to root with f2py -c on + Windows + * BUG: Fix single to half-precision conversion on PPC64/VSX3 + * TST: f2py: fix issue in test skip condition + * Revert "MAINT: Pin scipy-openblas version." + * MAINT: do not use long type + * TST: PyPy needs another gc.collect on latest versions + * MAINT: Bump conda-incubator/setup-miniconda from 2.2.0 to 3.0.1 + * BLD: update vendored Meson for AIX shared library fix + * MAINT: Init base in cpu_avx512_kn + * BUG: Fix failing test_features on SapphireRapids + * BUG: Fix non-contiguous memory load when ARM/Neon is enabled + * MAINT,BUG: Never import distutils above 3.12 [f2py] + * MAINT: make the import-time check for old Accelerate more + specific + * MAINT: Bump actions/setup-node and + larsoner/circleci-artifacts-redirector-action + * BUG: avoid seg fault from OOB access in RandomState.set_state() + * BUG: Fix two errors related to not checking for failed + allocations + * BUG: Fix regression with f2py wrappers when modules and + subroutines... + * BUG: Fix build issues on SPR + * BLD: fix uninitialized variable warnings from + simd/neon/memory.h + * BUG: Handle iso_c_type mappings more consistently + * BUG: Fix module name bug in signature files [urgent] [f2py] + * BUG: Handle .pyf.src and fix SciPy [urgent] + * DOC: f2py rewrite with meson details + * BUG: Add external library handling for meson [f2py] + * MAINT: Run f2py's meson backend with the same python that + ran... + * MAINT: Update numpy/f2py/_backends from main. + * MAINT: Easy updates of f2py/*.py from main. + * MAINT: Update crackfortran.py and f2py2e.py from main + ------------------------------------------------------------------- Thu Mar 28 13:54:34 UTC 2024 - Fabian Vogt diff --git a/python-numpy.spec b/python-numpy.spec index 193d4cf..5c6dbc4 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -17,8 +17,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define ver 1.26.2 -%define _ver 1_26_2 +%define ver 1.26.4 +%define _ver 1_26_4 %define pname python-numpy %define plainpython python %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') @@ -93,10 +93,9 @@ Patch3: 0001-feature-module-Fix-handling-of-multiple-conflicts-pe.patch BuildRequires: %{python_module Cython >= 3.0} BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module devel} -BuildRequires: %{python_module meson-python >= 0.13} +BuildRequires: %{python_module meson-python >= 0.15 with %python-meson-python < 0.16} BuildRequires: %{python_module pip} BuildRequires: %{python_module pyproject-metadata >= 0.7.1} -BuildRequires: %{python_module wheel} BuildRequires: cmake %if 0%{?suse_version} <= 1600 BuildRequires: gcc12 @@ -198,8 +197,15 @@ This package contains files for developing applications using numpy. %prep %autosetup -p1 -n numpy-%{version} # Fix non-executable scripts -sed -i '1s/^#!.*$//' numpy/{compat/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 +sed -i '1{/^#!/d}'\ + numpy/{distutils,f2py,ma,matrixlib,testing}/setup.py \ + numpy/distutils/{conv_template,cpuinfo,from_template,system_info}.py \ + numpy/f2py/{__init__,cfuncs,diagnose,crackfortran,f2py2e,rules}.py \ + numpy/random/_examples/cython/extending{,_distributions}.pyx \ + numpy/testing/print_coercion_tables.py +chmod -x \ + numpy/f2py/{crackfortran,f2py2e,rules}.py \ + numpy/testing/{print_coercion_tables,setup}.py # force cythonization rm -f PKG-INFO