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:   adam
Date:           Wed Aug 21 10:10:48 UTC 2024

Modified Files:
        pkgsrc/math/py-numpy: Makefile PLIST distinfo

Log Message:
py-numpy: updated to 2.1.0

2.1.0

ENH: When histogramming data with integer dtype, force bin width...
TST: add some tests of np.log for complex input.
DOC: quantile: correct/simplify documentation
DOC: Add documentation explaining our promotion rules
ENH: Convert fp32 sin/cos from C universal intrinsics to C++...
ENH: Add center/ljust/rjust/zfill ufuncs for unicode and bytes
NEP: NEP 55 updates and add @mhvk as an author
BUG: Fix bug in numpy.pad()
CI: fix last docbuild warnings
MAINT: Prepare main for NumPy 2.1.0 development
DOC: Fix a note section markup in ``dtype.rst``
DOC: Fix module setting of ``MaskedArray``
BUG: Raise error for negative-sized fixed-width dtype
BUG: Fixes np.put receiving empty array causes endless loop
BLD: push a tag builds a wheel
BLD: omit pp39-macosx_arm64 from matrix
DOC: Remove unused parameter description
CI: clean up some unused `choco install` invocations
CI: don't use ``fetch-tags`` in wheel build jobs
BUG: fix kwarg handling in assert_warn [skip cirrus][skip azp]
BUG: Filter out broken Highway platform
MAINT: Bump pypa/cibuildwheel from 2.16.5 to 2.17.0
DOC: indicate stringdtype support in docstrings for string operations
TST: remove usage of ProcessPoolExecutor in stringdtype tests
MAINT: Remove sdist task from pavement.py
DOC: mention the ``exceptions`` namespace in the 2.0.0 release...
ENH: install StringDType promoter for add
MAINT: remove the now-unused ``NPY_NO_SIGNAL``
MAINT: remove now-unused ``NPY_USE_C99_FORMAT``
MAINT: handle ``NPY_ALLOW_THREADS`` and related build option...
MAINT: avoid use of flexible array member in public header
BUG: raise error trying to coerce object arrays containing timedelta64('NaT')...
BUG: fix reference count leak in __array__ internals
BUG: add missing error handling in string to int cast internals
MAINT: Remove partition and split-like functions from numpy.strings
ENH: Optimize np.power for integer type
ENH: Optimize np.power(x, 2) for double and float type
MAINT,API: Const qualify some new API (mostly new DType API)
MAINT: Make PyArrayMultiIterObject struct "smaller"
BUG: Allow the new string dtype summation to work
DOC: note stringdtype output support in np.strings docstrings
DOC clarifications on debugging numpy
BUG: fix logic error in stringdtype maximum/minimum ufunc
BUG: adapt cython files to new complex declarations
TYP: Make array _ShapeType bound and covariant
ENH: Add partition/rpartition ufunc for string dtypes
MAINT: Bump actions/cache from 4.0.1 to 4.0.2
TYP: Adjust typing for ``np.random.integers`` and ``np.random.randint``
API: Require reduce promoters to start with None to match
MAINT: Bump actions/dependency-review-action from 4.1.3 to 4.2.3
DOC: Mention ``copy=True`` for ``__array__`` method in the migration...
DOC: fix typo in doc/source/user/absolute_beginners.rst
API: Default to hidden visibility for API tables
MAINT: install all-string promoter for multiply
MAINT: Remove unnecessarily defensive code from dlpack deleter
TST: fix incorrect dtype in test
BLD: Do not use -O3 flag when building in debug mode
ENH: inherit numerical dtypes from abstract ones.
BUG: fix reference counting error in stringdtype setup
BUG: update pocketfft to unconditionaly disable use of aligned_alloc
DOC: Bump pydata-sphinx-theme version
DOC: Update absolute_beginners.rst
MAINT: add missing noexcept clauses
ENH: Optimize performance of np.atleast_1d
MAINT: Bump actions/dependency-review-action from 4.2.3 to 4.2.4
CI, BLD: Push NumPy's Emscripten/Pyodide wheels nightly to Anaconda.org...
BUG: masked array division should ignore all FPEs in mask calculation
BUG: fixed datetime64[ns] conversion issue in numpy.vectorize,...
MAINT: Bump actions/setup-python from 5.0.0 to 5.1.0
MAINT: Bump actions/dependency-review-action from 4.2.4 to 4.2.5
BUG,MAINT: Fix __array__ bugs and simplify code
BUG: introduce PyArray_SafeCast to fix issues around stringdtype...
MAINT: Escalate import warning to an import error
BUG: Fix test_impossible_feature_enable failing without BASELINE_FEAT
NEP: add NEP 56 mailing list resolution
ENH: Improve performance of np.broadcast_arrays and np.broadcast_shapes
BUG: Infinite Loop in numpy.base_repr
DOC: mention np.lib.NumPyVersion in the 2.0 migration guide
DOC, TST: make ``numpy.version`` officially public
MAINT: Fix failure in routines.version.rst
DOC: Update absolute_beginners.rst
MAINT: Update Pyodide to 0.25.1
TST: Use platform.machine() for improved portability on riscv64
MNT: use pythoncapi_compat.h in npy_compat.h
BUG: fix reference counting error in wrapping_method_resolve_descriptors
TST: account for immortal objects in test_iter_refcount
API: Readd ``np.bool_`` typing stub
BENCH: Add benchmarks for np.power(x,2) and np.power(x,0.5)
MNT: try updating pythoncapi-compat
API: Enforce one copy for ``__array__`` when ``copy=True``
ENH: Enable RVV CPU feature detection
MAINT: Drop Python 3.9
MAINT: utilize ufunc API const correctness internally
TST: skip limited API test on nogil python build
MAINT: fix typo in _add_newdoc_ufunc docstring
Update numpy.any documentation example
MAINT: Update ``array-api-tests`` job
DOC: add versionadded for copy keyword in np.asarray docstring
DOC: Fixup intp/uintp documentation for ssize_t/size_t changes
DOC: Update ``__array__`` ``copy`` keyword docs
MNT: migrate PyList_GetItem usages to PyList_GetItemRef
MAINT,BUG: Robust string meson template substitution
MNT: disable the allocator cache for nogil builds
BLD: update to OpenBLAS 0.3.27
BUG: Ensure seed sequences are restored through pickling
ENH: introduce a notion of "compatible" stringdtype instances
MAINT: fix typo
MAINT: fix typo in #include example
MAINT: Update URL in nep 0014 - domain change
API: Disallow 0D input arrays in ``nonzero``
BUG: ensure np.vectorize doesn't truncate fixed-width strings
ENH: Bump Highway to HEAD and remove platform filter
BLD: use install-tags to optionally install tests
ENH: Speedup clip for floating point
BUG: Workaround for Intel Compiler mask conversion bug
MNT: replace _PyDict_GetItemStringWithError with PyDict_GetItemStringRef
TST: run the smoke tests on more python versions
ENH: Decrease wall time of ``ma.cov`` and ``ma.corrcoef``
BLD: ensure libnpymath and highway static libs use hidden visibility
API: Add ``shape`` and ``copy`` arguments to ``numpy.reshape``
MNT: disable the coercion cache for the nogil build
CI: add llvm/clang sanitizer tests
MAINT: Pin sphinx to version 7.2.6
BLD: use newer openblas wheels [wheel build]
DOC: add explanation of dtype to parameter values for np.append
MAINT: address improper error handling and cleanup for ``spin``
MAINT: Bump actions/upload-artifact from 4.3.1 to 4.3.2
DOC: Follow-up fixes for new theme
MAINT: Cleanup ``vecdot``'s signature, typing, and importing
BUG: use PyArray_SafeCast in array_astype
BUG: fix spin bench not running on Windows
DOC: Add replacement NEP links in superseded, replaced-by fields
DOC: Documentation and examples for conversion of np.timedelta64...
BUG: Fix invalid constructor in string_fastsearch.h with C++...
TST: Skip Cython test for editable install
MAINT: Bump actions/upload-artifact from 4.3.2 to 4.3.3
MAINT: update x86-simd-sort to latest
DOC: Added small clarification note, based on discussion in issue...
MAINT: Bump conda-incubator/setup-miniconda from 3.0.3 to 3.0.4
NOGIL: Make loop data cache and dispatch cache thread-safe in...
BUG: ensure text padding ufuncs handle stringdtype nan-like nulls
BUG: Fix rfft for even input length.
ENH: add support for nan-like null strings in string replace
MAINT: Simplify bugfix for even rfft
MAINT: Bump actions/dependency-review-action from 4.2.5 to 4.3.1
MAINT: Bump actions/dependency-review-action from 4.3.1 to 4.3.2
TST: static types are now immortal in the default build too
[NOGIL] thread local promotion state
DOC: fix np.unique release notes [skip cirrus]
BUG: Make sure that NumPy scalars are supported by can_cast
TYP: Fix incorrect type hint for creating a recarray from fromrecords
DOC: Update internal links for generator.rst and related
BUG: Fix incorrect return type of item with length 0 from chararray.__getitem__
DOC: Updated remaining links in random folder
DOC: Improve example on array broadcasting
BUG: Use Python pickle protocol version 4 for np.save
DOC: Add missing methods to numpy.strings docs
BUG: support nan-like null strings in [l,r]strip
MNT: more gracefully handle spin adding arguments to functions...
DOC: Update INSTALL.rst
DOC: Fix some typos and incorrect markups
MAINT: updated instructions to get MachAr byte pattern
MAINT: Bump ossf/scorecard-action from 2.3.1 to 2.3.3
DOC: add reference docs for NpyString C API
MNT: clean up references to array_owned==2 case in StringDType
TYP,TST: Bump mypy to 1.10.0
MAINT: Bump pypa/cibuildwheel from 2.17.0 to 2.18.0
TYP: npyio: loadtxt: usecols: add None type
TST: skip test_frompyfunc_leaks in the free-threaded build
MAINT: Add some PR prefixes to the labeler.
BUG: fixes for three related stringdtype issues
BUG: int32 and intc should both appear in sctypes
DOC: Adding links to polynomial table.
TST: temporarily pin spin to work around issue in 0.9 release
DOC: Remove outdated authentication instructions
TST: fix xfailed tests on pypy 7.3.16
TST: attempt to fix intel SDE SIMD CI
MAINT: fix typo
DEP: Deprecate 'fix_imports' flag in numpy.save
ENH: improve the error raised by ``numpy.isdtype``
TST: add basic free-threaded CI testing
BLD: update vendored-meson to current Meson master (1.4.99)
MAINT: Bump github/codeql-action from 2.13.4 to 3.25.5
BLD: cp313 [wheel build]
BLD: Make NumPy build reproducibly
DOC: Skip API documentation for numpy.distutils with Python 3.12...
DOC: Set default as ``-j 1`` for spin docs and move ``-W`` to SPHINXOPTS
TYP: fix type annotation for ``newbyteorder``
Improve documentation of numpy.ma.filled
MAINT: Bump github/codeql-action from 3.25.5 to 3.25.6
MAINT: Bump pypa/cibuildwheel from 2.18.0 to 2.18.1
DOC: add examples to get_printoptions
DOC: add example to get_include
DOC: fix rng.random example in numpy-for-matlab-users
ENH: Implement DLPack version 1
TST: work around flaky test on free-threaded build
DOC: Copy-edit numpy 2.0 migration guide.
DOC: update the NumPy Roadmap
MAINT: mark temp elision address cache as thread local
MAINT: Bump mamba-org/setup-micromamba from 1.8.1 to 1.9.0
CI: enable free-threaded wheel builds [wheel build]
MAINT: Avoid gcc compiler warning
MAINT: Fix GCC -Wmaybe-uninitialized warning
DOC: Add missing functions to the migration guide
MAINT: Avoid by-pointer parameter passing for LINEARIZE_DATA_t...
BUG: Fix handling of size=() in Generator.choice when a.ndim...
BUG: fix incorrect error handling for dtype('a') deprecation
BUG: fix assert in PyArry_ConcatenateArrays with StringDType
BUG: ``PyDataMem_SetHandler`` check capsule name
BUG: Fix entry-point of Texinfo docs
BUG: cast missing in PyPy-specific f2py code, pin spin in CI
BUG: Fix F77 ! comment handling
DOC: Update ``gradient`` docstrings
MAINT: Remove redundant print from bug report issue template
BUG: Fix typo in array-wrap code that lead to memory leak
BUG: Make Polynomial evaluation adhere to nep 50
BUG: Fix in1d fast-path range
BUG: fancy indexing copy
BUG: fix setxor1d when input arrays aren't 1D
MAINT: Bump mamba-org/setup-micromamba from 1.8.1 to 1.9.0
BUG: Fix memory leaks found with valgrind
CI, BLD: Upgrade to Pyodide 0.26.0 for Emscripten/Pyodide CI...
DOC: update ufunc tutorials to use setuptools
BUG: fix memory leaks found with valgrind (next)
MAINT: Unpin pydata-sphinx-theme
DOC: Added web docs for missing ma and strings routines
ENH: Add array API inspection functions
ENH: Add unstack()
ENH: Add copy and device keyword to np.asanyarray to match np.asarray
BUG: weighted nanpercentile, nanquantile and multi-dim q
MAINT: Bump github/codeql-action from 3.25.6 to 3.25.7
BUG: Fix memory leaks found by valgrind
BUG: catch invalid fixed-width dtype sizes
DOC: Update constants.rst: fix URL redirect
ENH: Better error message for axis=None in ``np.put_along_axis``...
ENH: use size-zero dtype for broadcast-shapes
TST: Re-enable int8/uint8 einsum tests
BUG: Disallow string inputs for ``copy`` keyword in ``np.array``...
refguide-check with pytest as a runner
DOC: fix typos in numpy v2.0 documentation
DOC: Update randn() to use rng.standard_normal()
MNT: Reorganize non-constant global statics into structs
DOC: Updated notes and examples for np.insert.
BUG: np.take handle 64-bit indices on 32-bit platforms
MNT: Remove ``set_string_function``
MAINT: Bump github/codeql-action from 3.25.7 to 3.25.8
TST: Re-enable ``test_shift_all_bits`` on clang-cl
DOC: add ``getbufsize`` example
DOC: add ``setbufsize`` example
DOC: add ``matrix_transpose`` example
DOC: add ``unique_all`` example
DOC: add ``unique_counts`` example
DOC: add ``unique_inverse`` example
DOC: add ``unique_values`` example
DOC: fix ``matrix_transpose`` doctest
BUG: Replace dots with underscores in f2py meson backend for...
MAINT: Bump actions/dependency-review-action from 4.3.2 to 4.3.3
BUG: fix incorrect randomized parameterization in bench_linalg
MNT: use reproducible RNG sequences in benchmarks
MNT: more benchmark cleanup
DOC: Update 2.0 migration guide
DOC: Added clean_dirs to spin docs to remove generated folders
DOC: Enable web docs for numpy.trapezoid and add back links
DOC: Update docstring for invert function
CI: modified CI job to test editable install
MAINT: Bump pypa/cibuildwheel from 2.18.1 to 2.19.0
DOC: add CI and NEP commit acronyms
CI: build and upload free-threaded nightly wheels for macOS
BUG: Adds asanyarray to start of linalg.cross
MAINT: Bump github/codeql-action from 3.25.8 to 3.25.9
CI: upgrade FreeBSD Cirrus job from FreeBSD 13.2 to 14.0
CI: Use default llvm on Windows.
MAINT: mark evil_global_disable_warn_O4O8_flag as thread-local
DOC: add ``np.linalg`` examples
remove doctesting from refguide-check, add ``spin check-tutorials``
MAINT: Bump pypa/cibuildwheel from 2.19.0 to 2.19.1
MAINT: Bump github/codeql-action from 3.25.9 to 3.25.10
MAINT: Add comment lost in previous PR.
BUILD: check for scipy-doctest, remove it from requirements
DOC: document workaround for deprecation of dim-2 inputs to ``cross``
BUG: allow replacement in the dispatch cache
DOC: Added missing See Also sections in Polynomial module
BUG: Handle ``--f77flags`` and ``--f90flags`` for ``meson``
TST: Skip an f2py module test on Windows
MAINT: Update main after 2.0.0 release.
DOC: Add clarifications np.argpartition
DOC: Mention more error paths and try to consolidate import errors
DOC, MAINT: Turn on version warning banner provided by PyData...
DOC: Update roadmap a bit more
ENH: Add Array API 2023.12 version support
DOC: Extend release notes
DOC: Update NEPs statuses
DOC: Remove mention of NaN and NAN aliases from constants
DOC: Mention '1.25' legacy printing mode in ``set_printoptions``
BUG: Fix new DTypes and new string promotion when signature is...
ENH: Add locking to umath_linalg if no lapack is detected at...
TYP: fix incorrect import in ``ma/extras.pyi`` stub
BUG: fix max_rows and chunked string/datetime reading in ``loadtxt``
ENH: Support integer dtype inputs in rounding functions
BUG: Quantile closest_observation to round to nearest even order
DOC, NEP: Update NEP44
BUG: fix PyArray_ImportNumPyAPI under -Werror=strict-prototypes
BUG: remove numpy.f2py from excludedimports
MAINT: use an atomic load/store and a mutex to initialize the...
TYP: fix missing ``sys`` import in numeric.pyi
BUG: avoid side-effect of 'include complex.h'
DOC: Update link to Python stdlib random.
BUG: add order to out array of ``numpy.fft``
BLD: Fix x86-simd-sort build failure on openBSD
MNT: Update dlpack docs and typing stubs
Missing meson pass-through argument
DOC: Update 2.0 migration guide and release note
DOC: Change selected hardlinks to NEPs to intersphinx mappings
DOC: update notes on sign for complex numbers
CI,TST: Fix meson tests needing gfortran [wheel build]
TST: fix 'spin test single_test' for future versions of spin
DOC: Add ``>>> import numpy as np`` stubs everywhere
MAINT: Bump github/codeql-action from 3.25.10 to 3.25.11
DOC: remove hack to override _add_newdocs_scalars
DOC: AI-Gen examples ctypeslib.as_ctypes_types
DOC: AI generated examples for ma.left_shift.
DOC: AI-Gen examples for ma.put
DOC: AI generated examples for ma.reshape
DOC: AI generated examples for ma.correlate.
MAINT: Bump pypa/cibuildwheel from 2.19.1 to 2.19.2
BENCH: Missing ufunc in benchmarks
BUILD: clean out py2 stuff from npy_3kcompat.h
MAINT: back printoptions with a true context variable
TYP: fix ``ufunc`` method type annotations
TYP: include the ``|`` prefix for ``dtype`` char codes
BUG: Mismatched allocation domains in ``PyArray_FillWithScalar``
TYP: Annotate type aliases as ``typing.TypeAlias``
MAINT: Bump actions/upload-artifact from 4.3.3 to 4.3.4
TYP,BUG: fix ``numpy.__dir__`` annotations
TYP: adopt ``typing.LiteralString`` and use more of ``typing.Literal``
TYP: use ``types.CapsuleType`` on python>=3.13
TYP: improved ``numpy._array_api_info`` typing
TYP,BUG: Replace ``numpy._typing._UnknownType`` with ``typing.Never``
BUG: start applying ruff/flake8-implicit-str-concat rules (ISC)
MAINT: start applying ruff/flake8-simplify rules (SIM)
DOC: Fix small incorrect markup
DOC, MAINT: fix typos found by codespell
MAINT: start applying ruff/pyupgrade rules (UP)
BUG: Make issctype always return bool.
MAINT: Remove a redundant import from the generated __ufunc_api.h.
API: Add ``device`` and ``to_device`` to scalars
DOC: Add a note that one should free the proto struct
ENH: Allow use of clip with Python integers to always succeed
MAINT: Bump actions/setup-node from 4.0.2 to 4.0.3
DOC: Change documentation copyright strings to use a dynamic...
DOC: Change NEP hardlinks to intersphinx mappings.
TYP: type hint ``numpy.polynomial``
BUG: ``np.loadtxt`` return F_CONTIGUOUS ndarray if row size is...
Apply some ruff/flake8-bugbear rules (B004 and B005)
BUG: Fix off-by-one error in amount of characters in strip
BUG,ENH: Fix generic scalar infinite recursion issues
API: Do not consider subclasses for NEP 50 weak promotion
MAINT: Bump actions/setup-python from 5.1.0 to 5.1.1
ENH: Provide a hook for gufuncs to process core dimensions.
MAINT: declare that NumPy's C extensions support running without...
API: Partially revert unique with return_inverse
BUG,MAINT: Fix utf-8 character stripping memory access
MAINT: Bump actions/dependency-review-action from 4.3.3 to 4.3.4
MAINT: Bump github/codeql-action from 3.25.11 to 3.25.12
TYP: Transparent ``__array__`` shape-type
TYP: Covariant ``numpy.flatiter`` type parameter
TYP: Positional-only dunder binop method parameters
BUG: Fix out-of-bound minimum offset for in1d table method
DOC, BUG: Fix running full test command in docstring
MAINT: add PyArray_ZeroContiguousBuffer helper and use it in...
BUG: fix ``f2py`` tests to work with v2 API
TYP,BUG: Remove ``numpy.cast`` and ``numpy.disp`` from the typing...
TYP,BUG: Fix ``dtype`` type alias specialization issue in ``__init__.pyi``
TYP: Improved ``numpy.generic`` rich comparison operator type...
TYP,BUG: Remove non-existant ``numpy.__git_version__`` in the...
TYP: Add missing typecodes in ``numpy._core.numerictypes.typecodes``
MAINT: add freethreading_compatible directive to cython build
TYP: Replace ``typing.Union`` with ``|`` in ``numpy._typing``
TYP: Replace ``typing.Optional[T]`` with ``T | None`` in the...
DOC: Issue template for static typing
MAINT: add a 'tests' install tag to the `numpy._core._simd` extension...
BUG: Fix unicode strip
BUG: Off by one in memory overlap check
TYP: Use ``Final`` and ``LiteralString`` for the constants in...
DOC: add sphinx-copybutton
ENH: add support in f2py to declare gil-disabled support
TYP,BUG: Type annotations for ``numpy.trapezoid``
TYP,BUG: Fix potentially unresolved typevar in ``median`` and...
BUG: Add object cast to avoid warning with limited API
DOC: fix ctypes example
MAINT: mark scipy-openblas nightly tests as allowed to fail
TYP: Covariant ``numpy.ndenumerate`` type parameter
TYP,BUG: FIx ``numpy.ndenumerate`` annotations for ``object_``...
ENH: Add ``__slots__`` to private (sub-)classes in ``numpy.lib._index_tricks_impl``
MAINT: Update main after 2.0.1 release.
TYP,BUG: Complete type stubs for ``numpy.dtypes``
TST, MAINT: Loosen required test precision
DOC: update tutorials link
MAINT: replace PyThread_type_lock with PyMutex on Python >= 3.13.0b3
BUG: cfuncs.py: fix crash when sys.stderr is not available
BUG: fix gcd inf
DOC: Fix migration note for ``alltrue`` and ``sometrue``
DOC: Release note for feature added in gh-26908.
TYP: improved ``numpy.array`` type hints for array-like input
DOC: Replace np.matrix in .view() docstring example.
DOC: fix tiny typo
BUG: Fix simd loadable stride logic
DOC: document 'floatmode' and 'legacy' keys from np.get_printoptions'...
BUG: random: Fix edge case of Johnk's algorithm for the beta...
MAINT: Bump github/codeql-action from 3.25.12 to 3.25.14
CI: unify free-threaded wheel builds with other builds
BUG: random: prevent zipf from hanging when parameter is large.
BUG: use proper input and output descriptor in array_assign_subscript...
BUG: random: Fix long delays/hangs with zipf(a) when a near 1.
BUG: Mirror VQSORT_ENABLED logic in Quicksort
TST: Refactor to consistently use CompilerChecker
TST: fix issues with tests that use numpy.testing.extbuild
MAINT: Bump ossf/scorecard-action from 2.3.3 to 2.4.0
MAINT: Bump github/codeql-action from 3.25.14 to 3.25.15
BUG: fix another cast setup in array_assign_subscript
DOC: Add some missing examples for ``np.strings`` methods
ENH: Disable name suggestions on some AttributeErrors
MAINT: linalg: Simplify some linalg gufuncs.
BUG: Bump Highway to latest master
DEP: lib: Deprecate acceptance of float (and more) in bincount.
MAINT: 3.9/10 cleanups
CI: Upgrade ``array-api-tests``
ENH: fixes for warnings on free-threaded wheel builds
ENH: mark the dragon4 scratch space as thread-local
DOC: update np.shares_memory() docs
API,BUG: Fix copyto (and ufunc) handling of scalar cast safety
DOC: Add release note about deprecation introduced in gh-27076.
DOC: Fix indentation of a few release notes.
BUG: Complex printing tests fail on Windows ARM64
MAINT: Bump actions/upload-artifact from 4.3.4 to 4.3.5
BUG: add missing error handling in public_dtype_api.c
DOC: Fixup promotion doc
BUG: Fix building NumPy in FIPS mode
DOC: remove incorrect docstring comment
BLD: cp313 cp313t linux_aarch64 [wheel build]
BUG: Fix repr for integer scalar subclasses
DEV: make linter.py runnable from outside the root of the repo
MAINT: Bump pypa/cibuildwheel from 2.19.2 to 2.20.0
BUG: Use the new ``npyv_loadable_stride_`` functions for ldexp and...
BUG: Ensure that scalar binops prioritize __array_ufunc__
BLD: update vendored Meson for cross-compilation patches
BUG: Bump Highway to latest
MAINT: Bump github/codeql-action from 3.25.15 to 3.26.0
MAINT: Bump actions/upload-artifact from 4.3.5 to 4.3.6
BUG: Fix missing error return in copyto
MAINT: Scipy openblas 0.3.27.44.4
BUG: Do not accidentally store dtype metadata in ``np.save``
BLD: use smaller scipy-openblas builds
ENH: fix thread-unsafe C API usages
MAINT: Bump pythoncapi-compat version.
REL: Prepare for the NumPy 2.1.0rc1 release [wheel build]
BUILD: use a shrunken version of scipy-openblas wheels [wheel...
REV: Revert undef I and document it
BUILD: improve download script
MAINT: update default NPY_FEATURE_VERSION after dropping py39
DOC: add free-threading release notes
BUG: Fix NPY_RAVEL_AXIS on backwards compatible NumPy 2 builds
TYP: Fixed & improved type hints for ``numpy.histogram2d``
TYP: Fix incompatible overrides in the ``numpy._typing._ufunc``...
BUG: Fix ``PyArray_ZeroContiguousBuffer`` (resize) with struct...
DOC: add docs on thread safety in NumPy
BUG: Allow fitting of degree zero polynomials with Polynomial.fit


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 pkgsrc/math/py-numpy/Makefile
cvs rdiff -u -r1.47 -r1.48 pkgsrc/math/py-numpy/PLIST
cvs rdiff -u -r1.91 -r1.92 pkgsrc/math/py-numpy/distinfo

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.124 pkgsrc/math/py-numpy/Makefile:1.125
--- pkgsrc/math/py-numpy/Makefile:1.124 Sun Aug 11 13:12:08 2024
+++ pkgsrc/math/py-numpy/Makefile       Wed Aug 21 10:10:48 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.124 2024/08/11 13:12:08 wiz Exp $
+# $NetBSD: Makefile,v 1.125 2024/08/21 10:10:48 adam Exp $
 
-DISTNAME=      numpy-2.0.1
+DISTNAME=      numpy-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/numpy/}
 
