Path to this page:
Subject: CVS commit: pkgsrc/math/py-numpy
From: Adam Ciarcinski
Date: 2021-11-02 19:48:28
Message id: 20211102184828.71BD1FAEC@cvs.NetBSD.org
Log Message:
py-numpy: updated to 1.21.3
1.21.0
New functions
Add PCG64DXSM BitGenerator
Deprecations
The .dtype attribute must return a dtype
Inexact matches for numpy.convolve and numpy.correlate are deprecated
np.typeDict has been formally deprecated
Exceptions will be raised during array-like creation
Four ndarray.ctypes methods have been deprecated
Expired deprecations
Remove deprecated PolyBase and unused PolyError and PolyDomainError
Compatibility notes
Error type changes in universal functions
__array_ufunc__ argument validation
__array_ufunc__ and additional positional arguments
Validate input values in Generator.uniform
/usr/include removed from default include paths
Changes to comparisons with dtype=...
Changes to dtype and signature arguments in ufuncs
Ufunc signature=... and dtype= generalization and casting
Distutils forces strict floating point model on clang
C API changes
Use of ufunc->type_resolver and “type tuple”
New Features
Added a mypy plugin for handling platform-specific numpy.number precisions
Let the mypy plugin manage extended-precision numpy.number subclasses
New min_digits argument for printing float values
f2py now recognizes Fortran abstract interface blocks
BLAS and LAPACK configuration via environment variables
A runtime-subcriptable alias has been added for ndarray
Improvements
Arbitrary period option for numpy.unwrap
np.unique now returns single NaN
Generator.rayleigh and Generator.geometric performance improved
Placeholder annotations have been improved
Performance improvements
Improved performance in integer division of NumPy arrays
Improve performance of np.save and np.load for small arrays
Changes
numpy.piecewise output class now matches the input class
Enable Accelerate Framework
Files: