pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-numpy py-numpy: updated to 1.21.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de32d4a239ed
branches:  trunk
changeset: 768884:de32d4a239ed
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 02 18:48:28 2021 +0000

description:
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

diffstat:

 math/py-numpy/Makefile                                      |    7 +-
 math/py-numpy/PLIST                                         |  131 +++++++++++-
 math/py-numpy/distinfo                                      |    9 +-
 math/py-numpy/patches/patch-numpy_distutils_system__info.py |   90 --------
 4 files changed, 128 insertions(+), 109 deletions(-)

diffs (truncated from 569 to 300 lines):

diff -r 24b63c86cd74 -r de32d4a239ed math/py-numpy/Makefile
--- a/math/py-numpy/Makefile    Tue Nov 02 18:38:55 2021 +0000
+++ b/math/py-numpy/Makefile    Tue Nov 02 18:48:28 2021 +0000
@@ -1,14 +1,13 @@
-# $NetBSD: Makefile,v 1.83 2021/06/29 08:41:59 nia Exp $
+# $NetBSD: Makefile,v 1.84 2021/11/02 18:48:28 adam Exp $
 
-DISTNAME=      numpy-1.20.3
+DISTNAME=      numpy-1.21.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/numpy/}
 EXTRACT_SUFX=  .zip
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.numpy.org/
+HOMEPAGE=      https://www.numpy.org/
 COMMENT=       Array processing for numbers, strings, records, and objects
 LICENSE=       modified-bsd
 
diff -r 24b63c86cd74 -r de32d4a239ed math/py-numpy/PLIST
--- a/math/py-numpy/PLIST       Tue Nov 02 18:38:55 2021 +0000
+++ b/math/py-numpy/PLIST       Tue Nov 02 18:48:28 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.32 2021/05/03 17:15:22 adam Exp $
+@comment $NetBSD: PLIST,v 1.33 2021/11/02 18:48:28 adam Exp $
 bin/f2py${PYVERSSUFFIX}
 ${PLIST.py2x}bin/f2py2
 ${PLIST.py3x}bin/f2py3
@@ -27,6 +27,9 @@
 ${PYSITELIB}/numpy/_pytesttester.py
 ${PYSITELIB}/numpy/_pytesttester.pyc
 ${PYSITELIB}/numpy/_pytesttester.pyo
+${PYSITELIB}/numpy/_version.py
+${PYSITELIB}/numpy/_version.pyc
+${PYSITELIB}/numpy/_version.pyo
 ${PYSITELIB}/numpy/char.pyi
 ${PYSITELIB}/numpy/compat/__init__.py
 ${PYSITELIB}/numpy/compat/__init__.pyc
@@ -99,6 +102,7 @@
 ${PYSITELIB}/numpy/core/_umath_tests.so
 ${PYSITELIB}/numpy/core/arrayprint.py
 ${PYSITELIB}/numpy/core/arrayprint.pyc
+${PYSITELIB}/numpy/core/arrayprint.pyi
 ${PYSITELIB}/numpy/core/arrayprint.pyo
 ${PYSITELIB}/numpy/core/cversions.py
 ${PYSITELIB}/numpy/core/cversions.pyc
@@ -108,6 +112,7 @@
 ${PYSITELIB}/numpy/core/defchararray.pyo
 ${PYSITELIB}/numpy/core/einsumfunc.py
 ${PYSITELIB}/numpy/core/einsumfunc.pyc
+${PYSITELIB}/numpy/core/einsumfunc.pyi
 ${PYSITELIB}/numpy/core/einsumfunc.pyo
 ${PYSITELIB}/numpy/core/fromnumeric.py
 ${PYSITELIB}/numpy/core/fromnumeric.pyc
@@ -130,6 +135,8 @@
 ${PYSITELIB}/numpy/core/include/numpy/arrayobject.h
 ${PYSITELIB}/numpy/core/include/numpy/arrayscalars.h
 ${PYSITELIB}/numpy/core/include/numpy/halffloat.h