@@ -13,29 +12,24 @@ LICENSE=    modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-meson_python-[0-9]*:../../devel/py-meson_python
 TOOL_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
-#TOOL_DEPENDS+=        ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.2.0:../../devel/py-typing-extensions
 
+USE_CXX_FEATURES=      c++17
 USE_LANGUAGES=         c c++ fortran
-
+USE_TOOLS+=            pkg-config
 # error: 'for' loop initial declarations are only allowed in C99 mode
 FORCE_C_STD=           c99
-
-USE_CXX_FEATURES+=     c++17
-
 # checks for gcc 8.4
 GCC_REQD+=             8
 
-USE_TOOLS+=            pkg-config
-
 .include "../../math/py-numpy/make_env.mk"
 
 REPLACE_PYTHON+=       *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 38
+PYTHON_VERSIONS_INCOMPATIBLE=  38
 
 .include "../../lang/python/pyversion.mk"
 PLIST_VARS+=           distutils
@@ -99,8 +93,12 @@ post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
 .endfor
 
-# as of 2.0.1
-# 28 failed, 46633 passed, 1721 skipped, 2789 deselected, 59 xfailed, 4 xpassed, 1 warning
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_MESSAGE.paths=   Fixing path to numpy-configure (for tests).
+SUBST_FILES.paths=     numpy/tests/test_configtool.py
+SUBST_SED.paths=       -e 's,'numpy-config','numpy-config-${PYVERSSUFFIX}',g'
+
 do-test:
        cd ${WRKDIR} && \
        ${SETENV} ${TEST_ENV} PYTHONPATH=${DESTDIR}${PREFIX}/${PYSITELIB} ${PYTHONBIN} -c "import numpy; numpy.test()"

