./math/py-numpy, Array processing for numbers, strings, records, and objects

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 2.4.6, Package name: py313-numpy-2.4.6, Maintainer: pkgsrc-users

NumPy is a general-purpose array-processing package designed to
efficiently manipulate large multi-dimensional arrays of arbitrary
records without sacrificing too much speed for small multi-dimensional
arrays. NumPy is built on the Numeric code base and adds features
introduced by numarray as well as an extended C-API and the ability to
create arrays of arbitrary type.

There are also basic facilities for discrete fourier transform,
basic linear algebra and random number generation.


Required to run:
[math/lapack] [math/blas] [devel/py-setuptools] [devel/py-cython] [lang/gcc7] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 20249.812 KB

Version history: (Expand)


CVS history: (Expand)


   2026-05-19 09:34:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-numpy: updated to 2.4.6

2.4.6

MAINT: Prepare 2.4.x for further development
BUG: Fix regression in ``arr.conj()``
BUG: ``np.linalg.svd(..., hermitian=True)`` returns non-unitary...
   2026-05-17 10:56:09 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-numpy: updated to 2.4.5

2.4.5

MAINT: Prepare 2.4.x for further development
TYP: fix ``np.shape`` assignability issue for python lists
ENH: Return rank 0 for empty matrices in matrix_rank
CI/BUG: add native jobs for s390x, fix bug in ``pack_inner``...
BUG: f2py map complex_long_double to NPY_CLONGDOUBLE
MAINT: f2py: Stop setting re._MAXCACHE to 50.
BUG: fix heap buffer overflow in timedelta to string casts
MAINT: Rename ppc64le and s390x workflow
BUG: Fix matvec/vecmat in-place aliasing (out=input produces...
TYP: ``tile``\ : accept numpy scalars and arrays as second argument...
DEP: Undo deprecation for np.dtype() signature used by old pickles...
REV: Manual revert of float16 svml use
TYP: ``ix_`` fix for boolean and non-1d input
BUG: incorrect temp elision for new-style (NEP 43) user-defined...
TYP: fix sliding_window_view axis parameter typing
BUG: Prevent deadlock due to downstream importing NumPy in dlopen...
BUG: Fix segfault in nditer.multi_index when __getitem__ raises...
TYP: Fix ruff lint error
BUG: fix memory leak in np.zeros when fill-zero loop raises
BUG: np.einsum() fails with a 0-dimensional out argument and...
BUG: Fix signed overflow issue in npy_gcd for INT_MIN on s390x...
CI: remove Cirrus CI FreeBSD job
BUILD: newer MKL uses so.3
BLD/MAINT: improve support for Intel LLVM compilers
BUG: Avoid UB in safe_[add,sub,mul] helpers
BUG: exclude __pycache__ directories from wheels
TYP: ``_NestedSequence`` type parameter default to work around...
TYP: Fix ``DTypeLike`` runtime type-checker support
   2026-05-13 04:12:52 by Taylor R Campbell | Files touched by this commit (1)
Log message:
math/py-numpy: Undo unintentional part of previous commit.

PR pkg/60256: devel/py-numpy: log1pl workaround no longer works around
   2026-05-13 04:10:58 by Taylor R Campbell | Files touched by this commit (4)
Log message:
math/py-numpy: Tweak workaround for missing log2l/log1pl/expm1l.

1. Put it in npy_math.c as needed by _umath_linalg.so.

2. Limit it to NetBSD<10, since NetBSD>=10 has at least stubs (just
   like this workaround implements, in terms of double functions) if
   not proper long double implementations (NetBSD>=11).

Fixes:

>>> import numpy
...
ImportError: \ 
/home/riastradh/pkgsrc/current/pkg/lib/python3.11/site-packages/numpy/linalg/_umath_linalg.so: \ 
Undefined PLT symbol "log1pl" (symnum = 20)

PR pkg/60256: devel/py-numpy: log1pl workaround no longer works around
   2026-03-31 15:09:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-numpy: updated to 2.4.4

2.4.4

MAINT: Prepare 2.4.x for further development
BUG: Add test to reproduce problem
BUG: fix FNV-1a 64-bit selection by using NPY_SIZEOF_UINTP
BUG: avoid warning on ufunc with where=True and no output
DOC: document caveats of ndarray.resize on 3.14 and newer
TST: fix POWER VSX feature mapping
MAINT: numpy.i: Replace deprecated ``sprintf`` with ``snprintf``...
   2026-03-10 14:16:15 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-numpy: updated to 2.4.3

2.4.3

MAINT: Prepare 2.4.x for further development
BUG: Fix some leaks found via LeakSanitizer
MAINT: Synchronize 2.4.x submodules with main
TYP: ``matlib``\ : missing extended precision imports
BUG: Fix weak hash function in np.isin().
BUG: fix infinite recursion in np.ma.flatten_structured_array...
BUG: Fix buffer overrun in CPU baseline validation
BUG: Fix busdaycalendar's handling of a bool array weekmask....
BUG: Fix reference leaks and NULL pointer dereferences
MAINT: fix two minor issues noticed when touching the C API setup
ENH: Test .kind not .char in np.testing.assert_equal
BUG: fix type issues in uses if PyDataType macros
MAINT: Don't use vulture 2.15, it has false positives
MAINT: update openblas
   2026-02-17 13:06:50 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-numpy: provide pkg-config file in the standard location

this helps the scipy build in finding numpy

(will not help outside pkgsrc though)
   2026-02-03 00:04:42 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-numpy: NetBSD 11 supports AVX512, remove workaround for disabling it.

Bump PKGREVISION.