+${PYSITELIB}/numpy/core/include/numpy/libdivide/LICENSE.txt
+${PYSITELIB}/numpy/core/include/numpy/libdivide/libdivide.h
 ${PYSITELIB}/numpy/core/include/numpy/multiarray_api.txt
 ${PYSITELIB}/numpy/core/include/numpy/ndarrayobject.h
 ${PYSITELIB}/numpy/core/include/numpy/ndarraytypes.h
@@ -195,11 +202,11 @@
 ${PYSITELIB}/numpy/core/tests/_locales.pyo
 ${PYSITELIB}/numpy/core/tests/data/astype_copy.pkl
 ${PYSITELIB}/numpy/core/tests/data/recarray_from_file.fits
-${PYSITELIB}/numpy/core/tests/data/umath-validation-set-README
-${PYSITELIB}/numpy/core/tests/data/umath-validation-set-cos
-${PYSITELIB}/numpy/core/tests/data/umath-validation-set-exp
-${PYSITELIB}/numpy/core/tests/data/umath-validation-set-log
-${PYSITELIB}/numpy/core/tests/data/umath-validation-set-sin
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-README.txt
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-cos.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-exp.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-log.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-sin.csv
 ${PYSITELIB}/numpy/core/tests/examples/checks.pyx
 ${PYSITELIB}/numpy/core/tests/examples/setup.py
 ${PYSITELIB}/numpy/core/tests/test__exceptions.py
@@ -211,9 +218,15 @@
 ${PYSITELIB}/numpy/core/tests/test_api.py
 ${PYSITELIB}/numpy/core/tests/test_api.pyc
 ${PYSITELIB}/numpy/core/tests/test_api.pyo
+${PYSITELIB}/numpy/core/tests/test_argparse.py
+${PYSITELIB}/numpy/core/tests/test_argparse.pyc
+${PYSITELIB}/numpy/core/tests/test_argparse.pyo
 ${PYSITELIB}/numpy/core/tests/test_array_coercion.py
 ${PYSITELIB}/numpy/core/tests/test_array_coercion.pyc
 ${PYSITELIB}/numpy/core/tests/test_array_coercion.pyo
+${PYSITELIB}/numpy/core/tests/test_arraymethod.py
+${PYSITELIB}/numpy/core/tests/test_arraymethod.pyc
+${PYSITELIB}/numpy/core/tests/test_arraymethod.pyo
 ${PYSITELIB}/numpy/core/tests/test_arrayprint.py
 ${PYSITELIB}/numpy/core/tests/test_arrayprint.pyc
 ${PYSITELIB}/numpy/core/tests/test_arrayprint.pyo
@@ -412,6 +425,7 @@
 ${PYSITELIB}/numpy/distutils/checks/extra_avx512bw_mask.c
 ${PYSITELIB}/numpy/distutils/checks/extra_avx512dq_mask.c
 ${PYSITELIB}/numpy/distutils/checks/extra_avx512f_reduce.c
+${PYSITELIB}/numpy/distutils/checks/extra_vsx_asm.c
 ${PYSITELIB}/numpy/distutils/checks/test_flags.c
 ${PYSITELIB}/numpy/distutils/command/__init__.py
 ${PYSITELIB}/numpy/distutils/command/__init__.pyc
@@ -642,7 +656,6 @@
 ${PYSITELIB}/numpy/dual.py
 ${PYSITELIB}/numpy/dual.pyc
 ${PYSITELIB}/numpy/dual.pyo
-${PYSITELIB}/numpy/emath.pyi
 ${PYSITELIB}/numpy/f2py/__init__.py
 ${PYSITELIB}/numpy/f2py/__init__.pyc
 ${PYSITELIB}/numpy/f2py/__init__.pyi
@@ -718,6 +731,9 @@
 ${PYSITELIB}/numpy/f2py/tests/src/regression/inout.f90
 ${PYSITELIB}/numpy/f2py/tests/src/size/foo.f90
 ${PYSITELIB}/numpy/f2py/tests/src/string/char.f90
