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.22.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de8ff2a537c7
branches:  trunk
changeset: 376539:de8ff2a537c7
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Apr 09 12:14:27 2022 +0000

description:
py-numpy: updated to 1.22.3

The NumPy 1.22.3 is maintenance release that fixes bugs discovered after the
1.22.2 release. The most noticeable fixes may be those for DLPack. One that may
cause some problems is disallowing strings as inputs to logical ufuncs. It is
still undecided how strings should be treated in those functions and it was
thought best to simply disallow them until a decision was reached. That should
not cause problems with older code.


The NumPy 1.22.2 is maintenance release that fixes bugs discovered after the
1.22.1 release. Notable fixes are:

- Several build related fixes for downstream projects and other platforms.
- Various Annotation fixes/additions.
- Numpy wheels for Windows will use the 1.41 tool chain, fixing downstream link
  problems for projects using NumPy provided libraries on Windows.
- Deal with CVE-2021-41495 complaint.


The NumPy 1.22.1 is maintenance release that fixes bugs discovered after the
1.22.0 release. Notable fixes are:

- Fix f2PY docstring problems (SciPy)
- Fix reduction type problems (AstroPy)
- Fix various typing bugs.


NumPy 1.22.0 is a big release featuring the work of 153 contributers spread
over 609 pull requests. There have been many improvements, highlights are:

* Annotations of the main namespace are essentially complete. Upstream is a
  moving target, so there will likely be further improvements, but the major
  work is done. This is probably the most user visible enhancement in this
  release.
* A preliminary version of the proposed Array-API is provided. This is a step
  in creating a standard collection of functions that can be used across
  applications such as CuPy and JAX.
* NumPy now has a DLPack backend. DLPack provides a common interchange format
  for array (tensor) data.
* New methods for ``quantile``, ``percentile``, and related functions. The new
  methods provide a complete set of the methods commonly found in the
  literature.
* A new configurable allocator for use by downstream projects.
* The universal functions have been refactored to implement most of
  :ref:`NEP 43 <NEP43>`.  This also unlocks the ability to experiment with the
  future DType API.

diffstat:

 math/py-numpy/Makefile |    7 +-
 math/py-numpy/PLIST    |  319 +++++++++++++++++++++++++++++++++++++-----------
 math/py-numpy/distinfo |    8 +-
 3 files changed, 251 insertions(+), 83 deletions(-)

diffs (truncated from 601 to 300 lines):

diff -r 48f7e36bf151 -r de8ff2a537c7 math/py-numpy/Makefile
--- a/math/py-numpy/Makefile    Sat Apr 09 11:11:09 2022 +0000
+++ b/math/py-numpy/Makefile    Sat Apr 09 12:14:27 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.90 2022/01/29 07:46:10 wiz Exp $
+# $NetBSD: Makefile,v 1.91 2022/04/09 12:14:27 adam Exp $
 
-DISTNAME=      numpy-1.21.5
+DISTNAME=      numpy-1.22.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   4
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/numpy/}
 EXTRACT_SUFX=  .zip
@@ -23,7 +22,7 @@
 
 REPLACE_PYTHON+=       *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+PYTHON_VERSIONS_INCOMPATIBLE=  27 37
 
 USE_PKG_RESOURCES=     yes
 