Index: pkgsrc/math/py-numpy/PLIST
diff -u pkgsrc/math/py-numpy/PLIST:1.47 pkgsrc/math/py-numpy/PLIST:1.48
--- pkgsrc/math/py-numpy/PLIST:1.47     Wed Jul 31 18:11:24 2024
+++ pkgsrc/math/py-numpy/PLIST  Wed Aug 21 10:10:48 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.47 2024/07/31 18:11:24 adam Exp $
+@comment $NetBSD: PLIST,v 1.48 2024/08/21 10:10:48 adam Exp $
 bin/f2py-${PYVERSSUFFIX}
 bin/numpy-config-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
@@ -15,6 +15,10 @@ ${PYSITELIB}/numpy/__init__.py
 ${PYSITELIB}/numpy/__init__.pyc
 ${PYSITELIB}/numpy/__init__.pyi
 ${PYSITELIB}/numpy/__init__.pyo
+${PYSITELIB}/numpy/_array_api_info.py
+${PYSITELIB}/numpy/_array_api_info.pyc
+${PYSITELIB}/numpy/_array_api_info.pyi
+${PYSITELIB}/numpy/_array_api_info.pyo
 ${PYSITELIB}/numpy/_configtool.py
 ${PYSITELIB}/numpy/_configtool.pyc
 ${PYSITELIB}/numpy/_configtool.pyo