+${PYSITELIB}/numpy/f2py/tests/test_abstract_interface.py
+${PYSITELIB}/numpy/f2py/tests/test_abstract_interface.pyc
+${PYSITELIB}/numpy/f2py/tests/test_abstract_interface.pyo
 ${PYSITELIB}/numpy/f2py/tests/test_array_from_pyobj.py
 ${PYSITELIB}/numpy/f2py/tests/test_array_from_pyobj.pyc
 ${PYSITELIB}/numpy/f2py/tests/test_array_from_pyobj.pyo
@@ -822,54 +838,69 @@
 ${PYSITELIB}/numpy/lib/_iotools.pyo
 ${PYSITELIB}/numpy/lib/_version.py
 ${PYSITELIB}/numpy/lib/_version.pyc
+${PYSITELIB}/numpy/lib/_version.pyi
 ${PYSITELIB}/numpy/lib/_version.pyo
 ${PYSITELIB}/numpy/lib/arraypad.py
 ${PYSITELIB}/numpy/lib/arraypad.pyc
+${PYSITELIB}/numpy/lib/arraypad.pyi
 ${PYSITELIB}/numpy/lib/arraypad.pyo
 ${PYSITELIB}/numpy/lib/arraysetops.py
 ${PYSITELIB}/numpy/lib/arraysetops.pyc
+${PYSITELIB}/numpy/lib/arraysetops.pyi
 ${PYSITELIB}/numpy/lib/arraysetops.pyo
 ${PYSITELIB}/numpy/lib/arrayterator.py
 ${PYSITELIB}/numpy/lib/arrayterator.pyc
+${PYSITELIB}/numpy/lib/arrayterator.pyi
 ${PYSITELIB}/numpy/lib/arrayterator.pyo
 ${PYSITELIB}/numpy/lib/format.py
 ${PYSITELIB}/numpy/lib/format.pyc
+${PYSITELIB}/numpy/lib/format.pyi
 ${PYSITELIB}/numpy/lib/format.pyo
 ${PYSITELIB}/numpy/lib/function_base.py
 ${PYSITELIB}/numpy/lib/function_base.pyc
+${PYSITELIB}/numpy/lib/function_base.pyi
 ${PYSITELIB}/numpy/lib/function_base.pyo
 ${PYSITELIB}/numpy/lib/histograms.py
 ${PYSITELIB}/numpy/lib/histograms.pyc
+${PYSITELIB}/numpy/lib/histograms.pyi
 ${PYSITELIB}/numpy/lib/histograms.pyo
 ${PYSITELIB}/numpy/lib/index_tricks.py
 ${PYSITELIB}/numpy/lib/index_tricks.pyc
+${PYSITELIB}/numpy/lib/index_tricks.pyi
 ${PYSITELIB}/numpy/lib/index_tricks.pyo
 ${PYSITELIB}/numpy/lib/mixins.py
 ${PYSITELIB}/numpy/lib/mixins.pyc
+${PYSITELIB}/numpy/lib/mixins.pyi
 ${PYSITELIB}/numpy/lib/mixins.pyo
 ${PYSITELIB}/numpy/lib/nanfunctions.py
 ${PYSITELIB}/numpy/lib/nanfunctions.pyc
+${PYSITELIB}/numpy/lib/nanfunctions.pyi
 ${PYSITELIB}/numpy/lib/nanfunctions.pyo
 ${PYSITELIB}/numpy/lib/npyio.py
 ${PYSITELIB}/numpy/lib/npyio.pyc
+${PYSITELIB}/numpy/lib/npyio.pyi
 ${PYSITELIB}/numpy/lib/npyio.pyo
 ${PYSITELIB}/numpy/lib/polynomial.py
 ${PYSITELIB}/numpy/lib/polynomial.pyc
+${PYSITELIB}/numpy/lib/polynomial.pyi
 ${PYSITELIB}/numpy/lib/polynomial.pyo
 ${PYSITELIB}/numpy/lib/recfunctions.py
 ${PYSITELIB}/numpy/lib/recfunctions.pyc
 ${PYSITELIB}/numpy/lib/recfunctions.pyo
 ${PYSITELIB}/numpy/lib/scimath.py
 ${PYSITELIB}/numpy/lib/scimath.pyc
