- Update to 1.21.2
* #19497: MAINT: set Python version for 1.21.x to <3.11
* #19533: BUG: Fix an issue wherein importing numpy.typing could raise
* #19646: MAINT: Update Cython version for Python 3.10.
* #19648: TST: Bump the python 3.10 test version from beta4 to rc1
* #19651: TST: avoid distutils.sysconfig in runtests.py
* #19652: MAINT: add missing dunder method to nditer type hints
* #19656: BLD, SIMD: Fix testing extra checks when -Werror isn't applicable...
* #19657: BUG: Remove logical object ufuncs with bool output
* #19658: MAINT: Include .coveragerc in source distributions to support...
* #19659: BUG: Fix bad write in masked iterator output copy paths
* #19660: ENH: Add support for windows on arm targets
* #19661: BUG: add base to templated arguments for platlib
* #19662: BUG,DEP: Non-default UFunc signature/dtype usage should be deprecated
* #19666: MAINT: Add Python 3.10 to supported versions.
* #19668: TST,BUG: Sanitize path-separators when running runtest.py
* #19671: BLD: load extra flags when checking for libflame
* #19676: BLD: update circleCI docker image
* #19677: REL: Prepare for 1.21.2 release.
- Release 1.21.1
* #19311: REV,BUG: Replace NotImplemented with typing.Any
* #19324: MAINT: Fixed the return-dtype of ndarray.real and imag
* #19330: MAINT: Replace "dtype[Any]" with dtype in the definiton of...
* #19342: DOC: Fix some docstrings that crash pdf generation.
* #19343: MAINT: bump scipy-mathjax
* #19347: BUG: Fix arr.flat.index for large arrays and big-endian machines
* #19348: ENH: add numpy.f2py.get_include function
* #19349: BUG: Fix reference count leak in ufunc dtype handling
* #19350: MAINT: Annotate missing attributes of np.number subclasses
* #19351: BUG: Fix cast safety and comparisons for zero sized voids
OBS-URL: https://build.opensuse.org/request/show/920368
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=95
Note that this requires the new python-hypothesis which was submitted
in SR #904558 . I tested that they build together correctly in
https://build.opensuse.org/package/show/home:alarrosa:branches:openSUSE:Factory:Rings:1-MinimalX/python-numpy
If both 904558 and this SR are approved and submitted together to
Factory, that would be great.
- 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
OBS-URL: https://build.opensuse.org/request/show/904569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=91
* BUG: Correct datetime64 missing type overload for datetime.date...
* MAINT: Remove __all__ in favor of explicit re-exports
* BLD: Strip extra newline when dumping gfortran version on MacOS
* BUG: fix segfault in object/longdouble operations
* MAINT: Use towncrier build explicitly
* MAINT: Relax certain integer-type constraints
* MAINT: Remove unsafe unions and ABCs from return-annotations
* MAINT: Allow more recursion depth for scalar tests.
* BUG: Initialize the full nditer buffer in case of error
* BLD: remove unnecessary flag -faltivec on macOS
* MAINT, CI: treats _SIMD module build warnings as errors through...
* BUG: for MINGW, threads.h existence test requires GLIBC > 2.12
* BUG: Make changelog recognize gh- as a PR number prefix.
* REL, DOC: Prepare for the NumPy 1.20.3 release.
* BUG: Fix failing mypy test in 1.20.x.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=88
* MAINT: Update f2py from master.
* BUG: diagflat could overflow on windows or 32-bit platforms
* BUG: Fix refcount leak in f2py complex_double_from_pyobj.
* BUG: Fix tiny memory leaks when like= overrides are used
* BUG: Remove temporary change of descr/flags in VOID functions
* BUG: Segfault in nditer buffer dealloc for Object arrays
* BUG: Remove suspicious type casting
* BUG: remove nonsensical comparison of pointer < 0
* BUG: verify pointer against NULL before using it
* BUG: check if PyArray_malloc succeeded
* BUG: incorrect error fallthrough in nditer
* MAINT: Add annotations for dtype.__getitem__, __mul__ and…
* BUG: NameError in numpy.distutils.fcompiler.compaq
* BUG: Fixed where keyword for np.mean & np.var methods
* MAINT: Ensure that re-exported sub-modules are properly annotated
* BUG: Fix ma coercion list-of-ma-arrays if they do not cast to…
* BUG: Fix small valgrind-found issues
* BUG: Fix small issues found with pytest-leaks
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=86
- Update to version 1.20.1
* The distutils bug that caused problems with downstream projects
is fixed.
* The random.shuffle regression is fixed.
- Higlights for 1.20.0:
* Annotations for NumPy functions. This work is ongoing and
improvements can be expected pending feedback from users.
* Wider use of SIMD to increase execution speed of ufuncs. Much
work has been done in introducing universal functions that
will ease use of modern features across different hardware
platforms. This work is ongoing.
* Preliminary work in changing the dtype and casting
implementations in order to provide an easier path to
extending dtypes. This work is ongoing but enough has been
done to allow experimentation and feedback.
* Extensive documentation improvements comprising some 185 PR
merges. This work is ongoing and part of the larger project to
improve NumPy’s online presence and usefulness to new users.
* Further cleanups related to removing Python 2.7. This improves
code readability and removes technical debt.
* Preliminary support for the upcoming Cython 3.0.
- Full release notes at
https://numpy.org/doc/stable/release/1.20.0-notes.html
- Now requires Python >= 3.7 (NEP 29)
* Drop fix-py34-tests.patch
* Skip python36 build
- Drop s390x.patch -- The patch was applied for all big endian
architectures. Mark those tests appropriately in the check
section instead. gh#numpy/numpy#11831
- Skip two tests on ix86: gh#numpy/numpy#18387 gh#numpy/numpy#18388
OBS-URL: https://build.opensuse.org/request/show/870967
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=84
- 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
* #14418: BUG: Fix aradixsort indirect indexing.
* #14420: DOC: Fix a minor typo in dispatch documentation.
* #14421: BUG: test, fix regression in converting to ctypes
* #14430: BUG: Do not show Override module in private error classes.
* #14432: BUG: Fixed maximum relative error reporting in assert_allclose.
* #14433: BUG: Fix uint-overflow if padding with linear_ramp and negative...
* #14436: BUG: Update 1.17.x with 1.18.0-dev pocketfft.py.
- Add dep on pytest-xdist and use threaded tests execution
shaving around 400s on local build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=36
- Update to version 1.17.0
Highlights
* A new extensible random module along with four selectable random number
generators and improved seeding designed for use in parallel processes has
been added. The currently available bit generators are MT19937, PCG64,
Philox, and SFC64.
* NumPy's FFT implementation was changed from fftpack to pocketfft, resulting
in faster, more accurate transforms and better handling of datasets of
prime length.
* New radix sort and timsort sorting methods. It is currently not possible to
choose which will be used, but they are hardwired to the datatype and used
when either ``stable`` or ``mergesort`` is passed as the method.
* Overriding numpy functions is now possible by default.
- Python 2 support has been dropped
- Rebase numpy-buildfix.patch
OBS-URL: https://build.opensuse.org/request/show/719304
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=30
- update to version 1.16.3
NumPy 1.16.3 Release Notes:
The NumPy 1.16.3 release fixes bugs reported against the 1.16.2 release, and
also backports several enhancements from master that seem appropriate for a
release series that is the last to support Python 2.7. The wheels on PyPI are
linked with OpenBLAS v0.3.4+, which should fix the known threading issues
found in previous OpenBLAS versions.
Downstream developers building this release should use Cython >= 0.29.2 and,
if using OpenBLAS, OpenBLAS > v0.3.4.
The most noticeable change in this release is that unpickling object arrays
when loading *.npy or *.npz files now requires an explicit opt-in.
This backwards incompatible change was made in response to
CVE-2019-6446 <https://nvd.nist.gov/vuln/detail/CVE-2019-6446>_.
Compatibility notes
Unpickling while loading requires explicit opt-in
The functions np.load, and np.lib.format.read_array take an
allow_pickle keyword which now defaults to False in response to
CVE-2019-6446 <https://nvd.nist.gov/vuln/detail/CVE-2019-6446>_.
Improvements
Covariance in random.mvnormal cast to double
This should make the tolerance used when checking the singular values of the
covariance matrix more meaningful.
Changes
__array_interface__ offset now works as documented
The interface may use an offset value that was previously mistakenly
ignored.
OBS-URL: https://build.opensuse.org/request/show/703311
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=25