diff -r 48f7e36bf151 -r de8ff2a537c7 math/py-numpy/PLIST
--- a/math/py-numpy/PLIST       Sat Apr 09 11:11:09 2022 +0000
+++ b/math/py-numpy/PLIST       Sat Apr 09 12:14:27 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.34 2022/01/29 07:46:10 wiz Exp $
+@comment $NetBSD: PLIST,v 1.35 2022/04/09 12:14:27 adam Exp $
 bin/f2py${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -24,11 +24,77 @@
 ${PYSITELIB}/numpy/_globals.pyo
 ${PYSITELIB}/numpy/_pytesttester.py
 ${PYSITELIB}/numpy/_pytesttester.pyc
+${PYSITELIB}/numpy/_pytesttester.pyi
 ${PYSITELIB}/numpy/_pytesttester.pyo
 ${PYSITELIB}/numpy/_version.py
 ${PYSITELIB}/numpy/_version.pyc
 ${PYSITELIB}/numpy/_version.pyo
-${PYSITELIB}/numpy/char.pyi
+${PYSITELIB}/numpy/array_api/__init__.py
+${PYSITELIB}/numpy/array_api/__init__.pyc
+${PYSITELIB}/numpy/array_api/__init__.pyo
+${PYSITELIB}/numpy/array_api/_array_object.py
+${PYSITELIB}/numpy/array_api/_array_object.pyc
+${PYSITELIB}/numpy/array_api/_array_object.pyo
+${PYSITELIB}/numpy/array_api/_constants.py
+${PYSITELIB}/numpy/array_api/_constants.pyc
+${PYSITELIB}/numpy/array_api/_constants.pyo
+${PYSITELIB}/numpy/array_api/_creation_functions.py
+${PYSITELIB}/numpy/array_api/_creation_functions.pyc
+${PYSITELIB}/numpy/array_api/_creation_functions.pyo
+${PYSITELIB}/numpy/array_api/_data_type_functions.py
+${PYSITELIB}/numpy/array_api/_data_type_functions.pyc
+${PYSITELIB}/numpy/array_api/_data_type_functions.pyo
+${PYSITELIB}/numpy/array_api/_dtypes.py
+${PYSITELIB}/numpy/array_api/_dtypes.pyc
+${PYSITELIB}/numpy/array_api/_dtypes.pyo
+${PYSITELIB}/numpy/array_api/_elementwise_functions.py
+${PYSITELIB}/numpy/array_api/_elementwise_functions.pyc
+${PYSITELIB}/numpy/array_api/_elementwise_functions.pyo
+${PYSITELIB}/numpy/array_api/_manipulation_functions.py
+${PYSITELIB}/numpy/array_api/_manipulation_functions.pyc
+${PYSITELIB}/numpy/array_api/_manipulation_functions.pyo
+${PYSITELIB}/numpy/array_api/_searching_functions.py
+${PYSITELIB}/numpy/array_api/_searching_functions.pyc
+${PYSITELIB}/numpy/array_api/_searching_functions.pyo
+${PYSITELIB}/numpy/array_api/_set_functions.py
+${PYSITELIB}/numpy/array_api/_set_functions.pyc
+${PYSITELIB}/numpy/array_api/_set_functions.pyo
+${PYSITELIB}/numpy/array_api/_sorting_functions.py
+${PYSITELIB}/numpy/array_api/_sorting_functions.pyc
+${PYSITELIB}/numpy/array_api/_sorting_functions.pyo
+${PYSITELIB}/numpy/array_api/_statistical_functions.py
+${PYSITELIB}/numpy/array_api/_statistical_functions.pyc
+${PYSITELIB}/numpy/array_api/_statistical_functions.pyo
+${PYSITELIB}/numpy/array_api/_typing.py
+${PYSITELIB}/numpy/array_api/_typing.pyc
+${PYSITELIB}/numpy/array_api/_typing.pyo
+${PYSITELIB}/numpy/array_api/_utility_functions.py
+${PYSITELIB}/numpy/array_api/_utility_functions.pyc
+${PYSITELIB}/numpy/array_api/_utility_functions.pyo
+${PYSITELIB}/numpy/array_api/linalg.py
+${PYSITELIB}/numpy/array_api/linalg.pyc
+${PYSITELIB}/numpy/array_api/linalg.pyo
+${PYSITELIB}/numpy/array_api/setup.py
+${PYSITELIB}/numpy/array_api/setup.pyc
+${PYSITELIB}/numpy/array_api/setup.pyo
+${PYSITELIB}/numpy/array_api/tests/__init__.py
+${PYSITELIB}/numpy/array_api/tests/__init__.pyc
+${PYSITELIB}/numpy/array_api/tests/__init__.pyo
+${PYSITELIB}/numpy/array_api/tests/test_array_object.py
+${PYSITELIB}/numpy/array_api/tests/test_array_object.pyc
+${PYSITELIB}/numpy/array_api/tests/test_array_object.pyo
+${PYSITELIB}/numpy/array_api/tests/test_creation_functions.py
+${PYSITELIB}/numpy/array_api/tests/test_creation_functions.pyc
+${PYSITELIB}/numpy/array_api/tests/test_creation_functions.pyo
+${PYSITELIB}/numpy/array_api/tests/test_elementwise_functions.py
+${PYSITELIB}/numpy/array_api/tests/test_elementwise_functions.pyc
+${PYSITELIB}/numpy/array_api/tests/test_elementwise_functions.pyo
+${PYSITELIB}/numpy/array_api/tests/test_set_functions.py
+${PYSITELIB}/numpy/array_api/tests/test_set_functions.pyc
+${PYSITELIB}/numpy/array_api/tests/test_set_functions.pyo
+${PYSITELIB}/numpy/array_api/tests/test_sorting_functions.py
+${PYSITELIB}/numpy/array_api/tests/test_sorting_functions.pyc
+${PYSITELIB}/numpy/array_api/tests/test_sorting_functions.pyo
 ${PYSITELIB}/numpy/compat/__init__.py
 ${PYSITELIB}/numpy/compat/__init__.pyc
 ${PYSITELIB}/numpy/compat/__init__.pyo
@@ -77,6 +143,9 @@
 ${PYSITELIB}/numpy/core/_internal.pyc
 ${PYSITELIB}/numpy/core/_internal.pyi
 ${PYSITELIB}/numpy/core/_internal.pyo
+${PYSITELIB}/numpy/core/_machar.py
+${PYSITELIB}/numpy/core/_machar.pyc
+${PYSITELIB}/numpy/core/_machar.pyo
 ${PYSITELIB}/numpy/core/_methods.py
 ${PYSITELIB}/numpy/core/_methods.pyc
 ${PYSITELIB}/numpy/core/_methods.pyo
@@ -107,6 +176,7 @@
 ${PYSITELIB}/numpy/core/cversions.pyo
 ${PYSITELIB}/numpy/core/defchararray.py
 ${PYSITELIB}/numpy/core/defchararray.pyc
+${PYSITELIB}/numpy/core/defchararray.pyi
 ${PYSITELIB}/numpy/core/defchararray.pyo
 ${PYSITELIB}/numpy/core/einsumfunc.py
 ${PYSITELIB}/numpy/core/einsumfunc.pyc
@@ -125,13 +195,16 @@
 ${PYSITELIB}/numpy/core/generate_numpy_api.pyo
 ${PYSITELIB}/numpy/core/getlimits.py
 ${PYSITELIB}/numpy/core/getlimits.pyc
+${PYSITELIB}/numpy/core/getlimits.pyi
 ${PYSITELIB}/numpy/core/getlimits.pyo
+${PYSITELIB}/numpy/core/include/numpy/.doxyfile
 ${PYSITELIB}/numpy/core/include/numpy/__multiarray_api.h
 ${PYSITELIB}/numpy/core/include/numpy/__ufunc_api.h
 ${PYSITELIB}/numpy/core/include/numpy/_neighborhood_iterator_imp.h
 ${PYSITELIB}/numpy/core/include/numpy/_numpyconfig.h
 ${PYSITELIB}/numpy/core/include/numpy/arrayobject.h
 ${PYSITELIB}/numpy/core/include/numpy/arrayscalars.h
+${PYSITELIB}/numpy/core/include/numpy/experimental_dtype_api.h
 ${PYSITELIB}/numpy/core/include/numpy/halffloat.h
 ${PYSITELIB}/numpy/core/include/numpy/libdivide/LICENSE.txt
 ${PYSITELIB}/numpy/core/include/numpy/libdivide/libdivide.h
@@ -159,14 +232,13 @@
 ${PYSITELIB}/numpy/core/lib/libnpymath.a
 ${PYSITELIB}/numpy/core/lib/npy-pkg-config/mlib.ini
 ${PYSITELIB}/numpy/core/lib/npy-pkg-config/npymath.ini
-${PYSITELIB}/numpy/core/machar.py
-${PYSITELIB}/numpy/core/machar.pyc
-${PYSITELIB}/numpy/core/machar.pyo
 ${PYSITELIB}/numpy/core/memmap.py
 ${PYSITELIB}/numpy/core/memmap.pyc
+${PYSITELIB}/numpy/core/memmap.pyi
 ${PYSITELIB}/numpy/core/memmap.pyo
 ${PYSITELIB}/numpy/core/multiarray.py
 ${PYSITELIB}/numpy/core/multiarray.pyc
+${PYSITELIB}/numpy/core/multiarray.pyi
 ${PYSITELIB}/numpy/core/multiarray.pyo
 ${PYSITELIB}/numpy/core/numeric.py
 ${PYSITELIB}/numpy/core/numeric.pyc
@@ -181,6 +253,7 @@
 ${PYSITELIB}/numpy/core/overrides.pyo
 ${PYSITELIB}/numpy/core/records.py
 ${PYSITELIB}/numpy/core/records.pyc
+${PYSITELIB}/numpy/core/records.pyi
 ${PYSITELIB}/numpy/core/records.pyo
 ${PYSITELIB}/numpy/core/setup.py
 ${PYSITELIB}/numpy/core/setup.pyc
@@ -199,14 +272,33 @@
 ${PYSITELIB}/numpy/core/tests/_locales.pyc
 ${PYSITELIB}/numpy/core/tests/_locales.pyo
 ${PYSITELIB}/numpy/core/tests/data/astype_copy.pkl
+${PYSITELIB}/numpy/core/tests/data/generate_umath_validation_data.cpp
 ${PYSITELIB}/numpy/core/tests/data/recarray_from_file.fits
 ${PYSITELIB}/numpy/core/tests/data/umath-validation-set-README.txt
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-arccos.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-arccosh.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-arcsin.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-arcsinh.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-arctan.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-arctanh.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-cbrt.csv
 ${PYSITELIB}/numpy/core/tests/data/umath-validation-set-cos.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-cosh.csv
 ${PYSITELIB}/numpy/core/tests/data/umath-validation-set-exp.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-exp2.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-expm1.csv
 ${PYSITELIB}/numpy/core/tests/data/umath-validation-set-log.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-log10.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-log1p.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-log2.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/data/umath-validation-set-sinh.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-tan.csv
+${PYSITELIB}/numpy/core/tests/data/umath-validation-set-tanh.csv
+${PYSITELIB}/numpy/core/tests/examples/cython/checks.pyx
+${PYSITELIB}/numpy/core/tests/examples/cython/setup.py
+${PYSITELIB}/numpy/core/tests/examples/limited_api/limited_api.c
+${PYSITELIB}/numpy/core/tests/examples/limited_api/setup.py
 ${PYSITELIB}/numpy/core/tests/test__exceptions.py
 ${PYSITELIB}/numpy/core/tests/test__exceptions.pyc
 ${PYSITELIB}/numpy/core/tests/test__exceptions.pyo
@@ -240,6 +332,9 @@
 ${PYSITELIB}/numpy/core/tests/test_cpu_features.py
 ${PYSITELIB}/numpy/core/tests/test_cpu_features.pyc
 ${PYSITELIB}/numpy/core/tests/test_cpu_features.pyo
+${PYSITELIB}/numpy/core/tests/test_custom_dtypes.py
+${PYSITELIB}/numpy/core/tests/test_custom_dtypes.pyc
+${PYSITELIB}/numpy/core/tests/test_custom_dtypes.pyo
 ${PYSITELIB}/numpy/core/tests/test_cython.py
 ${PYSITELIB}/numpy/core/tests/test_cython.pyc
 ${PYSITELIB}/numpy/core/tests/test_cython.pyo
@@ -252,6 +347,9 @@
 ${PYSITELIB}/numpy/core/tests/test_deprecations.py
 ${PYSITELIB}/numpy/core/tests/test_deprecations.pyc
 ${PYSITELIB}/numpy/core/tests/test_deprecations.pyo
+${PYSITELIB}/numpy/core/tests/test_dlpack.py
+${PYSITELIB}/numpy/core/tests/test_dlpack.pyc
+${PYSITELIB}/numpy/core/tests/test_dlpack.pyo
 ${PYSITELIB}/numpy/core/tests/test_dtype.py
 ${PYSITELIB}/numpy/core/tests/test_dtype.pyc
 ${PYSITELIB}/numpy/core/tests/test_dtype.pyo
@@ -273,6 +371,9 @@
 ${PYSITELIB}/numpy/core/tests/test_half.py
 ${PYSITELIB}/numpy/core/tests/test_half.pyc
 ${PYSITELIB}/numpy/core/tests/test_half.pyo
+${PYSITELIB}/numpy/core/tests/test_hashtable.py
+${PYSITELIB}/numpy/core/tests/test_hashtable.pyc
+${PYSITELIB}/numpy/core/tests/test_hashtable.pyo
 ${PYSITELIB}/numpy/core/tests/test_indexerrors.py
 ${PYSITELIB}/numpy/core/tests/test_indexerrors.pyc
 ${PYSITELIB}/numpy/core/tests/test_indexerrors.pyo
@@ -282,6 +383,9 @@
 ${PYSITELIB}/numpy/core/tests/test_item_selection.py
 ${PYSITELIB}/numpy/core/tests/test_item_selection.pyc
 ${PYSITELIB}/numpy/core/tests/test_item_selection.pyo
+${PYSITELIB}/numpy/core/tests/test_limited_api.py
+${PYSITELIB}/numpy/core/tests/test_limited_api.pyc
+${PYSITELIB}/numpy/core/tests/test_limited_api.pyo
 ${PYSITELIB}/numpy/core/tests/test_longdouble.py
 ${PYSITELIB}/numpy/core/tests/test_longdouble.pyc
 ${PYSITELIB}/numpy/core/tests/test_longdouble.pyo
@@ -291,6 +395,9 @@
 ${PYSITELIB}/numpy/core/tests/test_mem_overlap.py
 ${PYSITELIB}/numpy/core/tests/test_mem_overlap.pyc
 ${PYSITELIB}/numpy/core/tests/test_mem_overlap.pyo
+${PYSITELIB}/numpy/core/tests/test_mem_policy.py
+${PYSITELIB}/numpy/core/tests/test_mem_policy.pyc
+${PYSITELIB}/numpy/core/tests/test_mem_policy.pyo
 ${PYSITELIB}/numpy/core/tests/test_memmap.py
 ${PYSITELIB}/numpy/core/tests/test_memmap.pyc
 ${PYSITELIB}/numpy/core/tests/test_memmap.pyo
@@ -383,6 +490,9 @@
 ${PYSITELIB}/numpy/distutils/_shell_utils.py
 ${PYSITELIB}/numpy/distutils/_shell_utils.pyc
 ${PYSITELIB}/numpy/distutils/_shell_utils.pyo
+${PYSITELIB}/numpy/distutils/armccompiler.py
+${PYSITELIB}/numpy/distutils/armccompiler.pyc
+${PYSITELIB}/numpy/distutils/armccompiler.pyo
 ${PYSITELIB}/numpy/distutils/ccompiler.py
 ${PYSITELIB}/numpy/distutils/ccompiler.pyc
 ${PYSITELIB}/numpy/distutils/ccompiler.pyo
@@ -500,6 +610,9 @@
 ${PYSITELIB}/numpy/distutils/fcompiler/absoft.py
 ${PYSITELIB}/numpy/distutils/fcompiler/absoft.pyc
 ${PYSITELIB}/numpy/distutils/fcompiler/absoft.pyo
+${PYSITELIB}/numpy/distutils/fcompiler/arm.py
+${PYSITELIB}/numpy/distutils/fcompiler/arm.pyc
+${PYSITELIB}/numpy/distutils/fcompiler/arm.pyo
 ${PYSITELIB}/numpy/distutils/fcompiler/compaq.py
 ${PYSITELIB}/numpy/distutils/fcompiler/compaq.pyc
 ${PYSITELIB}/numpy/distutils/fcompiler/compaq.pyo
@@ -624,6 +737,9 @@
 ${PYSITELIB}/numpy/distutils/tests/test_from_template.py
 ${PYSITELIB}/numpy/distutils/tests/test_from_template.pyc
 ${PYSITELIB}/numpy/distutils/tests/test_from_template.pyo
+${PYSITELIB}/numpy/distutils/tests/test_log.py
+${PYSITELIB}/numpy/distutils/tests/test_log.pyc
+${PYSITELIB}/numpy/distutils/tests/test_log.pyo
 ${PYSITELIB}/numpy/distutils/tests/test_mingw32ccompiler.py
 ${PYSITELIB}/numpy/distutils/tests/test_mingw32ccompiler.pyc
 ${PYSITELIB}/numpy/distutils/tests/test_mingw32ccompiler.pyo
@@ -705,6 +821,9 @@
 ${PYSITELIB}/numpy/f2py/setup.pyo
 ${PYSITELIB}/numpy/f2py/src/fortranobject.c
 ${PYSITELIB}/numpy/f2py/src/fortranobject.h
+${PYSITELIB}/numpy/f2py/symbolic.py
+${PYSITELIB}/numpy/f2py/symbolic.pyc
+${PYSITELIB}/numpy/f2py/symbolic.pyo
 ${PYSITELIB}/numpy/f2py/tests/__init__.py
 ${PYSITELIB}/numpy/f2py/tests/__init__.pyc
 ${PYSITELIB}/numpy/f2py/tests/__init__.pyo
@@ -795,6 +914,9 @@
 ${PYSITELIB}/numpy/f2py/tests/test_string.py
 ${PYSITELIB}/numpy/f2py/tests/test_string.pyc



Home | Main Index | Thread Index | Old Index