- Update to 2.2.2
* New functions matvec and vecmat
* Many improved annotations
* Improved support for the new StringDType
* Improved support for free threaded Python
* Fixes for f2py
## Deprecations
* _add_newdoc_ufunc is now deprecated. ufunc.__doc__ = newdoc should
be used instead.
## Expired deprecations
* bool(np.array([])) and other empty arrays will now raise an error.
Use arr.size > 0 instead to check whether an array has no elements.
## Compatibility notes
* numpy.cov now properly transposes single-row (2d array) design
matrices when rowvar=False. Previously, single-row design matrices
would return a scalar in this scenario, which is not correct, so
this is a behavior change and an array of the appropriate shape
will now be returned.
## New Features
* New functions for matrix-vector and vector-matrix products
* np.complexfloating[T, T] can now also be written as np.complexfloating[T]
* UFuncs now support __dict__ attribute and allow overriding __doc__
(either directly or via ufunc.__dict__["__doc__"]). __dict__ can be
used to also override other properties, such as __module__ or
__qualname__.
* The “nbit” type parameter of np.number and its subtypes now defaults
to typing.Any. This way, type-checkers will infer annotations such
as x: np.floating as x: np.floating[Any], even in strict mode.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=182
- update to 2.1.3:
* #27512: MAINT: prepare 2.1.x for further development
* #27537: MAINT: Bump actions/cache from 4.0.2 to 4.1.1
* #27538: MAINT: Bump pypa/cibuildwheel from 2.21.2 to 2.21.3
* #27539: MAINT: MSVC does not support #warning directive
* #27543: BUG: Fix user dtype can-cast with python scalar during promotion
* #27561: DEV: bump python to 3.12 in environment.yml
* #27562: BLD: update vendored Meson to 1.5.2
* #27563: BUG: weighted quantile for some zero weights (#27549)
* #27565: MAINT: Use miniforge for macos conda test.
* #27566: BUILD: satisfy gcc-13 pendantic errors
* #27569: BUG: handle possible error for PyTraceMallocTrack
* #27570: BLD: start building Windows free-threaded wheels [wheel build]
* #27571: BUILD: vendor tempita from Cython
* #27574: BUG: Fix warning "differs in levels of indirection" in npy_atomic.h...
* #27592: MAINT: Update Highway to latest
* #27593: BUG: Adjust numpy.i for SWIG 4.3 compatibility
* #27616: BUG: Fix Linux QEMU CI workflow
* #27668: BLD: Do not set __STDC_VERSION__ to zero during build
* #27669: ENH: fix wasm32 runtime type error in numpy._core
* #27672: BUG: Fix a reference count leak in npy_find_descr_for_scalar.
* #27673: BUG: fixes for StringDType/unicode promoters
OBS-URL: https://build.opensuse.org/request/show/1221641
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=173
* #27333: MAINT: prepare 2.1.x for further development
* #27400: BUG: apply critical sections around populating the dispatch cache
* #27406: BUG: Stub out get_build_msvc_version if distutils.msvccompiler...
* #27416: BUILD: fix missing include for std::ptrdiff_t for C++23 language...
* #27433: BLD: pin setuptools to avoid breaking numpy.distutils
* #27437: BUG: Allow unsigned shift argument for np.roll
* #27439: BUG: Disable SVE VQSort
* #27471: BUG: rfftn axis bug
* #27479: BUG: Fix extra decref of PyArray_UInt8DType.
* #27480: CI: use PyPI not scientific-python-nightly-wheels for CI doc...
* #27481: MAINT: Check for SVE support on demand
* #27484: BUG: initialize the promotion state to be weak
* #27501: MAINT: Bump pypa/cibuildwheel from 2.20.0 to 2.21.2
* #27506: BUG: avoid segfault on bad arguments in ndarray.__array_function__
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=168
- Update to 2.1.0
* Support for Python 3.13.
* Preliminary support for free threaded Python 3.13.
* Support for the array-api 2023.12 standard.
## New functions
* A new function np.unstack(array, axis=...) was added, which
splits an array into a tuple of arrays along an axis. It serves
as the inverse of numpy.stack. (gh-26579)
## Deprecations
* The fix_imports keyword argument in numpy.save is deprecated.
Since NumPy 1.17, numpy.save uses a pickle protocol that no
longer supports Python 2, and ignored fix_imports keyword. This
keyword is kept only for backward compatibility. It is now
deprecated. (gh-26452)
* Passing non-integer inputs as the first argument of bincount is
now deprecated, because such inputs are silently cast to
integers with no warning about loss of precision. (gh-27076)
## Expired deprecations
* Scalars and 0D arrays are disallowed for numpy.nonzero and
numpy.ndarray.nonzero. (gh-26268)
* set_string_function internal function was removed and
PyArray_SetStringFunction was stubbed out. (gh-26611)
## C API changes
* API symbols now hidden but customizable
* Many shims removed from npy_3kcompat.h
* New PyUFuncObject field process_core_dims_func
## New Features
* Preliminary Support for Free-Threaded CPython 3.13
* f2py can generate freethreading-compatible C extensions
## Improvements
* histogram auto-binning now returns bin sizes >=1 for integer
input data
* ndarray shape-type parameter is now covariant and bound to
tuple[int, ...]
* np.quantile with method closest_observation chooses nearest
even order statistic
* lapack_lite is now thread safe
* The numpy.printoptions context manager is now thread and
async-safe
* Type hinting numpy.polynomial
* Improved numpy.dtypes type hints
## Performance improvements and changes
* ma.cov and ma.corrcoef are now significantly faster
## Changes
* ma.corrcoef may return a slightly different result
* Cast-safety fixes in copyto and full
- Release 2.0.1
## Improvements
* np.quantile with method closest_observation chooses nearest
even order statistic
OBS-URL: https://build.opensuse.org/request/show/1198038
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=165
* Adds support for array parameter declaration in fortran...
* Added ``bitwise_count`` UFuncs
* Add binding for random pyx files
* Use AVX512-FP16 SVML content for float16 umath functions
* allow int sequences as shape arguments in numpy.memmap
* Add .mT attribute for arrays
* Create complex scalars from real and imaginary parts
* add copy parameter for api.reshape function
* make use of locals() in a comprehension fully compatible...
* Add array API standard v2022.12 support to numpy.array_api
* Change string to bool conversions to be consistent with...
* Allow np.info on non-hashable objects with a dtype
* let zeros, empty, and empty_like accept dtype classes
* Bump C-ABI to 2 but accept older NumPy if compiled against...
* Use high accuracy SVML for double precision umath functions
* expose PyUFunc_GiveFloatingpointErrors in the dtype API
* PyObject_IsTrue and PyObject_Not error handling in setflags
* array2string does not add signs for positive integers.
* Vectorize np.partition and np.argpartition using AVX-512
* Create helper for conversion to arrays
* Add size check for threaded array assignment
* Finalize ``fastCopyAndTranpose`` and other old C-funcs/members...
* assert_array_less should report max violations instead of...
* Introduce tracer for enabled CPU targets on each optimized...
* Extend np.add ufunc to work with unicode and byte dtypes
* Add find/rfind ufuncs for unicode and byte dtypes
* Make ``intp`` ``ssize_t`` and introduce characters nN
* Add isdigit/isspace/isdecimal/isnumeric ufuncs for string...
* DType API slot for descriptor finalization before array...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=161
- 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.26.2:
* TYP: Trim down the ``_NestedSequence.__getitem__`` signature
* BUG: fix choose refcount leak
* TST: fix running the test suite in builds without BLAS/LAPACK
* BUG: random: Fix generation of nan by dirichlet.
* TST: fix distutils tests for deprecations in recent setuptools...
* MAINT: Remove versioneer
* MAINT: Pin upper version of sphinx.
* ENH: Add prefix to _ALIGN Macro
* BUG: cleanup warnings [skip azp][skip circle][skip travis][skip...
* BUG: ``asv dev`` has been removed, use ``asv run``.
* BUG: Fix meson build failure due to unchanged inplace auto-generated...
* BUG: fix issue with git-version script, needs a shebang to run
* BUG: Use a default assignment for git_hash [skip ci]
* BUG: fix NPY_cast_info error handling in choose
* BUG: Fix common block handling in f2py
* BUG: Fix assumed length f2py regression
* MAINT: Harmonize fortranobject
* TYP: add kind argument to numpy.isin type specification
* BUG: fix comparisons between masked and unmasked structured arrays
* ENH: Adopt new macOS Accelerate BLAS/LAPACK Interfaces, including...
* TYP: Add the missing ``casting`` keyword to ``np.clip``
* TST: convert cython test from setup.py to meson
* MAINT: Fixup ``fromnumeric.pyi``
* BUG, ENH: Fix ``iso_c_binding`` type maps
* TYP: Allow ``binary_repr`` to accept any object
* TYP: Explicitly declare ``dtype`` and ``generic`` hashable
* ENH: Refactor the typing "reveal" tests using `typing.assert_type`
* ENH: ``meson`` backend for ``f2py``
* MAINT: Refactor partial load Workaround for Clang
OBS-URL: https://build.opensuse.org/request/show/1127600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=122
* TYP: Trim down the ``_NestedSequence.__getitem__`` signature
* BUG: fix choose refcount leak
* TST: fix running the test suite in builds without BLAS/LAPACK
* BUG: random: Fix generation of nan by dirichlet.
* TST: fix distutils tests for deprecations in recent setuptools...
* MAINT: Remove versioneer
* MAINT: Pin upper version of sphinx.
* ENH: Add prefix to _ALIGN Macro
* BUG: cleanup warnings [skip azp][skip circle][skip travis][skip...
* BUG: ``asv dev`` has been removed, use ``asv run``.
* BUG: Fix meson build failure due to unchanged inplace auto-generated...
* BUG: fix issue with git-version script, needs a shebang to run
* BUG: Use a default assignment for git_hash [skip ci]
* BUG: fix NPY_cast_info error handling in choose
* BUG: Fix common block handling in f2py
* BUG: Fix assumed length f2py regression
* MAINT: Harmonize fortranobject
* TYP: add kind argument to numpy.isin type specification
* BUG: fix comparisons between masked and unmasked structured arrays
* ENH: Adopt new macOS Accelerate BLAS/LAPACK Interfaces, including...
* TYP: Add the missing ``casting`` keyword to ``np.clip``
* TST: convert cython test from setup.py to meson
* MAINT: Fixup ``fromnumeric.pyi``
* BUG, ENH: Fix ``iso_c_binding`` type maps
* TYP: Allow ``binary_repr`` to accept any object
* TYP: Explicitly declare ``dtype`` and ``generic`` hashable
* ENH: Refactor the typing "reveal" tests using `typing.assert_type`
* ENH: ``meson`` backend for ``f2py``
* MAINT: Refactor partial load Workaround for Clang
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=143
- limit to Cython < 3
* Change to a non-deprecated function from hypothesis.
* Ignore DeprecationWarning from pkg_resources.
- changes from version 1.22.2 (CVE-2021-41495, bsc#1193911):
* Support Python >= 3.9.8 changes.
- update to 1.21.0 (bsc#1193913, CVE-2021-33430, bsc#1193907,
CVE-2021-41496):
* BUG: Fix failing mypy test in 1.20.x.
* BUG: Fix small issues found with pytest-leaks
* Annotations for NumPy functions. This work is ongoing and
* 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
* 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
* Extensive documentation improvements comprising some 185 PR
merges. This work is ongoing and part of the larger project to
* Further cleanups related to removing Python 2.7. This improves
- Fix hpc for multiflavors (needs gh#openSUSE/hpc#3)
- update to version 1.17.3 (bsc#1149203, jsc#SLE-8532):
when either ``stable`` or ``mergesort`` is passed as the method.
- Update to version 1.16.1 (jsc#SLE-8532, bsc#1149203):
* This Fixes CVE-2019-6446 and obsoletes
* CVE-2019-6446_numpy_load.patch in older dists (bsc#1122208)
- add s390 to the ifarch conditional to build without openblas
Numpy assumes either libblas.so or libcblas.so to contain all CBLAS
and BLAS functions. However the cblas-devel in Leap and Tumbleweed
* gh-5231: fix build in c99 mode
* Numerous performance improvements in various areas, most
OBS-URL: https://build.opensuse.org/request/show/1110295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=120
* Change to a non-deprecated function from hypothesis.
* Ignore DeprecationWarning from pkg_resources.
- changes from version 1.22.2 (CVE-2021-41495, bsc#1193911):
* Support Python >= 3.9.8 changes.
- update to 1.21.0 (bsc#1193913, CVE-2021-33430, bsc#1193907,
CVE-2021-41496):
* BUG: Fix failing mypy test in 1.20.x.
* BUG: Fix small issues found with pytest-leaks
* Annotations for NumPy functions. This work is ongoing and
* 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
* 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
* Extensive documentation improvements comprising some 185 PR
merges. This work is ongoing and part of the larger project to
* Further cleanups related to removing Python 2.7. This improves
- Fix hpc for multiflavors (needs gh#openSUSE/hpc#3)
- update to version 1.17.3 (bsc#1149203, jsc#SLE-8532):
when either ``stable`` or ``mergesort`` is passed as the method.
- Update to version 1.16.1 (jsc#SLE-8532, bsc#1149203):
* This Fixes CVE-2019-6446 and obsoletes
* CVE-2019-6446_numpy_load.patch in older dists (bsc#1122208)
- add s390 to the ifarch conditional to build without openblas
Numpy assumes either libblas.so or libcblas.so to contain all CBLAS
and BLAS functions. However the cblas-devel in Leap and Tumbleweed
* gh-5231: fix build in c99 mode
* Numerous performance improvements in various areas, most
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=139
- Use %pyproject_wheel and %pyproject_install macros
- Disable broken tests in armv7l (bsc#1212710)
- limit to Cython < 3
- 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
- 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
OBS-URL: https://build.opensuse.org/request/show/1104294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=119
* 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
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=136
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=132
- 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
OBS-URL: https://build.opensuse.org/request/show/1099876
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=131
- Update to 1.24.1
* NumPy 1.24.1 is a maintenance release that fixes bugs and
regressions discovered after the 1.24.0 release. The Python
versions supported by this release are 3.8-3.11.
* #22820: BLD: add workaround in setup.py for newer setuptools
* #22830: BLD: CIRRUS_TAG redux
* #22831: DOC: fix a couple typos in 1.23 notes
* #22832: BUG: Fix refcounting errors found using pytest-leaks
* #22834: BUG, SIMD: Fix invalid value encountered in several
ufuncs
* #22837: TST: ignore more np.distutils.log imports
* #22839: BUG: Do not use getdata() in np.ma.masked_invalid
* #22847: BUG: Ensure correct behavior for rows ending in
delimiter in...
* #22848: BUG, SIMD: Fix the bitmask of the boolean comparison
* #22857: BLD: Help raspian arm + clang 13 about
__builtin_mul_overflow
* #22858: API: Ensure a full mask is returned for masked_invalid
* #22866: BUG: Polynomials now copy properly (#22669)
* #22867: BUG, SIMD: Fix memory overlap in ufunc comparison loops
* #22868: BUG: Fortify string casts against floating point
warnings
* #22875: TST: Ignore nan-warnings in randomized out tests
* #22883: MAINT: restore npymath implementations needed for
freebsd
* #22884: BUG: Fix integer overflow in in1d for mixed integer
dtypes #22877
* #22887: BUG: Use whole file for encoding checks with
charset_normalizer.
- Drop numpy-distutils-ignore.patch fixed upstream
OBS-URL: https://build.opensuse.org/request/show/1046307
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=112
- 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 1.21.6:
* Do not forward `__(deep)copy__` calls of `_GenericAlias`...
* Fix float16 einsum fastpaths using wrong tempvar
* Print os error message when the executable not exist
* Force ``npymath` ` to respect ``npy_longdouble``
* Fix failure to create aligned, empty structured dtype
* provide a convenience function to replace npy_load_module
* update wheel to version that supports python3.10
* Clear errors correctly in F2PY conversions
* add a warningfilter to fix pytest workflow.
* Help boost::python libraries at least not crash
- drop bpo-45167-fixes.patch (upstream)
OBS-URL: https://build.opensuse.org/request/show/979707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=109
* Do not forward `__(deep)copy__` calls of `_GenericAlias`...
* Fix float16 einsum fastpaths using wrong tempvar
* Print os error message when the executable not exist
* Force ``npymath` ` to respect ``npy_longdouble``
* Fix failure to create aligned, empty structured dtype
* provide a convenience function to replace npy_load_module
* update wheel to version that supports python3.10
* Clear errors correctly in F2PY conversions
* add a warningfilter to fix pytest workflow.
* Help boost::python libraries at least not crash
- drop bpo-45167-fixes.patch (upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=105
- 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
- update to 1.20.3:
* 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/request/show/896981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=100
* 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
- update to 1.20.2:
* 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/request/show/891397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=99
* 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
- Do not use alternatives on HPC as it is pain to get it working
- Also still install f2py<PYTHON_MAJOR> that is used by many other
depending software
- Use update-alternatives for /usr/bin/f2py
- update to version 1.18.2:
* #15675: TST: move _no_tracing to testing._private
* #15676: MAINT: Large overhead in some random functions
* #15677: TST: Do not create gfortran link in azure Mac testing.
* #15679: BUG: Added missing error check in ndarray.__contains__
* #15722: MAINT: use list-based APIs to call subprocesses
* #15734: BUG: fix logic error when nm fails on 32-bit
- update to version 1.18.1
* The cython random extension test was not using a temporary
directory for building, resulting in a permission violation.
* Numpy distutils was appending -std=c99 to all C compiler runs,
leading to changed behavior and compile problems downstream.
That flag is now only applied when building numpy C code.
- 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
OBS-URL: https://build.opensuse.org/request/show/792356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=88
- 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
- Force cythonization to ensure build under different versions of
python
- disable tests TestF77ReturnCharacter and TestF90ReturnCharacter for s390x
https://github.com/numpy/numpy/issues/11831
to make the package build.
* s390x.patch
- Update to 1.17.2:
* #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/request/show/734807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=84
* #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
- use pypi.io as Source URL
- Don't include cblas-devel on SLES 12
- update to 1.11.1:
- #7506 BUG: Make sure numpy imports on python 2.6 when nose is unavailable.
- #7530 BUG: Floating exception with invalid axis in np.lexsort.
- #7535 BUG: Extend glibc complex trig functions blacklist to glibc < 2.18.
- #7551 BUG: Allow graceful recovery for no compiler.
- #7558 BUG: Constant padding expected wrong type in constant_values.
- #7578 BUG: Fix OverflowError in Python 3.x. in swig interface.
- #7590 BLD: Fix configparser.InterpolationSyntaxError.
- #7597 BUG: Make np.ma.take work on scalars.
- #7608 BUG: linalg.norm(): Don't convert object arrays to float.
- #7638 BLD: Correct C compiler customization in system_info.py.
- #7654 BUG: ma.median of 1d array should return a scalar.
- #7656 BLD: Remove hardcoded Intel compiler flag -xSSE4.2.
- #7660 BUG: Temporary fix for str(mvoid) for object field types.
- #7665 BUG: Fix incorrect printing of 1D masked arrays.
- #7670 BUG: Correct initial index estimate in histogram.
- #7671 BUG: Boolean assignment no GIL release when transfer needs API.
- #7676 BUG: Fix handling of right edge of final histogram bin.
- #7680 BUG: Fix np.clip bug NaN handling for Visual Studio 2015.
- #7724 BUG: Fix segfaults in np.random.shuffle.
- #7731 MAINT: Change mkl_info.dir_env_var from MKL to MKLROOT.
OBS-URL: https://build.opensuse.org/request/show/426983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=50
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.