@@ -149,6 +153,9 @@ ${PYSITELIB}/numpy/_core/numerictypes.py
 ${PYSITELIB}/numpy/_core/overrides.py
 ${PYSITELIB}/numpy/_core/overrides.pyc
 ${PYSITELIB}/numpy/_core/overrides.pyo
+${PYSITELIB}/numpy/_core/printoptions.py
+${PYSITELIB}/numpy/_core/printoptions.pyc
+${PYSITELIB}/numpy/_core/printoptions.pyo
 ${PYSITELIB}/numpy/_core/records.py
 ${PYSITELIB}/numpy/_core/records.pyc
 ${PYSITELIB}/numpy/_core/records.pyi
@@ -161,9 +168,6 @@ ${PYSITELIB}/numpy/_core/strings.py
 ${PYSITELIB}/numpy/_core/strings.pyc
 ${PYSITELIB}/numpy/_core/strings.pyi
 ${PYSITELIB}/numpy/_core/strings.pyo
-${PYSITELIB}/numpy/_core/tests/__init__.py
-${PYSITELIB}/numpy/_core/tests/__init__.pyc
-${PYSITELIB}/numpy/_core/tests/__init__.pyo
 ${PYSITELIB}/numpy/_core/tests/_locales.py
 ${PYSITELIB}/numpy/_core/tests/_locales.pyc
 ${PYSITELIB}/numpy/_core/tests/_locales.pyo