+${PYSITELIB}/numpy/lib/scimath.pyi
 ${PYSITELIB}/numpy/lib/scimath.pyo
 ${PYSITELIB}/numpy/lib/setup.py
 ${PYSITELIB}/numpy/lib/setup.pyc
 ${PYSITELIB}/numpy/lib/setup.pyo
 ${PYSITELIB}/numpy/lib/shape_base.py
 ${PYSITELIB}/numpy/lib/shape_base.pyc
+${PYSITELIB}/numpy/lib/shape_base.pyi
 ${PYSITELIB}/numpy/lib/shape_base.pyo
 ${PYSITELIB}/numpy/lib/stride_tricks.py
 ${PYSITELIB}/numpy/lib/stride_tricks.pyc
+${PYSITELIB}/numpy/lib/stride_tricks.pyi
 ${PYSITELIB}/numpy/lib/stride_tricks.pyo
 ${PYSITELIB}/numpy/lib/tests/__init__.py
 ${PYSITELIB}/numpy/lib/tests/__init__.pyc
@@ -954,18 +985,22 @@
 ${PYSITELIB}/numpy/lib/tests/test_utils.pyo
 ${PYSITELIB}/numpy/lib/twodim_base.py
 ${PYSITELIB}/numpy/lib/twodim_base.pyc
+${PYSITELIB}/numpy/lib/twodim_base.pyi
 ${PYSITELIB}/numpy/lib/twodim_base.pyo
 ${PYSITELIB}/numpy/lib/type_check.py
 ${PYSITELIB}/numpy/lib/type_check.pyc
+${PYSITELIB}/numpy/lib/type_check.pyi
 ${PYSITELIB}/numpy/lib/type_check.pyo
 ${PYSITELIB}/numpy/lib/ufunclike.py
 ${PYSITELIB}/numpy/lib/ufunclike.pyc
+${PYSITELIB}/numpy/lib/ufunclike.pyi
 ${PYSITELIB}/numpy/lib/ufunclike.pyo
 ${PYSITELIB}/numpy/lib/user_array.py
 ${PYSITELIB}/numpy/lib/user_array.pyc
 ${PYSITELIB}/numpy/lib/user_array.pyo
 ${PYSITELIB}/numpy/lib/utils.py
 ${PYSITELIB}/numpy/lib/utils.pyc
+${PYSITELIB}/numpy/lib/utils.pyi
 ${PYSITELIB}/numpy/lib/utils.pyo
 ${PYSITELIB}/numpy/linalg/__init__.py
 ${PYSITELIB}/numpy/linalg/__init__.pyc
@@ -1003,12 +1038,15 @@
 ${PYSITELIB}/numpy/ma/bench.pyo
 ${PYSITELIB}/numpy/ma/core.py
 ${PYSITELIB}/numpy/ma/core.pyc
+${PYSITELIB}/numpy/ma/core.pyi
 ${PYSITELIB}/numpy/ma/core.pyo
 ${PYSITELIB}/numpy/ma/extras.py
 ${PYSITELIB}/numpy/ma/extras.pyc
+${PYSITELIB}/numpy/ma/extras.pyi
 ${PYSITELIB}/numpy/ma/extras.pyo
 ${PYSITELIB}/numpy/ma/mrecords.py
 ${PYSITELIB}/numpy/ma/mrecords.pyc
+${PYSITELIB}/numpy/ma/mrecords.pyi
 ${PYSITELIB}/numpy/ma/mrecords.pyo
 ${PYSITELIB}/numpy/ma/setup.py
 ${PYSITELIB}/numpy/ma/setup.pyc
@@ -1086,27 +1124,35 @@
 ${PYSITELIB}/numpy/polynomial/__init__.pyo
 ${PYSITELIB}/numpy/polynomial/_polybase.py
 ${PYSITELIB}/numpy/polynomial/_polybase.pyc
+${PYSITELIB}/numpy/polynomial/_polybase.pyi
 ${PYSITELIB}/numpy/polynomial/_polybase.pyo
 ${PYSITELIB}/numpy/polynomial/chebyshev.py
 ${PYSITELIB}/numpy/polynomial/chebyshev.pyc
