pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-numpy
Module Name: pkgsrc
Committed By: wiz
Date: Thu Jan 8 09:27:06 UTC 2026
Modified Files:
pkgsrc/math/py-numpy: Makefile PLIST distinfo
pkgsrc/math/py-numpy/patches: patch-numpy_distutils_log.py
Removed Files:
pkgsrc/math/py-numpy/patches: patch-numpy_linalg_umath__linalg.cpp
Log Message:
py-numpy: update to 2.4.0.
NumPy 2.4.0 released
20 Dec, 2025 – The NumPy 2.4.0 release continues the work to improve
free threaded Python support, user dtypes implementation, and
annotations. There are many expired deprecations and bug fixes as
well. Highlights are:
Many annotation improvements. In particular, runtime signature introspection.
New casting kwarg 'same_value' for casting by value.
New PyUFunc_AddLoopsFromSpec function that can be used to add user sort loops using the ArrayMethod API.
New __numpy_dtype__ protocol.
This release supports Python versions 3.11-3.14
To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 pkgsrc/math/py-numpy/Makefile
cvs rdiff -u -r1.57 -r1.58 pkgsrc/math/py-numpy/PLIST
cvs rdiff -u -r1.106 -r1.107 pkgsrc/math/py-numpy/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/math/py-numpy/patches/patch-numpy_distutils_log.py
cvs rdiff -u -r1.1 -r0 \
pkgsrc/math/py-numpy/patches/patch-numpy_linalg_umath__linalg.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/py-numpy/Makefile
diff -u pkgsrc/math/py-numpy/Makefile:1.143 pkgsrc/math/py-numpy/Makefile:1.144
--- pkgsrc/math/py-numpy/Makefile:1.143 Mon Nov 17 09:40:53 2025
+++ pkgsrc/math/py-numpy/Makefile Thu Jan 8 09:27:05 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.143 2025/11/17 09:40:53 adam Exp $
+# $NetBSD: Makefile,v 1.144 2026/01/08 09:27:05 wiz Exp $
-DISTNAME= numpy-2.3.5
+DISTNAME= numpy-2.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/numpy/}
Index: pkgsrc/math/py-numpy/PLIST
diff -u pkgsrc/math/py-numpy/PLIST:1.57 pkgsrc/math/py-numpy/PLIST:1.58
--- pkgsrc/math/py-numpy/PLIST:1.57 Thu Oct 16 08:51:16 2025
+++ pkgsrc/math/py-numpy/PLIST Thu Jan 8 09:27:05 2026
@@ -1,11 +1,27 @@
-@comment $NetBSD: PLIST,v 1.57 2025/10/16 08:51:16 adam Exp $
+@comment $NetBSD: PLIST,v 1.58 2026/01/08 09:27:05 wiz Exp $
bin/f2py-${PYVERSSUFFIX}
bin/numpy-config-${PYVERSSUFFIX}
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/_core/include/numpy/libdivide/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/_core/src/common/pythoncapi-compat/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/_core/src/highway/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/_core/src/multiarray/dragon4_LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/_core/src/npysort/x86-simd-sort/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/_core/src/umath/svml/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/fft/pocketfft/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/linalg/lapack_lite/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/ma/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/random/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/random/src/distributions/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/random/src/mt19937/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/random/src/pcg64/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/random/src/philox/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/random/src/sfc64/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/numpy/random/src/splitmix64/LICENSE.md
${PYSITELIB}/numpy/__config__.py
${PYSITELIB}/numpy/__config__.pyc
${PYSITELIB}/numpy/__config__.pyi
@@ -56,10 +72,6 @@ ${PYSITELIB}/numpy/_core/_internal.py
${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.pyi
-${PYSITELIB}/numpy/_core/_machar.pyo
${PYSITELIB}/numpy/_core/_methods.py
${PYSITELIB}/numpy/_core/_methods.pyc
${PYSITELIB}/numpy/_core/_methods.pyi
@@ -83,6 +95,7 @@ ${PYSITELIB}/numpy/_core/_ufunc_config.p
${PYSITELIB}/numpy/_core/_ufunc_config.pyc
${PYSITELIB}/numpy/_core/_ufunc_config.pyi
${PYSITELIB}/numpy/_core/_ufunc_config.pyo
+${PYSITELIB}/numpy/_core/_umath_tests.pyi
${PYSITELIB}/numpy/_core/_umath_tests.so
${PYSITELIB}/numpy/_core/arrayprint.py
${PYSITELIB}/numpy/_core/arrayprint.pyc
@@ -297,6 +310,9 @@ ${PYSITELIB}/numpy/_core/tests/test_errs
${PYSITELIB}/numpy/_core/tests/test_extint128.py
${PYSITELIB}/numpy/_core/tests/test_extint128.pyc
${PYSITELIB}/numpy/_core/tests/test_extint128.pyo
+${PYSITELIB}/numpy/_core/tests/test_finfo.py
+${PYSITELIB}/numpy/_core/tests/test_finfo.pyc
+${PYSITELIB}/numpy/_core/tests/test_finfo.pyo
${PYSITELIB}/numpy/_core/tests/test_function_base.py
${PYSITELIB}/numpy/_core/tests/test_function_base.pyc
${PYSITELIB}/numpy/_core/tests/test_function_base.pyo
@@ -324,9 +340,6 @@ ${PYSITELIB}/numpy/_core/tests/test_limi
${PYSITELIB}/numpy/_core/tests/test_longdouble.py
${PYSITELIB}/numpy/_core/tests/test_longdouble.pyc
${PYSITELIB}/numpy/_core/tests/test_longdouble.pyo
-${PYSITELIB}/numpy/_core/tests/test_machar.py
-${PYSITELIB}/numpy/_core/tests/test_machar.pyc
-${PYSITELIB}/numpy/_core/tests/test_machar.pyo
${PYSITELIB}/numpy/_core/tests/test_mem_overlap.py
${PYSITELIB}/numpy/_core/tests/test_mem_overlap.pyc
${PYSITELIB}/numpy/_core/tests/test_mem_overlap.pyo
@@ -339,6 +352,9 @@ ${PYSITELIB}/numpy/_core/tests/test_memm
${PYSITELIB}/numpy/_core/tests/test_multiarray.py
${PYSITELIB}/numpy/_core/tests/test_multiarray.pyc
${PYSITELIB}/numpy/_core/tests/test_multiarray.pyo
+${PYSITELIB}/numpy/_core/tests/test_multiprocessing.py
+${PYSITELIB}/numpy/_core/tests/test_multiprocessing.pyc
+${PYSITELIB}/numpy/_core/tests/test_multiprocessing.pyo
${PYSITELIB}/numpy/_core/tests/test_multithreading.py
${PYSITELIB}/numpy/_core/tests/test_multithreading.pyc
${PYSITELIB}/numpy/_core/tests/test_multithreading.pyo
@@ -895,10 +911,6 @@ ${PYSITELIB}/numpy/fft/_pocketfft.pyc
${PYSITELIB}/numpy/fft/_pocketfft.pyi
${PYSITELIB}/numpy/fft/_pocketfft.pyo
${PYSITELIB}/numpy/fft/_pocketfft_umath.so
-${PYSITELIB}/numpy/fft/helper.py
-${PYSITELIB}/numpy/fft/helper.pyc
-${PYSITELIB}/numpy/fft/helper.pyi
-${PYSITELIB}/numpy/fft/helper.pyo
${PYSITELIB}/numpy/fft/tests/__init__.py
${PYSITELIB}/numpy/fft/tests/__init__.pyc
${PYSITELIB}/numpy/fft/tests/__init__.pyo
@@ -1133,10 +1145,6 @@ ${PYSITELIB}/numpy/linalg/_umath_linalg.
${PYSITELIB}/numpy/linalg/_umath_linalg.so
${PYSITELIB}/numpy/linalg/lapack_lite.pyi
${PYSITELIB}/numpy/linalg/lapack_lite.so
-${PYSITELIB}/numpy/linalg/linalg.py
-${PYSITELIB}/numpy/linalg/linalg.pyc
-${PYSITELIB}/numpy/linalg/linalg.pyi
-${PYSITELIB}/numpy/linalg/linalg.pyo
${PYSITELIB}/numpy/linalg/tests/__init__.py
${PYSITELIB}/numpy/linalg/tests/__init__.pyc
${PYSITELIB}/numpy/linalg/tests/__init__.pyo
@@ -1197,6 +1205,7 @@ ${PYSITELIB}/numpy/ma/tests/test_subclas
${PYSITELIB}/numpy/ma/tests/test_subclassing.pyo
${PYSITELIB}/numpy/ma/testutils.py
${PYSITELIB}/numpy/ma/testutils.pyc
+${PYSITELIB}/numpy/ma/testutils.pyi
${PYSITELIB}/numpy/ma/testutils.pyo
${PYSITELIB}/numpy/matlib.py
${PYSITELIB}/numpy/matlib.pyc
@@ -1478,6 +1487,7 @@ ${PYSITELIB}/numpy/tests/test_warnings.p
${PYSITELIB}/numpy/tests/test_warnings.pyo
${PYSITELIB}/numpy/typing/__init__.py
${PYSITELIB}/numpy/typing/__init__.pyc
+${PYSITELIB}/numpy/typing/__init__.pyi
${PYSITELIB}/numpy/typing/__init__.pyo
${PYSITELIB}/numpy/typing/mypy_plugin.py
${PYSITELIB}/numpy/typing/mypy_plugin.pyc
@@ -1627,9 +1637,6 @@ ${PYSITELIB}/numpy/typing/tests/data/pas
${PYSITELIB}/numpy/typing/tests/data/pass/simple.py
${PYSITELIB}/numpy/typing/tests/data/pass/simple.pyc
${PYSITELIB}/numpy/typing/tests/data/pass/simple.pyo
-${PYSITELIB}/numpy/typing/tests/data/pass/simple_py3.py
-${PYSITELIB}/numpy/typing/tests/data/pass/simple_py3.pyc
-${PYSITELIB}/numpy/typing/tests/data/pass/simple_py3.pyo
${PYSITELIB}/numpy/typing/tests/data/pass/ufunc_config.py
${PYSITELIB}/numpy/typing/tests/data/pass/ufunc_config.pyc
${PYSITELIB}/numpy/typing/tests/data/pass/ufunc_config.pyo
Index: pkgsrc/math/py-numpy/distinfo
diff -u pkgsrc/math/py-numpy/distinfo:1.106 pkgsrc/math/py-numpy/distinfo:1.107
--- pkgsrc/math/py-numpy/distinfo:1.106 Mon Nov 17 09:40:53 2025
+++ pkgsrc/math/py-numpy/distinfo Thu Jan 8 09:27:05 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.106 2025/11/17 09:40:53 adam Exp $
+$NetBSD: distinfo,v 1.107 2026/01/08 09:27:05 wiz Exp $
-BLAKE2s (numpy-2.3.5.tar.gz) = b40f8cddea091b518280bd17833b11e320996073bf51d195a042633cf871376b
-SHA512 (numpy-2.3.5.tar.gz) = 055e5c0363e1e6d75e514b2f3a2dbbf830a0172a1381f3872b68cc4605bfafae91afcab37b710d12379488eba343fad7aeeb466ea23fa45d1d817a33aefe75fe
-Size (numpy-2.3.5.tar.gz) = 20584950 bytes
+BLAKE2s (numpy-2.4.0.tar.gz) = 9e3bce8897fce42e607c134dc38f6c46a7fe0a9846649e6e0818574f8cef3904
+SHA512 (numpy-2.4.0.tar.gz) = ff0c53866a7a7bdb255885ea0b9a9084538a15b8ff8e30f1ee9b75e8000432d755634fe07239ee4b6ec2b9e2e5f9535c231ad8f0b89dae54a545a4c136a20f55
+Size (numpy-2.4.0.tar.gz) = 20685720 bytes
SHA1 (patch-numpy___core_feature__detection__misc.h) = c0f4d318c93fcd0e36c34c549c7778350b8a6ea5
SHA1 (patch-numpy___core_include_numpy_npy__common.h) = 175cd8f64af681949c3e8bfde064c93908433ea2
SHA1 (patch-numpy___core_src_common_mem__overlap.c) = 709f140252e8582c325d30fa0289dda3d9a5c888
@@ -10,6 +10,5 @@ SHA1 (patch-numpy_distutils_command_conf
SHA1 (patch-numpy_distutils_fcompiler_____init____.py) = 49d070da5b48bd9818b37ac3254341fa68503c53
SHA1 (patch-numpy_distutils_fcompiler_g95.py) = be73b64a3e551df998b6a904d6db762bf28a98ed
SHA1 (patch-numpy_distutils_fcompiler_gnu.py) = 1ab3fd7b3f42328f4094f1b21a65c05ae4d975b7
-SHA1 (patch-numpy_distutils_log.py) = 4c968b934fb24da096a1f4d2cd4ebb2e3fd92334
+SHA1 (patch-numpy_distutils_log.py) = f9bc3f03a5f9a56b9eb561f36467bae549500bc4
SHA1 (patch-numpy_linalg_lapack__litemodule.c) = e97ec871c2f33c3121b3c8471a9e5a74c3c798c8
-SHA1 (patch-numpy_linalg_umath__linalg.cpp) = 4e02f3b4f6550653e851b0b6819f7048aac297e6
Index: pkgsrc/math/py-numpy/patches/patch-numpy_distutils_log.py
diff -u pkgsrc/math/py-numpy/patches/patch-numpy_distutils_log.py:1.1 pkgsrc/math/py-numpy/patches/patch-numpy_distutils_log.py:1.2
--- pkgsrc/math/py-numpy/patches/patch-numpy_distutils_log.py:1.1 Sun Nov 20 19:03:47 2022
+++ pkgsrc/math/py-numpy/patches/patch-numpy_distutils_log.py Thu Jan 8 09:27:06 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-numpy_distutils_log.py,v 1.1 2022/11/20 19:03:47 adam Exp $
+$NetBSD: patch-numpy_distutils_log.py,v 1.2 2026/01/08 09:27:06 wiz Exp $
Backport distutils.log.Log from setuptools < 65.6.0.
---- numpy/distutils/log.py.orig 2022-11-20 17:58:45.000000000 +0000
+--- numpy/distutils/log.py.orig 2025-12-20 07:38:18.000000000 +0000
+++ numpy/distutils/log.py
-@@ -1,8 +1,8 @@
+@@ -1,8 +1,8 @@ from distutils.log import * # noqa: F403
# Colored log
import sys
from distutils.log import * # noqa: F403
@@ -14,7 +14,7 @@ Backport distutils.log.Log from setuptoo
from numpy.distutils.misc_util import (red_text, default_text, cyan_text,
green_text, is_sequence, is_string)
-@@ -16,7 +16,48 @@ def _fix_args(args,flag=1):
+@@ -16,10 +16,51 @@ def _fix_args(args,flag=1):
return args
@@ -23,12 +23,12 @@ Backport distutils.log.Log from setuptoo
+ def __init__(self, threshold=WARN):
+ self.threshold = threshold
+
-+ def _log(self, level, msg, args):
+ def _log(self, level, msg, args):
+ if level not in (DEBUG, INFO, WARN, ERROR, FATAL):
+ raise ValueError('%s wrong log level' % str(level))
+
-+ if level >= self.threshold:
-+ if args:
+ if level >= self.threshold:
+ if args:
+ msg = msg % args
+ if level in (WARN, ERROR, FATAL):
+ stream = sys.stderr
@@ -61,10 +61,13 @@ Backport distutils.log.Log from setuptoo
+ def fatal(self, msg, *args):
+ self._log(FATAL, msg, args)
+
- def _log(self, level, msg, args):
- if level >= self.threshold:
- if args:
-@@ -44,6 +85,7 @@ class Log(old_Log):
++ def _log(self, level, msg, args):
++ if level >= self.threshold:
++ if args:
+ msg = msg % _fix_args(args)
+ if 0:
+ if msg.startswith('copying ') and msg.find(' -> ') != -1:
+@@ -44,6 +85,7 @@ _global_log.__class__ = Log
_global_log.__class__ = Log
Home |
Main Index |
Thread Index |
Old Index