- 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
OBS-URL: https://build.opensuse.org/request/show/1168946
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=155
- Update to 1.24.0
* The NumPy 1.24.0 release continues the ongoing work to improve
the handling and promotion of dtypes, increase the execution
speed, and clarify the documentation. There are also a large
number of new and expired deprecations due to changes in
promotion and cleanups. This might be called a deprecation
release. Highlights are:
- Many new deprecations, check them out.
- Many expired deprecations,
- New F2PY features and fixes.
- New “dtype” and “casting” keywords for stacking functions.
* For a detailed description see
https://numpy.org/doc/stable/release/1.24.0-notes.html
- Add numpy-distutils-ignore.patch gh#numpy/numpy#22828
- Fix running the tests: Actually fail on errors
- Support builds without any primary python3 package (:backports)
OBS-URL: https://build.opensuse.org/request/show/1043806
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=111
- update to version 1.18.0:
+ Highlights
* The C-API for ``numpy.random`` has been defined and documented.
* Basic infrastructure for linking with 64 bit BLAS and LAPACK libraries.
* Many documentation improvements.
+ New functions
* Multivariate hypergeometric distribution added to ``numpy.random``
+ Deprecations
* ``np.fromfile`` and ``np.fromstring`` will error on bad data
* Deprecate non-scalar arrays as fill values in ``ma.fill_value``
* Deprecate ``PyArray_As1D``, ``PyArray_As2D``
* Deprecate ``np.alen``
* Deprecate the financial functions
* The ``axis`` argument to ``numpy.ma.mask_cols`` and ``numpy.ma.mask_row`` is deprecated
+ Expired deprecations
* ``PyArray_As1D`` and ``PyArray_As2D`` have been removed in favor of
``PyArray_AsCArray``
* ``np.rank`` has been removed. This was deprecated in NumPy 1.10
and has been replaced by ``np.ndim``.
* The deprecation of ``expand_dims`` out-of-range axes in 1.13.0 has
expired.
* ``PyArray_FromDimsAndDataAndDescr`` and ``PyArray_FromDims`` have been
removed (they will always raise an error). Use ``PyArray_NewFromDescr``
and ``PyArray_SimpleNew`` instead.
* ``numeric.loads``, ``numeric.load``, ``np.ma.dump``,
``np.ma.dumps``, ``np.ma.load``, ``np.ma.loads`` are removed,
use ``pickle`` methods instead
* ``arrayprint.FloatFormat``, ``arrayprint.LongFloatFormat`` has been removed,
use ``FloatingFormat`` instead
* ``arrayprint.ComplexFormat``, ``arrayprint.LongComplexFormat`` has been
removed, use ``ComplexFloatingFormat`` instead
* ``arrayprint.StructureFormat`` has been removed, use ``StructureVoidFormat``
instead
* ``np.testing.rand`` has been removed. This was deprecated in NumPy 1.11
and has been replaced by ``np.random.rand``.
* Class ``SafeEval`` in ``numpy/lib/utils.py`` has been removed.
This was deprecated in NumPy 1.10. Use ``np.safe_eval`` instead.
* Remove deprecated support for boolean and empty condition lists in
``np.select``
* Array order only accepts 'C', 'F', 'A', and 'K'. More permissive options
were deprecated in NumPy 1.11.
* np.linspace parameter ``num`` must be an integer. Deprecated in NumPy 1.12.
* UFuncs with multiple outputs must use a tuple for the ``out`` kwarg. This
finishes a deprecation started in NumPy 1.10.
* The files ``numpy/testing/decorators.py``, ``numpy/testing/noseclasses.py``
and ``numpy/testing/nosetester.py`` have been removed. They were never
meant to be public (all relevant objects are present in the
``numpy.testing`` namespace), and importing them has given a deprecation
warning since NumPy 1.15.0
+ Compatibility notes
* `numpy.lib.recfunctions.drop_fields` can no longer return None
* ``numpy.argmin/argmax/min/max`` returns ``NaT`` if it exists in array
* ``np.can_cast(np.uint64, np.timedelta64, casting='safe')`` is now ``False``
* Changed random variate stream from ``numpy.random.Generator.integers``
* Add more ufunc loops for ``datetime64``, ``timedelta64``
* Moved modules in ``numpy.random``
+ C API changes
* ``PyDataType_ISUNSIZED(descr)`` now returns False for structured datatypes
+ New Features
* Add our own ``*.pxd`` cython import file
* A tuple of axes can now be input to ``expand_dims``
* Support for 64-bit OpenBLAS
* Add ``--f2cmap`` option to F2PY
+ Improvements
* Different C numeric types of the same size have unique names
* ``argwhere`` now produces a consistent result on 0d arrays
* Add ``axis`` argument for ``random.permutation`` and ``random.shuffle``
* ``method`` keyword argument for ``np.random.multivariate_normal``
* Add complex number support for ``numpy.fromstring``
* ``numpy.unique`` has consistent axes order when ``axis`` is not None
* ``numpy.matmul`` with boolean output now converts to boolean values
* ``numpy.random.randint`` produced incorrect value when the range was ``2**32``
* Add complex number support for ``numpy.fromfile``
* ``std=c99`` added if compiler is named ``gcc``
+ Changes
* ``NaT`` now sorts to the end of arrays
* Incorrect ``threshold`` in ``np.set_printoptions`` raises ``TypeError`` or ``ValueError``
* Warn when saving a dtype with metadata
* ``numpy.distutils`` append behavior changed for LDFLAGS and similar
* Remove ``numpy.random.entropy`` without a deprecation
* Add options to quiet build configuration and build with ``-Werror``
OBS-URL: https://build.opensuse.org/request/show/761226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=47