+${PYSITELIB}/numpy/polynomial/chebyshev.pyi
 ${PYSITELIB}/numpy/polynomial/chebyshev.pyo
 ${PYSITELIB}/numpy/polynomial/hermite.py
 ${PYSITELIB}/numpy/polynomial/hermite.pyc
+${PYSITELIB}/numpy/polynomial/hermite.pyi
 ${PYSITELIB}/numpy/polynomial/hermite.pyo
 ${PYSITELIB}/numpy/polynomial/hermite_e.py
 ${PYSITELIB}/numpy/polynomial/hermite_e.pyc
+${PYSITELIB}/numpy/polynomial/hermite_e.pyi
 ${PYSITELIB}/numpy/polynomial/hermite_e.pyo
 ${PYSITELIB}/numpy/polynomial/laguerre.py
 ${PYSITELIB}/numpy/polynomial/laguerre.pyc
+${PYSITELIB}/numpy/polynomial/laguerre.pyi
 ${PYSITELIB}/numpy/polynomial/laguerre.pyo
 ${PYSITELIB}/numpy/polynomial/legendre.py
 ${PYSITELIB}/numpy/polynomial/legendre.pyc
+${PYSITELIB}/numpy/polynomial/legendre.pyi
 ${PYSITELIB}/numpy/polynomial/legendre.pyo
 ${PYSITELIB}/numpy/polynomial/polynomial.py
 ${PYSITELIB}/numpy/polynomial/polynomial.pyc
+${PYSITELIB}/numpy/polynomial/polynomial.pyi
 ${PYSITELIB}/numpy/polynomial/polynomial.pyo
 ${PYSITELIB}/numpy/polynomial/polyutils.py
 ${PYSITELIB}/numpy/polynomial/polyutils.pyc
+${PYSITELIB}/numpy/polynomial/polyutils.pyi
 ${PYSITELIB}/numpy/polynomial/polyutils.pyo
 ${PYSITELIB}/numpy/polynomial/setup.py
 ${PYSITELIB}/numpy/polynomial/setup.pyc
@@ -1158,18 +1204,25 @@
 ${PYSITELIB}/numpy/random/_examples/cython/setup.py
 ${PYSITELIB}/numpy/random/_examples/numba/extending.py
 ${PYSITELIB}/numpy/random/_examples/numba/extending_distributions.py
+${PYSITELIB}/numpy/random/_generator.pyi
 ${PYSITELIB}/numpy/random/_generator.so
+${PYSITELIB}/numpy/random/_mt19937.pyi
 ${PYSITELIB}/numpy/random/_mt19937.so
+${PYSITELIB}/numpy/random/_pcg64.pyi
 ${PYSITELIB}/numpy/random/_pcg64.so
+${PYSITELIB}/numpy/random/_philox.pyi
 ${PYSITELIB}/numpy/random/_philox.so
 ${PYSITELIB}/numpy/random/_pickle.py
 ${PYSITELIB}/numpy/random/_pickle.pyc
 ${PYSITELIB}/numpy/random/_pickle.pyo
+${PYSITELIB}/numpy/random/_sfc64.pyi
 ${PYSITELIB}/numpy/random/_sfc64.so
 ${PYSITELIB}/numpy/random/bit_generator.pxd
+${PYSITELIB}/numpy/random/bit_generator.pyi
 ${PYSITELIB}/numpy/random/bit_generator.so
 ${PYSITELIB}/numpy/random/c_distributions.pxd
 ${PYSITELIB}/numpy/random/lib/libnpyrandom.a
+${PYSITELIB}/numpy/random/mtrand.pyi
 ${PYSITELIB}/numpy/random/mtrand.so
 ${PYSITELIB}/numpy/random/setup.py
 ${PYSITELIB}/numpy/random/setup.pyc
@@ -1182,6 +1235,8 @@
 ${PYSITELIB}/numpy/random/tests/data/mt19937-testset-2.csv
 ${PYSITELIB}/numpy/random/tests/data/pcg64-testset-1.csv
 ${PYSITELIB}/numpy/random/tests/data/pcg64-testset-2.csv
+${PYSITELIB}/numpy/random/tests/data/pcg64dxsm-testset-1.csv


Home | Main Index | Thread Index | Old Index