@@ -218,6 +222,9 @@ ${PYSITELIB}/numpy/_core/tests/test_api.
 ${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_api_info.py
+${PYSITELIB}/numpy/_core/tests/test_array_api_info.pyc
+${PYSITELIB}/numpy/_core/tests/test_array_api_info.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
@@ -320,6 +327,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_multithreading.py
+${PYSITELIB}/numpy/_core/tests/test_multithreading.pyc
+${PYSITELIB}/numpy/_core/tests/test_multithreading.pyo
 ${PYSITELIB}/numpy/_core/tests/test_nditer.py
 ${PYSITELIB}/numpy/_core/tests/test_nditer.pyc
 ${PYSITELIB}/numpy/_core/tests/test_nditer.pyo
@@ -413,12 +423,15 @@ ${PYSITELIB}/numpy/_pyinstaller/__init__
 ${PYSITELIB}/numpy/_pyinstaller/hook-numpy.py
 ${PYSITELIB}/numpy/_pyinstaller/hook-numpy.pyc
 ${PYSITELIB}/numpy/_pyinstaller/hook-numpy.pyo
-${PYSITELIB}/numpy/_pyinstaller/pyinstaller-smoke.py
-${PYSITELIB}/numpy/_pyinstaller/pyinstaller-smoke.pyc
-${PYSITELIB}/numpy/_pyinstaller/pyinstaller-smoke.pyo
-${PYSITELIB}/numpy/_pyinstaller/test_pyinstaller.py
-${PYSITELIB}/numpy/_pyinstaller/test_pyinstaller.pyc
-${PYSITELIB}/numpy/_pyinstaller/test_pyinstaller.pyo
+${PYSITELIB}/numpy/_pyinstaller/tests/__init__.py
+${PYSITELIB}/numpy/_pyinstaller/tests/__init__.pyc
+${PYSITELIB}/numpy/_pyinstaller/tests/__init__.pyo
+${PYSITELIB}/numpy/_pyinstaller/tests/pyinstaller-smoke.py
+${PYSITELIB}/numpy/_pyinstaller/tests/pyinstaller-smoke.pyc
+${PYSITELIB}/numpy/_pyinstaller/tests/pyinstaller-smoke.pyo
+${PYSITELIB}/numpy/_pyinstaller/tests/test_pyinstaller.py
+${PYSITELIB}/numpy/_pyinstaller/tests/test_pyinstaller.pyc
+${PYSITELIB}/numpy/_pyinstaller/tests/test_pyinstaller.pyo
 ${PYSITELIB}/numpy/_pytesttester.py
 ${PYSITELIB}/numpy/_pytesttester.pyc
 ${PYSITELIB}/numpy/_pytesttester.pyi
@@ -1441,6 +1454,7 @@ ${PYSITELIB}/numpy/polynomial/_polybase.
 ${PYSITELIB}/numpy/polynomial/_polybase.pyc
 ${PYSITELIB}/numpy/polynomial/_polybase.pyi
 ${PYSITELIB}/numpy/polynomial/_polybase.pyo
+${PYSITELIB}/numpy/polynomial/_polytypes.pyi
 ${PYSITELIB}/numpy/polynomial/chebyshev.py
 ${PYSITELIB}/numpy/polynomial/chebyshev.pyc
 ${PYSITELIB}/numpy/polynomial/chebyshev.pyi
@@ -1712,6 +1726,7 @@ ${PYSITELIB}/numpy/typing/tests/data/fai
 ${PYSITELIB}/numpy/typing/tests/data/fail/random.pyi
 ${PYSITELIB}/numpy/typing/tests/data/fail/rec.pyi
 ${PYSITELIB}/numpy/typing/tests/data/fail/scalars.pyi
+${PYSITELIB}/numpy/typing/tests/data/fail/shape.pyi
 ${PYSITELIB}/numpy/typing/tests/data/fail/shape_base.pyi
 ${PYSITELIB}/numpy/typing/tests/data/fail/stride_tricks.pyi
 ${PYSITELIB}/numpy/typing/tests/data/fail/strings.pyi
@@ -1802,6 +1817,9 @@ ${PYSITELIB}/numpy/typing/tests/data/pas
 ${PYSITELIB}/numpy/typing/tests/data/pass/scalars.py
 ${PYSITELIB}/numpy/typing/tests/data/pass/scalars.pyc
 ${PYSITELIB}/numpy/typing/tests/data/pass/scalars.pyo
+${PYSITELIB}/numpy/typing/tests/data/pass/shape.py
+${PYSITELIB}/numpy/typing/tests/data/pass/shape.pyc
+${PYSITELIB}/numpy/typing/tests/data/pass/shape.pyo
 ${PYSITELIB}/numpy/typing/tests/data/pass/simple.py
 ${PYSITELIB}/numpy/typing/tests/data/pass/simple.pyc
 ${PYSITELIB}/numpy/typing/tests/data/pass/simple.pyo
@@ -1821,6 +1839,7 @@ ${PYSITELIB}/numpy/typing/tests/data/pas
 ${PYSITELIB}/numpy/typing/tests/data/pass/warnings_and_errors.pyc
 ${PYSITELIB}/numpy/typing/tests/data/pass/warnings_and_errors.pyo
 ${PYSITELIB}/numpy/typing/tests/data/reveal/arithmetic.pyi
+${PYSITELIB}/numpy/typing/tests/data/reveal/array_api_info.pyi
 ${PYSITELIB}/numpy/typing/tests/data/reveal/array_constructors.pyi
 ${PYSITELIB}/numpy/typing/tests/data/reveal/arraypad.pyi
 ${PYSITELIB}/numpy/typing/tests/data/reveal/arrayprint.pyi
@@ -1862,9 +1881,13 @@ ${PYSITELIB}/numpy/typing/tests/data/rev
 ${PYSITELIB}/numpy/typing/tests/data/reveal/npyio.pyi
 ${PYSITELIB}/numpy/typing/tests/data/reveal/numeric.pyi
 ${PYSITELIB}/numpy/typing/tests/data/reveal/numerictypes.pyi
+${PYSITELIB}/numpy/typing/tests/data/reveal/polynomial_polybase.pyi
+${PYSITELIB}/numpy/typing/tests/data/reveal/polynomial_polyutils.pyi
+${PYSITELIB}/numpy/typing/tests/data/reveal/polynomial_series.pyi
 ${PYSITELIB}/numpy/typing/tests/data/reveal/random.pyi
 ${PYSITELIB}/numpy/typing/tests/data/reveal/rec.pyi
 ${PYSITELIB}/numpy/typing/tests/data/reveal/scalars.pyi
+${PYSITELIB}/numpy/typing/tests/data/reveal/shape.pyi
 ${PYSITELIB}/numpy/typing/tests/data/reveal/shape_base.pyi
 ${PYSITELIB}/numpy/typing/tests/data/reveal/stride_tricks.pyi
 ${PYSITELIB}/numpy/typing/tests/data/reveal/strings.pyi

Index: pkgsrc/math/py-numpy/distinfo
diff -u pkgsrc/math/py-numpy/distinfo:1.91 pkgsrc/math/py-numpy/distinfo:1.92
--- pkgsrc/math/py-numpy/distinfo:1.91  Wed Jul 31 18:11:24 2024
+++ pkgsrc/math/py-numpy/distinfo       Wed Aug 21 10:10:48 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.91 2024/07/31 18:11:24 adam Exp $
+$NetBSD: distinfo,v 1.92 2024/08/21 10:10:48 adam Exp $
 
-BLAKE2s (numpy-2.0.1.tar.gz) = 72fa3b0a7b55851aeae797872a269995bffda013b76f2c19a1bee9aeadcf8455
-SHA512 (numpy-2.0.1.tar.gz) = 4f638c17b44317b0000000b729726a5a4e9519af11d254b0e2daf32c6ff0cfdd56723a9cbee67c9145088f429f1f0cce79240f968211c2fb5ac08378e86dccfe
-Size (numpy-2.0.1.tar.gz) = 18872007 bytes
+BLAKE2s (numpy-2.1.0.tar.gz) = 1eab523d8661ef0bdd77df46554e6990c04a9d9a35d5333cf37e91ea19ef6c1b
+SHA512 (numpy-2.1.0.tar.gz) = d0948aa8bb7406b91d79cdd1d5019632e00c60aefbbf5c0884dd91ec8dda6a5369538ab20ef6a201595eeba98bf3a19a407e58a3d4e4e2f412420e65400d7bdd
+Size (numpy-2.1.0.tar.gz) = 18868922 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



Home | Main Index | Thread Index | Old Index