summaryrefslogtreecommitdiff
path: root/math/py-numpy
AgeCommit message (Collapse)AuthorFilesLines
2022-05-25py-numpy: just assume the __builtin_prefetch configure test workstnn3-6/+6
Also bump PKGREVISION since this is an installed header.
2022-05-25py-numpy: fix build on macOS and maybe otherstnn4-7/+39
2022-05-23py-numpy: Workaround undefined-symbol errors under NetBSD at leastryoon4-5/+85
py-numpy-1.22.4's symbol check mechanism does not work for NetBSD and the other platforms, because gcc and clang calculate trivial math functions, for example, log1pl() and expm1l(), with immediate arguments, for example 0. So compiling 'log1pl(0)' is always successful even if -lm is not added to the compiler's commandline arguments. Use GNU autotools style check with ugly workaround. I have no idea about WASM case. However current mechanism will not work as expected. Bump PKGREVISION.
2022-05-22py-numpy: updated to 1.22.4adam3-22/+10
1.22.4: TYP, BUG: Fix ``np.lib.stride_tricks`` re-exported under the... TST: Bump mypy from 0.931 to 0.940 MAINT: Explicitly re-export the types in ``numpy._typing`` MAINT: Specify sphinx, numpydoc versions for CI doc builds BUG: Fix typos ENH, BLD: Fix math feature detection for wasm MAINT: Fix failing simd and cygwin tests. MAINT: Fix failing Python 3.8 32-bit Windows test. BUG: add linux guard BUG: Allow legacy dtypes to cast to datetime again BUG: Make mmap handling safer in frombuffer BUG: Stop using PyBytesObject.ob_shash deprecated in Python 3.11. ENH: Introduce numpy.core.setup_common.NPY_CXX_FLAGS BUG: Ensure compile errors are raised correclty BUG: Fix segmentation fault MAINT: Update doc requirements MAINT: Mark ``npy_memchr`` with ``no_sanitize("alignment")`` on clang DOC: Proposal - make the doc landing page cards more similar... MAINT: Update Cython version to 0.29.30. BUG: Fix GCC error during build configuration REL: Prepare for the NumPy 1.22.4 release. MAINT: Skip tests that fail on PyPy.
2022-05-08py-numpy: Expects compiler to default to C++11.nia1-2/+2
2022-04-12py-numpy: fix build on SunOStnn2-5/+17
2022-04-10py-numpy: fix build on NetBSDtnn2-1/+31
2022-04-09py-numpy: Python 3.7 will get the older version from now onadam1-2/+2
2022-04-09py-numpy: updated to 1.22.3adam3-83/+251
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.
2022-01-29py-numpy: do not install f2py3 to avoid conflict with other versions of this ↵wiz3-5/+5
package use ALTERNATIVES framework to provide it Bump PKGREVISION.
2022-01-05python: egg.mk: add USE_PKG_RESOURCES flagwiz1-2/+4
This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
2022-01-04*: bump PKGREVISION for egg.mk userswiz1-1/+2
They now have a tool dependency on py-setuptools instead of a DEPENDS
2021-12-30Forget about Python 3.6adam2-5/+3
2021-12-20py-numpy: updated to 1.21.5adam2-7/+7
1.21.5: BUG: Fix shadowed reference of `dtype` in type stub BUG: Fix headers for universal2 builds BUG: ``VOID_nonzero`` could sometimes mutate alignment flag BUG: Do not use nonzero fastpath on unaligned arrays BUG: Distutils patch to allow for 2 as a minor version (!) BUG, SIMD: Fix 64-bit/8-bit integer division by a scalar BUG, SIMD: Workaround broadcasting SIMD 64-bit integers on MSVC... REL: Prepare for the NumPy 1.21.4 release. TST: Fix a `Arrayterator` typing test failure
2021-11-06py-numpy: updated to 1.21.4adam2-6/+6
The NumPy 1.21.4 is a maintenance release that fixes a few bugs discovered after 1.21.3. The most important fix here is a fix for the NumPy header files to make them work for both x86_64 and M1 hardware when included in the Mac universal2 wheels. Previously, the header files only worked for M1 and this caused problems for folks building x86_64 extensions. This problem was not seen before Python 3.10 because there were thin wheels for x86_64 that had precedence. This release also provides thin x86_64 Mac wheels for Python 3.10.
2021-11-02py-numpy: updated to 1.21.3adam4-109/+128
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
2021-10-26math: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes
2021-10-07math: Remove SHA1 hashes for distfilesnia1-2/+1
2021-07-01py-numpy: set PYTHON_VERSIONS_INCOMPATIBLE in bl3.mknia1-1/+3
2021-06-29py-numpy: "Python version >= 3.7 required."nia1-2/+2
2021-06-15mk/blas.bl3, Netlib and OpenBLAS packages, NumPy: C fixup and 64 bitsthor3-9/+22
This delivers 64 bit index BLAS libraries alongside 32 bit ones. This is often called ILP64 in the BLAS world, as opposed to LP64 where integers are 32 bit due to the Fortran default integer type, not to be confused with the basic system ABI used by C. For really large vectors on modern machines, you want an 'ILP64' BLAS and layers on top of it. In preparation of better support for vendor BLAS libraries, I had to realize that you better use the C interfaces supplied by them, not the netlib one strapped on. A simple reason of practicability: The vendor blas libraries, just like openblas, like to ship all symbols in one library, so you get them whether you want it or not. Also implementations may skip Fortran and implement the underlying functionality directly in C anyway, so one might skip a layer of indirection. Future will tell if other layers will follow. We still have the framework of individual layers from Netlib to combine with certain implementations that miss them (Accelerate framework comes to mind, which needs further work). The framework of netlib reference packages for the separate libraries is instructive and helps keeping things small when you not need all of them. The installation location of the headers is now in a subdirectory to be able to have 32 and 64 bit variants independently. The 32 bit ones are linked to ${PREFIX}/include to keep the old picture. We could be brave and remove those, but there is some value in a build just trying -lcblas and inclusion of <cblas.h> to be happy. There is one blas.buildlink3.mk that is supposed to be used only once and so avoids a combination of conflicting libraries (as the 64 bit index symbols have the same names as the 32 bit ones). Basic usage for getting LAPACK+BLAS is still the same as before. You get CBLAS and LAPACKE by setting BLAS_C_INTERFACE=yes in the package. The 64 bit indices are selected via BLAS_INDEX64=yes. Due to the special nature of the Accelerate framework, a package has to explicitly indicate support for it and it will also not appear on the list of implementations by default. The reason is that it does provide mainly CBLAS and CLAPACK (another version of C interface to LAPACK, f2c-based) and BLAS/LAPACK with f2c/g77 calling conventions. A default build with gfortran would not like that This commit also fixes up math/py-numpy and math/py-numpy16 to follow the new scheme, as that are the only packages directly affected by the change in CBLAS providership.
2021-06-15math/py-numpy: document BLAS distinfo patchthor2-3/+5
2021-05-12py-numpy: updated to 1.20.3adam2-7/+7
1.20.3: BUG: Correct ``datetime64`` missing type overload for ``datetime.date`` MAINT: Remove ``__all__`` in favor of explicit re-exports BLD: Strip extra newline when dumping gfortran version on MacOS BUG: fix segfault in object/longdouble operations MAINT: Use towncrier build explicitly MAINT: Relax certain integer-type constraints MAINT: Remove unsafe unions and ABCs from return-annotations MAINT: Allow more recursion depth for scalar tests. BUG: Initialize the full nditer buffer in case of error BLD: remove unnecessary flag ``-faltivec`` on macOS MAINT, CI: treats _SIMD module build warnings as errors through... BUG: for MINGW, threads.h existence test requires GLIBC > 2.12 BUG: Make changelog recognize gh- as a PR number prefix. REL, DOC: Prepare for the NumPy 1.20.3 release. BUG: Fix failing mypy test in 1.20.x.
2021-05-05py-numpy: allow python 3.6 againwiz1-2/+2
Better have this listed as breakage for py36-numpy than not having the bulk builds start up because the packages using this still want to build it for python 3.6
2021-05-03py-numpy: updated to 1.20.2adam7-74/+262
1.20.2: * Update f2py from master. * ``diagflat`` could overflow on windows or 32-bit platforms * Fix refcount leak in f2py ``complex_double_from_pyobj``. * Fix tiny memory leaks when ``like=`` overrides are used * Remove temporary change of descr/flags in VOID functions * Segfault in nditer buffer dealloc for Object arrays * Remove suspicious type casting * remove nonsensical comparison of pointer < 0 * verify pointer against NULL before using it * check if PyArray_malloc succeeded * incorrect error fallthrough in nditer * Backport CI fixes from main. * Add annotations for ``dtype.__getitem__``, ``__mul__`` and... * NameError in numpy.distutils.fcompiler.compaq * Fixed ``where`` keyword for ``np.mean`` & ``np.var`` methods * Update apt package list before Python install * Ensure that re-exported sub-modules are properly annotated * Fix ma coercion list-of-ma-arrays if they do not cast to... * Fix small valgrind-found issues * Fix small issues found with pytest-leaks 1.20.1: * Add missing placeholder annotations * Fix typo in ``numpy.__init__.py`` * don't mutate list of fake libraries while iterating over... * gracefully shuffle memoryviews * Use C linkage for random distributions * fix when GitHub Actions builds trigger, and allow ci skips * Allow unmodified use of isclose, allclose, etc. with timedelta * Allow pickling all relevant DType types/classes * Fix missing signed_char dependency. * Change license date 2020 -> 2021 * CircleCI seems to occasionally time out, increase the limit * Fix f2py bugs when wrapping F90 subroutines. * crackfortran regex simplify * threads.h existence test requires GLIBC > 2.12. * Prepare for the NumPy 1.20.1 release. 1.20.0: * enable multi-platform SIMD compiler optimizations * NEP 36 (fair play) * Deprecate aliases of builtin types in python 3.7+ * `np.resize` negative shape and subclasses edge case fixes * Add the method `permuted` to Generator. * Fix issues with non-reduce broadcasting axes * Ensure PyArray_FromScalar always returns the requested dtype * Technical decisions for new DTypes * Create Preliminary DTypeMeta class and np.dtype subclasses * Avoid exception in NpzFile destructor if constructor raises... * Improved `__str__` for polynomials * Remove Accelerate support * [DOC] Added tutorial about the numpy.ma module. * Add where argument to np.mean * Deprecate passing shape=None to mean shape=() * Ensure indexing errors will be raised even on empty results * improve printing of arrays with multi-line reprs * Correct documentation of ``__array__`` when used as output... * Implement concatenate dtype and casting keyword arguments * Deprecate `numpy.dual`. * Potential fix for divmod(1.0, 0.0) to raise divbyzero and... * Increase guidance and detail of np.polynomial docstring * Add transition note to all lib/poly functions * Rewrite of array-coercion to support new dtypes * Add ``full_output`` argument to ``f2py.compile``. * Deprecate ufunc.outer with matrix inputs * Unify cached (C-level static) imports * Allow attach docs twice but error if wrong * Fix default fallback in genfromtxt * ENH:Umath Replace raw SIMD of unary float point(32-64) with NPYV... * added edge keyword argument to digitize * Update the f2py section of the "Using Python as Glue" page. * Improve `rec.array` function documentation * include dt64/td64 isinstance checks in ``__init__.pxd`` * Clarifications for np.std * Order percentile monotonically * cleanups to quantile * Update master after 1.19.x branch. * Ensure out argument is returned by identity for 0d arrays * Clarifications for ``np.var``. * Add a note about performance of isclose compared to math.isclose * Clean up the implementation of quantile * Bump hypothesis from 5.12.0 to 5.14.0 * Improve "tobytes" docstring. * Fix tools/download-wheels.py. * Require Python >= 3.6 in setup.py * Fix malformed docstrings in ma. * Optimize Cpu feature detect in X86, fix for GCC on macOS * np.info does not show keyword-only arguments * Fix bad reference in ``numpy.ma`` * Fix detecting and testing armhf features * Fix packbits documentation rendering, * Fix troubleshooting code snippet when env vars are empty * relpath fails for different drives on windows * Fix ``np.ma.core.doc_note`` * Bump numpydoc version * Stop Using PyEval_Call* and simplify some uses * Improve the ARM cpu feature detection by parsing /proc/cpuinfo * Reconstruct Testing Guideline. * Cleanup 'tools/download-wheels.py' * link np.interp to SciPy's interpolation functions (closes... * Fix spelling typo - homogenous to homogeneous. * Use AVX-512 for np.isnan, np.infinite, np.isinf and np.signbit * Fix refcounting in add_newdoc * Create a link for the circleCI artifact * Fix dtype leak in `PyArray_FromAny` error path * Indentation for docstrings * Fix small leaks in error path and ``empty_like`` with shape * Streamline download-wheels. * Fix an obvious mistake in a message printed in doc/Makefile. * Bump cython from 0.29.17 to 0.29.19 * Bump hypothesis from 5.14.0 to 5.15.1 * Bump pytest-cov from 2.8.1 to 2.9.0 * Use AVX-512 for np.frexp and np.ldexp * add index for user docs. * ARM Neon implementation with intrinsic for np.argmax. * Tighten howto-docs guide * Make ctypes optional on Windows * Hardcode buffer handling for simple scalars * Stop uploading wheels to Rackspace. * Use a raw string for the fromstring docstring. * Validate and disable CPU features in runtime * Implement the NumPy C SIMD vectorization interface * Update make dist html target. * Update sphinx conf to use xelatex. * turn on codecov patch diffs * endpoints of array returned by geomspace() should match... * support python 3.10 * Chain some exceptions. * Improve intersect1d docstring * Update assert_warns parameter list * Simplify assert_warns in test_io.py * make NEP 18 status Final * Add style guide to howto_document * NEP for C style guide * Fix description of dtype default in linspace * Add extern to PyArrayDTypeMeta_Type declaration * Add a reference into NEP 29, * Catch remaining cases of Py_SIZE and Py_TYPE as lvalues * Fix deprecated warn for Intel/Apple/Clang Compiler * make clearer that sinc is normalized by a factor pi * update roadmap * fixes einsum output order with optimization * add a "make show" command to doc/Makefile * Add a NEP link to all neps. * extend error message when Accelerate is detected * Improve assert_warns docstring with example * Bump hypothesis from 5.15.1 to 5.16.0 * Fix development_workflow links * fix GCC 10 major version comparison * install mingw32 v7.3.0 for win32 * Fixes for 18 broken links * use zip instead of range in piecewise * add `norm=forward,backward` to numpy.fft functions * Optimize the performace of np.packbits in ARM-based machine. * Fix result when a gufunc output broadcasts the inputs. * Point Contributing page to new NEP 45 * make Py_SET_SIZE and Py_SET_TYPE macros a bit safer * Error when ``size`` is smaller than broadcast input... * Correct MV Normal sig * raise IEEE exception on AIX * only single-polynomial fitting in np.polynomial.Polynomial.fit() * Minor rounding correction in Generator.binomial * trivial doc style fix in NEP 45. * add type stubs from numpy-stubs * make callbacks threadsafe * replace \t by whitespace for readability * MAINT:ARMHF Fix detecting feature groups NEON_HALF and NEON_VFPV4 * Improve buffer speed * move thread-local declaration definition to common... * Fix cython warning in random/_common.pyx. * Bump pytest from 5.4.2 to 5.4.3 * Remove non-threadsafe sigint handling from fft calculation * SSE2 intrinsic implementation for float64 input of np.enisum * Ensure SeedSequence 0-padding does not collide with spawn... * Remove deprecated numeric types and deprecate remaining * drop win32 3.7, 3.6 builds * simplifying annotations for np.core.from_numeric * make typing module available at runtime * Throw TypeError on operator concat on Numpy Arrays * Add new tests for array coercion * fix sin/cos bug when input is strided array * fix name of first parameter to dtype constructor in type... * Added an example for np.transpose(4d_array) * changed np.generic arguments to positional-only * Clarify dtype default for logspace and geomspace * Disallow complex args in arange * Raise TypeError for float->timedelta promotion * Add ``__f2py_numpy_version__`` attribute to Fortran modules. * Fix reference count leak in mapping.c * Move and improve ``test_ignore_nan_ulperror``. * make addition of types a "new feature" in release notes * Avx512 intrinsics implementation for float64 input np.log * Bump pytest-cov from 2.9.0 to 2.10.0 * Bump hypothesis from 5.16.0 to 5.16.1 * bump mypy version to 0.780 * Openblas 0.3.10 * add annotation for abs * check if std=c99 is really required * disable Shippable cache * Expand array-creation benchmarks * Implemented two dtype-related TODO's * Initialize stop-reading in array_from_text * Updated documentation for numpy.squeeze * add tool to find functions missing types * ENH,BUG:distutils Remove the origins from the implied features * Some code clean up in loadtxt * remove obsolete goal_time param * Fix uint->timedelta promotion to raise TypeError * Replace `PyUString_GET_SIZE` with `PyUnicode_GetLength`. * Fix outdated docs link * add a static typing test for memoryviews as ArrayLikes * Added annotations to 8 functions from np.core.fromnumeric * Update master after 1.19.0 release. * Allow genfromtxt to unpack structured arrays * Prefer generator expressions over list comprehensions... * cross-reference numpy.dot and numpy.linalg.multi_dot * Bump hypothesis from 5.16.1 to 5.16.3 * Bump mypy from 0.780 to 0.781 * Add lib.format.open_memmap to autosummary. * Fix bug in AVX complex absolute while processing array of... * remove blacklist/whitelist terms * Add extra debugging information to CPU features detection * Add support for file like objects to np.core.records.fromfile * updated gcc minimum recommend version to build from source * Allow `None` to be passed to certain `generic` subclasses * fixed docstring for descr_to_dtype * Remove "matrix" from `triu` docstring. * add py.typed sentinel to package manifest * Fixup quantile tests to not use `np.float` * Add CPU entry for Emscripten / WebAssembly * Disable Python 3.9-dev testing. * Add instruction about stable symlink * Disable use_hugepages in case of ValueError * Add dep directive to alen docstring. * Add RPATH support for AIX * fix typo * Fix PyArray_SearchSorted signature. * Add annotations to the last 8 functions in numpy.core.fromnumeric * Use f90 compiler specified in f2py command line args for... * reword random c-api introduction, cython is documented in... * Tweak a sentence about broadcasting. * Prepend `ma.` to references in ``numpy.ma`` * Remove redundant word * add unique() to See Also of repeat() * add example to unique() and make connection to repeat() * Chaining exceptions in numpy/core/_internal.py * add manylinux1 OpenBlAS 0.3.10 hashes and test for them * Add Matti Picus to steering council page * make dtype generic over scalar type * Added a section in the 'Iterating over arrays' doc page... * Tidy exception chaining in _datasource.py * Fixes for deprecated functions in scalartypes.c.src * Bump mypy from 0.781 to 0.782 * Bump hypothesis from 5.16.3 to 5.19.0 * Update NumPy logos * Remove unneeded call to PyUnicode_READY * Fix deprecated functions in scalarapi.c * switch to logo with text * Bring the NumPy C SIMD vectorization interface "NPYV"... * Add basic benchmarks for scalar indexing and assignment * fix decode error when building and get rid of warn * Minor RST formatting. * update cython to 0.29.21 * Upgrade to Python 3.8 for DEBUG testing. * Fix RST/numpydoc standard. * Move typing tests * Explicitly disallow object user dtypes * add example to corrcoef function * adding docs on passing dimensions as tuple to ndindex * Remove overzealous automatic RST link * Add explanation of 'K' and 'A' layout options to 'asarray*'... * Add a reST label to /user/building.rst * fix mgrid output for lower precision float inputs * temporarily disable OpenBLAS hash checks * Do not inherit flags from the structured part of a union... * replace dec.slow with pytest.mark.slow * Make void scalar to array creation copy when dtype is... * fix inconsistent parameter name in np.ndindex docstring * setuptools 49.2.0 emits a warning, avoid it * add examples to random number generator pages * describe ufunc copy behavior when input and output overlap * Fix ``runtest.py`` warning. * Add pandas to doc_requirements.txt * fix sphinx deprecation * Avoid using uninitialized bytes in getlimits.py. * Explaining why datetime64 doesn't work for allclose + isclose * improve SIMD features tables * update openblas hashes, re-enable check * Remove code that will never run * Bump hypothesis from 5.19.0 to 5.19.1 * linspace should round towards -infinity * Disable shippable until we can fix it. * Remove Duplicated Code (function extract rmap) * Remove Duplicated Code * Change for loop (range -> for each) * Deprecate NumPy object scalars * clarify whats required for new features * fix new compiler warnings on clang * fix the search dir of dispatch-able sources * Remove deprecated python function 'file()' * Validate output size in bin- and multinomial * Pin setuptools * Update compiler check for AVX-512F * fix the test for ``np.ones`` * edit to the documentation of lib/polynomial.py/polyfit * Configure hypothesis in ``np.test()`` for determinism,... * Remove unused pip install * Fix bad MPL kwarg in docs * Fix types including curly braces * Remove the links for ``True`` and ``False`` * Integrate the new CPU dispatcher with umath generator * Fix wrong markups in `arrays.dtypes` * Remove links for C codes * Fix the declarations of C fuctions * also use Py_SET_REFCNT instead of Py_REFCNT * Chaining exceptions in numpy/__init__.py * update val to be scalar or array like optional * Bump hypothesis from 5.19.1 to 5.20.2 * Speed up trim_zeros * Fix string/bytes to complex assignment * Add correctness vs strictness consideration for np.dtype * Add ufunc docstring to generated docs. * Update master after 1.19.1 release. * Revert "Merge pull request 16248 from alexrockhill/edge" * Fix memory leak of buffer-info cache due to relaxed strides * Store exported buffer info on the array * update OpenBLAS build * Allow array-like types to be coerced as object array elements * Deprecate size-one ragged array coercion * Change the name of the folder "icons" to "logo". * enable colors for `runtests.py --ipython` * Clarify input to irfft/irfft2/irfftn * Bump hypothesis from 5.20.2 to 5.23.2 * update numpy/lib/arraypad.py with appropriate chain exception * Use arm64 instead of aarch64 on travisCI. * Chain exception in ``distutils/fcompiler/environment.py``. * Added the `order` parameter to `np.array()` * Add Neon SIMD implementations for add, sub, mul, and div * Fixed typo in lib/recfunctions.py * Add pypy win32 CI testing. * Increase the use of `Literal` types * Add NumPy declarations to be used by Cython 3.0+ * Add the new NumPy logo to Sphinx pages * Bump hypothesis from 5.23.2 to 5.23.9 * Bump pytest from 5.4.3 to 6.0.1 * pin setuptools < 49.2.0 * Revise glossary page * clip() allows arguments. * Updated NEP-35 with keyword-only instruction * Simplify scalar power * Improve error handling in umathmodule setup * Disclaimer for FFT library * Add error return to all casting functionality and NpyIter * fix a compile and a test warning * Clarify that `np.char` comparison functions always return... * Use a less ambiguous example for array_split * Bump hypothesis from 5.23.9 to 5.23.12 * core._internal style fixups * Remove _EXTRAFLAGS variable * fix typo in polydiv that prevented promotion to poly1d * Revert boolean casting back to elementwise comparisons... * Raise error on complex input to i0 * Remove obsolete conversion to set * Remove the deprecated financial functions. * Remove uses of PyString_FromString. * use the pydata_sphinx_theme * Fixes duplication of toctree content * Bump pytest-cov from 2.10.0 to 2.10.1 * Bump hypothesis from 5.23.12 to 5.26.0 * Adjust NEP-35 to make it more user-accessible * Add placeholder stubs for all sub-modules * Split einsum into multiple files * Handle errors from the PyCapsule API * Fix spacing in vectorize doc * Remove `np.ctypeslib.ctypes_load_library` * make spacing consistent in NEP 41 bullet points * fix ilp64 blas dot/vdot/... for strides > int32 max * allow running mypy through runtests.py * Remove duplicated symbols from link step * Check for reduce intrinsics and AVX512BW mask operations * Chain some exceptions in arraysetops. * Chain ValueError in ma.timer_comparison * Rewrite promotion using common DType and common instance * Make arrayprint str and repr the ndarray defaults. * Fix a few typos. * Change handling of the expired financial functions. * Add annotations to 3 functions in `np.core.function_base` * Replace uses of PyString_AsString. * ``Replace PyUString_*`` by ``PyUnicode_*`` equivalents. * Replace PyInt macros with their PyLong replacement * Add support for the abstract scalars to cython code * Fix incorrect cython definition of npy_cfloat * Clean up some Npy_ vs Py_ macro usage * Remove references to PyCObject * Update numpy4matlab * Clean up some more bytes vs unicode handling * Remove Void special case for "safe casting" * Remove redundant headers * Remove NPY_COPY_PYOBJECT_PTR * Merge the npysort library into multiarray * Add tests mapping out the rules for metadata in promotion * revert trim_zeros changes from gh-16911 * Make `np.complexfloating` generic w.r.t. `np.floating` * remove calls to PyUnicode_AsASCIIString,... * Added missing methods to `np.flatiter` * Correct error in description of ndarray.base * Document `dtype.metadata` * Use utf8 strings in more of datetime * Add placeholder stubs for `ndarray` and `generic` * Bump hypothesis from 5.26.0 to 5.30.0 * Remove some callers of functions in numpy.compat * Make the window functions exactly symmetric * Improve error handling in npy_cpu_init * Fix the documented signatures of four `ufunc` methods * Make the `NPY_CPU_DISPATCH_CALL` macros expressions not... * Fixed headings for tutorials so they appear at new theme... * Canonical_urls * Fix various issues with the `np.generic` annotations * enabled negation of library choices in NPY_*_ORDER * comment out metadata added via javascript * move informational files from numpy.doc.*.py to their... * use sysconfig not distutils.sysconfig where possible * Fix dimension discovery of within array ragged cases * Added templates for different types of issues. * Deprecated ndindex.ndincr * Remove old PY_VERSION_HEX and sys.version_info code * Avoid using ``np.random`` in typing tests. * Fix link quick-start in old random API functions * ``__array_interface__`` data address cannot be bytes * Run slow CI jobs earlier so builds finishes sooner * Add tool to help speed up Travis CI * Fix docstring cross-referencing * Added a PR "Reviewer guidelines" document. * work around a bug in the new theme * add fused multiply subtract/add intrinics for all supported... * Bump hypothesis from 5.30.0 to 5.33.0 * Bump pydata-sphinx-theme from 0.3.2 to 0.4.0 * add new glossary terms * remove some glosssary terms * Fix the path to `mypy.ini` in `runtests.py` * sysconfig attributes/distutils issue * Annotate the arithmetic operations of `ndarray` and `generic` * Merge together index page content into a single file * Fix a typo in shape_base. * Pass optimizations arguments to asv build * Change the financial name access warning to DeprecationWarning * Update master after 1.19.2 release. * Simplify ufunc pickling * Cleanup some pystring macros * Replace remaining PyString macros. * Replace PyUString_Check by PyUnicode_Check. * fix pickling user-scalars by allowing non-format buffer... * Replace some ``pyint_*`` macros defined in ``npy_3kcompat``. * set upper versions for build dependencies * (dtype-transfer) make copyswapn and legacy cast wrapper... * Replace PyBaseString_Check by PyUnicode_Check * Replace a couple of missed npy_3kcompat macros * pin pygments to 2.6.1, 2.7.0 breaks custom NumPyC lexer * Bump hypothesis from 5.33.0 to 5.35.1 * Bump pytest from 6.0.1 to 6.0.2 * Move the `fromnumeric` annotations to their own stub file * Syntax-highlight .src files on github * Mark vendored/generated files in .gitattributes * Cleanup f2py/cfuncs.py * Set deprecated fields to null in PyArray_InitArrFuncs * allow registration of hard-coded structured dtypes * Add annotations for five array construction functions * Fix incorrect `.. deprecated::` syntax that led to this... * improve `issubdtype` and scalar type docs * Remove the tables of scalar types, and use `..autoclass`... * update lexer highlighting and make numpydocs a regular... * Chaining exceptions in npyio.py * Regenerate table in NEP 29 (add numpy 1.18 and 1.19 to list) * Fix syntax errors in docstrings for versionchanged, versionadded * Add partial/non-contig load and store intrinsics for 32/64-bit * Support for the NVIDIA HPC SDK nvfortran compiler * Fix a macOS build failure when `NPY_BLAS_ORDER=""` * Add PR prefix labeler and numpy prefix mapping * Guide to writing how-tos * How-to guide for I/O * clarify residuals return param * Add Npy__PyLong_AsInt function. * Bump hypothesis from 5.35.1 to 5.35.3 * Finish replacing PyInt_Check * Remove an obsolete paragraph. * Edit nep-0042 for more clarity * Add annotations for remaining `ndarray` / `generic` non-magic... * Fixes module data docstrings. * Fix default_rng docstring * ensure _UFuncNoLoopError can be pickled * Minor grammatical correction in quickstart doc. * NumPy restyling for pydata theme * Fix docstring for np.matmul * Bump hypothesis from 5.35.3 to 5.36.1 * Remove old debug print statement. * Replace "About NumPy" with "Document conventions" * Update info on doc style rules * Fix default void, datetime, and timedelta in array coercion * Replace append_metastr_to_string function. * Fixed ARGOUTVIEWM memory deallocation. * rm incorrect alias from recarray user article. * Rewrite can-cast logic in terms of NEP 42 * Add arraysetops to an autosummary * Replace PyUString_ConcatAndDel in nditer_constr.c. * Replace PyUString_ConcatAndDel in mapping.c. * Replace the module-level `__getattr__` with explicit type... * in PR template, set expectations for PR review timeline * Cleanup remaining PyUString_ConcatAndDel use. * Special case how numpy scalars are coerced to signed integer * Mark the typing tests as slow * Fix a parameter type in the `putmask` docs * adding operational form documentation for array ops * Deprecate coercion to subarray dtypes * Fix memory leak in array-coercion error paths * chains nested try-except in numpy/ma/core.py * Remove bogus reference to _a_ * Fix formatting issues in description of .c.src files * nep-0029 typo correction * Move aliases for common scalar unions to `numpy.typing` * Fix memoryleaks related to NEP 37 function overrides * Fix the links for ``Ellipsis`` * add references to einops and opt_einsum * Disable 32 bit PyPy CI testing on Windows. * Security warning for issues template * Fix "Feature request" spelling in issue templates * Chaining exception in numpy\numpy\ma\mrecords.py * Cleaner template for PRs * fix exception chaining in format.py * Warn on unsupported Python 3.10+ * Typed` to the PyPi classifier * Fix the references for macros * update NEP 42 with discussion of type hinting applications * Remove CoC pages from Sphinx * Chain exceptions in "_polybase.py" * Bump hypothesis from 5.36.1 to 5.37.0 * add dtype option to numpy.lib.function_base.cov and corrcoef * Fixes incorrect error message in numpy.ediff1d * update code of conduct URL * Add some entries for C types and macros * Add annotations for bitwise operations * add some missing scalar aliases * Fix doctest for full_like * remove os.fspath and os.PathLike backports * Move the `np.core.numeric` annotations to their own stub... * type np.unicode_ as np.str_ * Fix the entries for members of structures * Fix the references for `random.*` * circleCI- merge before build, add -n to sphinx * Remove duplicate placeholder annotations * Use consistent lowercase on docs landing page * fix incompatible type comparison in numpy.lib.utils.info * Fix failures in master related to userdtype registeration * remove `sys` from the type stubs * Fix empty 'C style guide' page * Rename 'Quickstart tutorial' * Added the Final feature for all constants * Fewer blank lines in PR template * Display real license on license page * Add docstrings for some scalar types * Update top links in landing page * Make merge ref grabbing conditional on the PR being active * Fix Bool types in C functions * Fix some links and typos * Cleanup compatibility code for pathlib * Fix a typo * add function to get broadcast shape from a given set of... * Fixed crash on self-referential dtypes * Bump hypothesis from 5.37.0 to 5.37.1 * Bump pydata-sphinx-theme from 0.4.0 to 0.4.1 * Bump mypy from 0.782 to 0.790 * Make `np.number` generic with respect to its precision * fix conditional for PR merge command * explicit disabling `CCompilerOpt` in F2PY * Cygwin Workaround for 14787 on affected platforms * Fix the entries of C functions * Fix wrong blockquotes * Add NEP 43 links to NEP 42 * Remove directives for some constants * Update the annotations in `np.core.numeric` * Add the entry for ``NPY_FEATURE_VERSION`` * Fix typos * Add annotations for three new constants * Fix Boolean array indexing typo * Respect dtype of all-zero argument to poly1d * include additional feedback * Cleanup swig for Python 3. * Move the `np.core.numerictypes` annotations to their own... * Bump hypothesis from 5.37.1 to 5.37.3 * Add annotations for `np.core._type_aliases` * Typo in lexsort docstring * Coercion/cast of array to a subarray dtype will be fixed * Clean up the errors of the typing tests * Fixed file handle leak in array_tofile. * Fix a broken `np.core.numeric` test * Mark dead code as intentional for clang. * removed old references to submodule licenses * Fix typos (general documentation) * Fully qualify license trove classifier * mac dylib treated as part of extra objects by f2py * Add annotations for 9 `ndarray`/`generic` magic methods * Fix the document for arrays interface * Conversion of some strings to f-strings * Fix some references * Valid docstring for config_py function show() * Conversion of some strings to fstrings, part II * Conversion of some strings to fstrings, part III * Tidy up references to str_ / bytes_ * Conversion of some strings to fstrings, part iv * Fix the references for ``__array_*__`` * Add entries for macros * Add ``identity_value`` to ``PyUFuncObject`` * Replace ``PyCObject`` with ``PyCapsule`` * Don't use Python highlighting for non-python code * Fix some references * Bump hypothesis from 5.37.3 to 5.38.0 * update to OpenBLAS v0.3.12 * Fix reference to atleast_1d * Add annotations for `np.core._ufunc_config` * Add annotations for `np.core.shape_base` * fix np.timedelta64('nat').__format__ throwing an exception * f2py incorrectly translates dimension declarations. * Fix installing Numpy on z/OS * Ensure inner loop signature is complete everywhere * simplify source path names in compilation test * Add a doctest for ``getlincoef`` * Update master after 1.19.3 release. * Make test suite work in FIPS (140-2) Mode * Add a docstring for getarrlen * Update README badge for travis-ci.com * Refine a number of ``np.generic`` annotations * Update release documentation and software * Add sum intrinsics for float/double. * (nditer_impl.h) Use ``intp`` instead of ``char *`` for offset... * Fix small bug in ``make_lite.py``. * Modify Templates * Bump hypothesis from 5.38.0 to 5.41.0 * Bump pytz from 2020.1 to 2020.4 * use a more standard workflow for PyPy * Update master after 1.19.4 release. * Rename ``DtypeLike`` to ``DTypeLike`` * Fix small typos. * Fixed an issue where ``.pyi`` files were ignored by numpy... * Fix Doc Typos & Added Example * Improve the einsum bench by adding new bench cases and variable... * Revert gh-17654 - f2py incorrectly translates dimension... * Add more files to ``.gitgnore`` * Do not import sliding_window_view to main namespace * Do not override ``sliding_window_view`` module to ``numpy`` * Add NEP-35 instructions on reading like= downstream * Use importlib to find numpy root directory in distutils * Remove unused ``**options`` from MaskedArray ``__new__``... * Remove Python 3.6 CI testing. * move linux jobs to github actions * Bump hypothesis from 5.41.0 to 5.41.2 * Fix cblas detection on windows * add pypy3.7 * compare platform.architecture() correctly * Add "performance" category to the release notes * Fix segfault due to out of bound pointer in floatstatus... * Fix buffer export dtype references * Fix memory leaks found using valgrind * Lazy load f2py test utilities * use BUFFERSIZE=20 in OpenBLAS * fix reuses the previous values during the fallback... * update link to website in FUNDING.yml * Add BLD and STY to labeler prefixes. * Simplify Hypothesis configuration * Make like= argument added in NEP-35 strict * Fix up links, code blocks of release note fragments * Minor touchups in npyio * Update mailmap. * Set the ufunc and ndarray ops return type to ``Any`` * Update linalg.py * Fix empty_like docstring * Add missing release fragments to ``upcoming_changes``. * Fix incorrectly passed size in masked processing * Bump hypothesis from 5.41.2 to 5.41.3 * Add back durations flag for DEBUG builds. * Fix subarray dtype used with too large count in fromfile * Fix pickling of scalars with NPY_LISTPICKLE * Update the `numpy.typing` documentation * Fixing boilerplate code example * Add ``__all__`` to `numpy.typing` * Add release note for gh-16161. * Fix incorrect C function prototypes/declarations. * Prepare for the NumPy 1.20.x branch. * use python-version not PYTHON_VERSION * Fix buffer readflag errors and small leaks * Prepare for 1.20.0 release * Remove remaining uses of Python 3.6. * use latest pypy37 not pypy36 * clean up a spurious warning in numpy/typing/setup.py * Speed up default ``where`` in the reduce-like method * remove stray '+' from f-string upgrade * add support for fujitsu compiler to numpy. * 'bool' object has no attribute 'ndim' * Update release notes to mention ``type(dtype) is not np.dtype`` * Replace f-string in setup.py * Ignore fewer errors during array-coercion * Fix a MacOS build failure * Fix crosstalk issues with polynomial str tests. * Ensure tests are not sensitive to execution order * update to OpenBLAS 0.3.13 * Futurewarn on requiring __len__ on array-likes * make a variable volatile to work around clang compiler bug * add back sdist test run * Fix concatenation when the output is "S" or "U" * Fix detecting aarch64 on macOS * Prepare for 1.20.0rc2 release. * Generate the main dispatcher config header into the... * Fix _simd module build for 64bit ARM/NEON clang * Update 1.20.x after 1.19.5 release. * Fix promotion of half and string * improve avx512 mask logical operations * Promotion between strings and objects was assymetric * Use explicit reexports for numpy.typing objects * Keep ignoring most errors during array-protocol lookup * warn on unrecognized objects, fix empty... * update OpenBLAS to af2b0d02 * Clarify the type alias deprecation message * Ensure too many advanced indices raises an exception * add an 'apt update' * Prepare for the NumPy 1.20.0 release.
2021-04-20py-numpy: fix typos in a commentgutteridge1-2/+2
2021-04-20py-numpy: add RCS Idwiz1-0/+1
2021-04-20math/py-numpy: updated system_info patch to upstreamed version, use cblasthor5-75/+80
The patch to system_info.py got upstreamed in a modified form which is now backported here. On updating to 1.21, it shall be dropped. In the process of upstreaming the patch, I learned that numpy really needs to use cblas for proper acceleration, so it does that now and gets a PKGREVISION bump because of that.
2021-04-07py-numpy: updated the BLAS patch for more likely upstream inclusionthor3-97/+76
This introduces a 'generic' variant for blas_opt_info() and lapack_opt_info() that looks into BLAS_LIBS and LAPACK_LIBS. The others stay alive, and you can choose via NPY_BLAS_ORDER and NPY_LAPACK_ORDER. Will post this upstream … hoping for the best. Other projects seem just to abuse the [openblas] entry in site.cfg, or whatever hacks to trick this into building with a generic BLAS. One hurdle is that using openblas seems to assume that CBLAS is present in there, which it is not in pkgsrc. We could think about introducing some alternatives stuff that uses stubs for all the related libs anyway, but that is not my application, which builds things from source. For binary packages, it would be interesting, though. See Debian and Genoot for prior art on that.
2021-03-26math/py-numpy: hotfix for building py-scipythor3-9/+15
The downstream configure code freaked out when info['define_macros'] was not set. It is now defined and empty. I hope it's fine to just push this without further notice. Build was confirmed by oster on NetBSD-9.1/amd64 and tested by me on Linux/amd64.
2021-03-25math/py-numpy: Actually use BLAS_LIBS and LAPACK_LIBS.thor1-15/+90
The previous state included our BLAS choice but the build did not honour the selected libs. This patches the config script to not search for LAPACK and BLAS, using our settings instead. Hopefull we can get that option upstreamed. Approved during freeze by wiz.
2021-03-25math/py-numpy: Actually use BLAS_LIBS and LAPACK_LIBS.thor3-4/+10
The previous state included our BLAS choice but the build did not honour the selected libs. This patches the config script to not search for LAPACK and BLAS, using our settings instead. Hopefull we can get that option upstreamed. Approved during freeze by wiz.
2021-01-09py-numpy: updated to 1.19.5adam2-7/+7
1.19.5: BUG: Fix segfault due to out of bound pointer in floatstatus... BUG: fix np.timedelta64('nat').__format__ throwing an exception BUG: Fixed file handle leak in array_tofile. BUG: Raise recursion error during dimension discovery BUG: Fix subarray dtype used with too large count in fromfile BUG: 'bool' object has no attribute 'ndim' BUG: ensure _UFuncNoLoopError can be pickled BLD: use BUFFERSIZE=20 in OpenBLAS BLD: update to OpenBLAS 0.3.13 BUG: make a variable volatile to work around clang compiler bug REL: Prepare for the NumPy 1.19.5 release.
2020-11-26py-numpy: updated to 1.19.4adam3-9/+11
1.19.4: MAINT: Add check for Windows 10 version 2004 bug. REV: Revert OpenBLAS to 1.19.2 version for 1.19.4 1.19.3: BLD: set upper versions for build dependencies BUG: Set deprecated fields to null in PyArray_InitArrFuncs ENH: Warn on unsupported Python 3.10+ MAINT: Update test_requirements.txt. ENH: Support for the NVIDIA HPC SDK nvfortran compiler BUG: Cygwin Workaround for #14787 on affected platforms BUG: Fix memory leak of buffer-info cache due to relaxed strides MAINT: Backport openblas_support from master. TST: Add Python 3.9 to the CI testing on Windows, Mac. TST: Simplify source path names in test_extending.
2020-10-21py-numpy: Assumes the compiler defaults to c99. Force -std=c99.nia1-2/+3
2020-10-13py-numpy/bl3.mk: fix ABI depends for python 2.7 casewiz1-2/+3
2020-10-13py-numpy*: Update checksum for patch-numpy_distutils_system__info.pyleot1-2/+2
Part of interchangeable BLAS system change.
2020-10-12math/blas, math/lapack: Install interchangeable BLAS systembacon3-8/+9
Install the new interchangeable BLAS system created by Thomas Orgis, currently supporting Netlib BLAS/LAPACK, OpenBLAS, cblas, lapacke, and Apple's Accelerate.framework. This system allows the user to select any BLAS implementation without modifying packages or using package options, by setting PKGSRC_BLAS_TYPES in mk.conf. See mk/blas.buildlink3.mk for details. This commit should not alter behavior of existing packages as the system defaults to Netlib BLAS/LAPACK, which until now has been the only supported implementation. Details: Add new mk/blas.buildlink3.mk for inclusion in dependent packages Install compatible Netlib math/blas and math/lapack packages Update math/blas and math/lapack MAINTAINER approved by adam@ OpenBLAS, cblas, and lapacke will follow in separate commits Update direct dependents to use mk/blas.buildlink3.mk Perform recursive revbump
2020-10-02py-numpy: updated to 1.19.2adam3-8/+9
1.19.2: TST: Change aarch64 to arm64 in travis.yml. MAINT: Configure hypothesis in ``np.test()`` for determinism,... BLD: pin setuptools < 49.2.0 ENH: Add NumPy declarations to be used by Cython 3.0+ BUG: Remove non-threadsafe sigint handling from fft calculation BUG: core: fix ilp64 blas dot/vdot/... for strides > int32 max DOC: Use SPDX license expressions with correct license DOC: Fix the link to the quick-start in the old API functions BUG: fix pickling of arrays larger than 2GiB
2020-08-11(math/py-numpy) INSTALL.rst.txt says Cython >= 0.29.21mef1-2/+2
2020-08-05py-numpy: updated to 1.19.1adam4-25/+357
1.19.1 * MAINT, CI: disable Shippable cache * MAINT: Replace `PyUString_GET_SIZE` with `PyUnicode_GetLength`. * REL: Fix outdated docs link * BUG: raise IEEE exception on AIX * BUG: Fix bug in AVX complex absolute while processing array of... * TST: Add extra debugging information to CPU features detection * BLD: Add CPU entry for Emscripten / WebAssembly * TST: Disable Python 3.9-dev testing. * MAINT: Disable use_hugepages in case of ValueError * BUG: Fix PyArray_SearchSorted signature. * MAINT: Fixes for deprecated functions in scalartypes.c.src * MAINT: Remove unneeded call to PyUnicode_READY * MAINT: Fix deprecated functions in scalarapi.c * BLD, ENH: Add RPATH support for AIX * BUG: Fix default fallback in genfromtxt * BUG: Added missing return after raising error in methods.c * BLD: update cython to 0.29.21 * MAINT: setuptools 49.2.0 emits a warning, avoid it * BUG: Validate output size in bin- and multinomial * BLD, MAINT: Pin setuptools * DOC: Reconstruct Testing Guideline. * TST, BUG: Re-raise MemoryError exception in test_large_zip's... * BUG,DOC: Fix bad MPL kwarg. * BUG: Fix string/bytes to complex assignment * REL: Prepare for NumPy 1.19.1 release 1.19.0 * ENH: add identity kwarg to frompyfunc * TST: check exception details in refguide_check.py * ENH: improve runtime detection of CPU features * TST: Add assert_array_equal test for big integer arrays. * MAINT: Remove unnecessary 'from __future__ import ...' statements * MAINT: Fix typos and copy edit NEP-0030. * DOC: NumPy for absolute beginners tutorial * NEP: Proposal for array creation dispatching with `__array_function__` * ENH: Use AVX-512F for np.maximum and np.minimum * BUG: Fix numpy.random.dirichlet returns NaN for small 'alpha'... * API: Use `ResultType` in `PyArray_ConvertToCommonType` * MAINT,API: ignore and NULL fasttake/fastputmask ArrFuncs slots * BUG: Make ``ediff1d`` kwarg casting consistent * DOC: linalg: Include information about scipy.linalg. * BUG: Use ``__array__`` during dimension discovery * MAINT: cleanup compat.py3k.py * ENH: f2py: improve error messages * [DOC] LaTeX: fix preamble (closes 15026) * BUG: add endfunction, endsubroutine to valid fortran end words * TST: Add test for object method (and general unary) loops * REL: Update master after 1.18.x branch. * DOC: Update HOWTO_RELEASE.rst.txt * API, DOC: change names to multivariate_hypergeometric, improve... * DOC: Fix statement about norms * MAINT: follow-up cleanup for blas64 PR * DOC: add docstrings to refguide-check * Revert "DEP: issue deprecation warning when creating ragged array... * ENH: add support for ILP64 OpenBLAS (without symbol suffix) * DOC: correct version for NaT sort * TST: Check requires_memory immediately before the test * MAINT: core: Fix a very long line in the ufunc docstrings. * BUG: test, fix flexible dtype conversion on class with __array__ * TST: add value to pytest.ini for pytest6 compatibility * MAINT: Ragged cleanup * DOC: bring the out parameter docstring into line with ufuncs * ENH: f2py: add --f2cmap option for specifying the name of .f2py_f2cmap * TST: add BLAS ILP64 run in Travis & Azure * MAINT: Fix expm1 instability for small complex numbers. * MAINT: random: Remove a few unused imports from test files. * MAINT: Bump pytest from 5.3.1 to 5.3.2 * API: remove undocumented use of __array__(dtype, context) * MAINT,CI: fix signed-unsigned comparison warning * DOC: Update documentation of np.clip * DOC: Remove reference to basic RNG * MAINT: Fix randint 0d limits and other 0d cleanups * DOC: Fix typos, via a Levenshtein-style corrector * MAINT: CI: Clean up .travis.yml * DOC: Correct choice signature * DOC: Correct documentation in choice * TST: shippable build efficiency * BUG: ensure reduction output matches input along non-reduction... * REL: Update master after NumPy 1.18.0 release. * MAINT: Update pavement.py for towncrier. * DOC: update cholesky docstring regarding input checking * DOC: update documentation on how to build NumPy * DOC: add moved modules to 1.18 release note * MAINT: Update required cython version to 0.29.14. * BUG: searchsorted: passing the keys as a keyword argument * BUG: use tmp dir and check version for cython test * TST: improve assert message of assert_array_max_ulp * MAINT: unskip test on win32 * ENH: Add property-based tests using Hypothesis * BUG: test, fix for c++ compilation * DOC: Adding instructions for building documentation to developer... * DOC: NEP 37: A dispatch protocol for NumPy-like modules * MAINT: Do not use private Python function in testing * DOC: Improvements to Quickstart Tutorial. * BUG: distutils: fix msvc+gfortran openblas handling corner case * BUG: lib: Fix handling of integer arrays by gradient. * MAINT: lib: A little bit of clean up for the new year. * REL: Update master after NumPy 1.16.6 and 1.17.5 releases. * DEP: records: Deprecate treating shape=0 as shape=None * ENH: build fallback lapack_lite with 64-bit integers on 64-bit... * MAINT: linalg: use symbol suffix in fallback lapack_lite * DOC: typo in release.rst * NEP: universal SIMD NEP 38 * MAINT: Remove unused int_asbuffer * MAINT: Cleaning up PY_MAJOR_VERSION/PY_VERSION_HEX * MAINT: Clean up more PY_VERSION_HEX * MAINT: Remove implicit inheritance from object class * MAINT: only add --std=c99 where needed * MAINT: Remove Python2 newbuffer getbuffer * MAINT: Py3K array_as_buffer and gentype_as_buffer * MAINT: Remove references to non-existent sys.exc_clear() * DOC: Update HOWTO_RELEASE.rst * MAINT: cleanup use of sys.exc_info * MAINT: Eliminate some calls to `eval` * MAINT: Improve const-correctness of shapes and strides * DOC: clarify the effect of None parameters passed to ndarray.view * MAINT: Improve const-correctness of string arguments * MAINT: Delete numpy.distutils.compat * MAINT: Implement keyword-only arguments as syntax * MAINT: Remove FIXME comments introduced in the previous commit * MAINT: Work with unicode strings in `dtype('i8,i8')` * BUG: Use PyDict_GetItemWithError() instead of PyDict_GetItem() * MAINT: Remove python2 array_{get,set}slice * DOC: Add some missing functions in the list of available ufuncs. * MAINT: Tidy PyArray_DescrConverter * MAINT: remove duplicated if statements between DescrConverters * BUG: Fix PyArray_DescrAlignConverter2 on tuples * MAINT: Remove Python2 ndarray.__unicode__ * MAINT: Remove Python 2 divide * MAINT: minor formatting fixups for NEP-37 * MAINT: Post NumPy 1.18.1 update. * MAINT: travis-ci: Update CI scripts. * BENCH: Add benchmark for small array coercions * BUILD: use standard build of OpenBLAS for aarch64, ppc64le, s390x * BENCH: Add basic benchmarks for take and putmask * MAINT: Cleanup most PY3K #ifdef guards * DOC: BLD: add empty release notes for 1.19.0 to fix doc build... * MAINT: Use a simpler return convention for internal functions * MAINT: Simplify np.int_ inheritance * DOC" Update np.full docstring. * MAINT: Express PyArray_DescrAlignConverter in terms of _convert_from_any * MAINT: Push down declarations in _convert_from_* * MAINT: C code simplifications * BUG: Add missing error handling to _convert_from_list * DOC: Added tutorial about linear algebra on multidimensional... * MAINT: Refactor dtype conversion functions to be more similar * DOC: Updating f2py docs to python 3 and fixing some typos * MAINT: Remove NPY_PY3K constant * MAINT: Remove sys.version checks in tests * MAINT: cleanup sys.version dependant code * MAINT: Ensure `_convert_from_*` functions set errors * MAINT: Avoid escaping unicode in error messages * MAINT: Change file extension of ma README to rst. * BUG: fix NameError in clip nan propagation tests * NEP: document reimplementation of NEP 34 * MAINT: fix typos * TST: move pypy CI to ubuntu 18.04 * TST: move _no_tracing to testing._private, remove testing.support * BUG: Add some missing C error handling * MAINT: Remove sys.version checks * DEP: Deprecate `->f->fastclip` at registration time * DOC: document site.cfg.example * MAINT: Fix mistype in histogramdd docstring * DOC, BLD: reword release note, upgrade sphinx version * MAINT: Remove unnecessary calls to PyArray_DATA from binomial... * MAINT: Bump pytest from 5.3.2 to 5.3.3 * MAINT: Remove six * MAINT: Revise imports from collections.abc module * MAINT: remove internal functions required to handle Python2/3... * MAINT: Remove other uses of six module * MAINT: resolve pyflake F403 'from module import *' used * MAINT: Update tox for supported Python versions * MAINT: simd: Avoid signed comparison warning * DOC: Updating Chararry Buffer datatypes * TST: Simplify unicode test * MAINT: Use `with open` when possible * MAINT: Cleanup python2 references * MAINT: Python2 Cleanups * DEP: add PendingDeprecation to matlib.py funky namespace * BUG, MAINT: Stop using the error-prone deprecated Py_UNICODE... * MAINT: clean up some macros in scalarapi.c * MAINT/BUG: Fixups to scalar base classes * BUG: np.load does not handle empty array with an empty descr * MAINT: Revise imports from urllib modules * MAINT: Remove Python3 DeprecationWarning from pytest.ini * MAINT: cleanup _pytesttester.py * BUG: Flags should not contain spaces * MAINT: Clean up, mostly unused imports. * BUG/TEST: core: Fix an undefined name in a test. * MAINT: Replace basestring with str. * ENH: Use AVX-512F for complex number arithmetic, absolute, square... * MAINT: Remove Python2 workarounds * MAINT: Cleanup references to python2 * MAINT, DOC: Remove use of old Python __builtin__, now known as... * ENH: Make use of ExitStack in npyio.py * MAINT: Inline gentype_getreadbuf * MAINT: Use f-strings for clarity. * DEP: Schedule unused C-API functions for removal/disabling * DOC: Improve ndarray.ctypes example * DOC: distutils: Add a docstring to show_config(). * MAINT: Use contextmanager in _run_doctests * MAINT: Updated polynomial to use fstrings * DOC: Fix Incorrect document in Beginner Docs * MAINT: Update core.py with fstrings (issue 15420) * DOC: fix docstrings so `python tools/refguide-check --rst <file>... * MAINT: Tidy macros in scalar_new * MAINT: use 'yield from <expr>' for simple cases * MAINT: Bump pytest from 5.3.3 to 5.3.4 * BUG: Reject nonsense arguments to scalar constructors * DOC: Update refguide_check note on how to skip code * MAINT: Simplify `np.object_.__new__` * STY,MAINT: avoid 'multiple imports on one line' * MAINT: Cleanup duplicate line in refguide_check * MAINT: cleanup unused imports; avoid redefinition of imports * BUG: Fix for SVD not always sorted with hermitian=True * MAINT: Simplify scalar __new__ some more * MAINT: Eliminate messy _WORK macro * update result of rng.random(3) to current rng output * DOC: Correct get_state doc * MAINT: Use `.identifier = val` to fill type structs * [DOC] Mention behaviour of np.squeeze with one element * ENH: fixing generic error messages to be more specific in multiarray/descriptor.c * BUG: Fixing result of np quantile edge case * TST: mark the top 3 slowest tests to save ~10 seconds * MAINT: Bump pytest from 5.3.4 to 5.3.5 * MAINT: Use True/False instead of 1/0 in np.dtype.__reduce__ * MAINT: Do not allow `copyswap` and friends to fail silently * DOC: Remove duplicated code in true_divide docstring * NEP 40: Informational NEP about current DTypes * DOC: Update unique docstring example * MAINT: Large overhead in some random functions * TST: Fix missing output in refguide-check * MAINT: Simplify arraydescr_richcompare * MAINT: Fix internal misuses of `NPY_TITLE_KEY` * DOC: Update instructions for building/archiving docs. * BUG: Fix inline assembly that detects cpu features on x86(32bit) * update doctests, small bugs and changes of repr * DEP: Do not allow "abstract" dtype conversion/creation * DOC: Minor copyediting on NEP 37. * MAINT: Extract repeated code to a helper function * NEP: edit and move NEP 38 to accepted status * MAINT: Refresh Doxyfile and modernize numpyfilter.py * TST: Accuracy test float32 sin/cos/exp/log for AVX platforms * DOC: Improve the `numpy.linalg.eig` docstring. * NEP 44 - Restructuring the NumPy Documentation * TST: (Travis CI) Use full python3-dbg path for virtual env creation * BUG, DOC: restore missing import * DOC: Removing bad practices from quick start + some PEP8 * TST: Do not create symbolic link named gfortran. * DOC: Document caveat in random.uniform * DOC: numpy.clip is equivalent to minimum(..., maximum(...)) * MAINT: Bump cython from 0.29.14 to 0.29.15 * MAINT: Bump hypothesis from 5.3.0 to 5.5.4 * BLD: manylinux2010 docker reports machine=i686 * BUG: Ignore differences in NAN for computing ULP differences * TST: use manylinux2010 docker instead of ubuntu * TST: mask DeprecationWarning in xfailed test * BUG: Fix bug in AVX-512F np.maximum and np.minimum * BUG: Remove check requiring natural alignment of float/double... * DOC: Add missing imports, definitions and dummy file * DOC: Fix documentation for apply_along_axis * DOC: fix printing, np., deprecation for refguide * MAINT: Pull identical line out of conditional. * DOC: remove broken link in f2py tutorial * BLD: update openblas download to new location, use manylinux2010-base * MAINT: AVX512 implementation with intrinsic for float64 input... * BLD: update OpenBLAS to pre-0.3.9 version * DOC: Refactor `np.polynomial` docs using `automodule` * BUG: fix doctest exception messages * MAINT: Added comment pointing FIXME to relevant PR. * DOC: Make extension module wording more clear * DOC: Improve np.finfo docs * DOC: Improve Benchmark README with environment setup and more... * MAINT: Bump hypothesis from 5.5.4 to 5.6.0 * NEP: move NEP 44 to accepted status * DOC: Fix indexing docs to pass refguide * MAINT: Test during import to detect bugs with Accelerate(MacOS)... * MAINT: Add a fast path to var for complex input * MAINT: Convert shebang from python to python3 * MAINT: replace optparse with argparse for 'doc' and 'tools' scripts * DOC: Fix quickstart doc to pass refguide * MAINT: Fixing typos in f2py comments and code. * DOC: fix SVD tutorial to pass refguide * MAINT: use list-based APIs to call subprocesses * ENH: update numpy.linalg.multi_dot to accept an `out` argument * TST: always use 'python -mpip' not 'pip' * DOC: update datetime reference to pass refguide * DOC: Fix coremath.rst to fix refguide_check * DOC: fix remaining doc files for refguide_check * BUG: fix logic error when nm fails on 32-bit * TST: Remove nose from the test_requirements.txt file. * DOC: Allow NEPs to link to python, numpy, scipy, and matplotlib... * BUG: Guarantee array is in valid state after memory error occurs... * MAINT: Remove non-native byte order from _var check. * MAINT: Add better error handling in linalg.norm for vectors and... * MAINT: doc: Remove doc/summarize.py * BUG: lib: Handle axes with length 0 in np.unique. * DOC: document inconsistency between the shape of data and mask... * BUG, TST: fix f2py for PyPy, skip one test for PyPy * MAINT: Fix swig tests issue * MAINT: CI: Add an explicit 'pr' section to azure-pipelines.yml * MAINT: Bump pytest from 5.3.5 to 5.4.1 * BUG,MAINT: Remove incorrect special case in string to number... * REL: Update master after 1.18.2 release. * ENH: Allow toggling madvise hugepage and fix default * DOC: Fix runtests example in developer docs * DEP: Make issubdtype consistent for types and dtypes * MAINT: remove useless `global` statements * BLD: Add requirements.txt file for building docs * BUG: don't add 'public' or 'private' if the other one exists * ENH: Use TypeError in `np.array` for python consistency * BUG: Add basic __format__ for masked element to fix incorrect... * TST: Add unit test for out=None of np.einsum * MAINT: Cleanups to np.insert and np.delete * BUG: Add error-checking versions of strided casts. * DEP: Make `np.insert` and `np.delete` on 0d arrays with an axis... * DOC: correct possible list lengths for `extobj` in ufunc calls * DEP: Make np.delete on out-of-bounds indices an error * DEP: Forbid passing non-integral index arrays to `insert` and... * TST: Parametrize sort test * TST: switch PyPy job with CPython * TST: Remove code that is not supposed to warn out of warning... * DEP: Do not cast boolean indices to integers in np.delete * MAINT: simplify code that assumes str/unicode and int/long are... * MAINT: pathlib and hashlib are in stdlib in Python 3.5+ * ENH: improved error message `IndexError: too many indices for... * BUG: Fix IndexError for illegal axis in np.mean * DOC: Minor fix to _hist_bin_fd documentation * BUG,DEP: Make `scalar.__round__()` behave like pythons round * DOC: First steps towards docs restructuring (NEP 44) * DOC, TST: enable refguide_check in circleci * DOC: fix typo in C-API reference * DOC: Fix docstring for _hist_bin_auto. * MAINT: Bump cython from 0.29.15 to 0.29.16 * DEP: Deprecate ndarray.tostring() * TST: use draft OpenBLAS build * BUG: Fix eigh and cholesky methods of numpy.random.multivariate_normal * BUG: Check that `pvals` is 1D in `_generator.multinomial`. * DOC: Add missing signature from nditer docstring * BUG: Fix empty_like to respect shape=() * BUG: Do not ignore empty tuple of strides in ndarray.__new__ * MAINT: Remove duplicated code in iotools.py * BUG: Setting a 0d array's strides to themselves should be legal * BUG: Respect itershape=() in nditer * MAINT: Clean-up 'next = __next__' used for Python 2 compatibility * TST: Run test_large_zip in a child process * DOC: Add missing doc of numpy.ma.apply_over_axes in API list. * DOC: Improve record module documentation * DOC: Fixed order of items and link to mailing list in dev docs... * BLD: report clang version on macOS * MAINT: records: Remove private `format_parser._descr` attribute * BUG: random: Disallow p=0 in negative_binomial * ENH: Use sysconfig instead of probing Makefile * DOC: Update np.copy docstring to include ragged case * DOC: Correct private function name to PyArray_AdaptFlexibleDType * MAINT: Fix capitalization in error message in `mtrand.pyx` * DOC: Update np.rollaxis docstring * BUG: fix AttributeError on accessing object in nested MaskedArray. * BUG: Alpha parameter must be 1D in `generator.dirichlet` * NEP: minor maintenance, update filename and fix a cross-reference * MAINT: Bump hypothesis from 5.8.0 to 5.8.3 * TST: Add slow_pypy support * DOC: Added note to angle function docstring about angle(0) being... * MAINT/BUG: Cleanup and minor fixes to conform_reduce_result * BUG: Avoid duplication in stack trace of `linspace(a, b, num=1.5)` * BUG: Fix inf and NaN-warnings in half float `nextafter` * MAINT: Remove 0d check for PyArray_ISONESEGMENT * DEV: Pass additional runtests.py args to ASV * DOC: Fix method documentation of function sort in MaskedArray * NEP: Improve Value Based Casting paragraph in NEP 40 * DOC: add note on flatten ordering in matlab page * TST: Add tests for the conversion utilities * BUG: Unify handling of string enum converters * MAINT: Replace npyiter_order_converter with PyArray_OrderConverter * BUG: Fix lexsort axis check * DOC: Clarify single-segment arrays in np reference * DOC: Change import error "howto" to link to new troubleshooting... * DOC: update first section of NEP 37 (``__array_function__`` downsides) * REL: Update master after 1.18.3 release. * MAINT: Bump hypothesis from 5.8.3 to 5.10.1 * DOC: initialise random number generator before first use in quickstart * ENH: Fix exception causes in build_clib.py * MAINT,TST: Move _repr_latex tests to test_printing. * BUG: missing 'f' prefix for fstring * ENH: Fix exception causes in build_ext.py * DOC: Small typo fixes to NEP 40. * DOC, BLD: update release howto and walkthrough for ananconda.org... * ENH: Chained exceptions in linalg.py and polyutils.py * MAINT: Chain exceptions in several places. * MAINT: Chain exceptions in memmap.py and core.py * BUG: Fix string to bool cast regression * DOC: Added page describing how to contribute to the docs team * DOC: add a note on sampling 2-D arrays to random.choice docstring * BUG: random: Generator.integers(2**32) always returned 0. * BLD: fix path to libgfortran on macOS * DOC: Add axis to random module "new or different" docs * DOC,BLD: Limit timeit iterations in random docs. * DOC: add note on type casting to numpy.left_shift(). * DOC: improve development debugging doc * DOC: tweak neps/scope.rst * MAINT: Bump cython from 0.29.16 to 0.29.17 * MAINT: Bump hypothesis from 5.10.1 to 5.10.4 * TST: use latest released PyPy instead of nightly builds * MAINT, DOC: Improve grammar on a comment in the quickstart * NEP 41: Accept NEP 41 and add DType<->scalar duplication paragraph * BLD: put openblas library in local directory on windows * MAINT: Fix random.PCG64 signature * DOC: Move misplaced news fragment for gh-13421 * DOC: Fix links for NEP 40 in NEP 41 * BUG: lib: Fix a problem with vectorize with default parameters. * ENH: Better error message when ``bins`` has float value in ``histogramdd``. * MAINT: Unify casting error creation (outside the iterator) * BENCH: Default to building HEAD instead of master * REL: Update master after NumPy 1.18.4 release * DOC: Add VSCode help link to importerror troubleshooting * CI: pin 32-bit manylinux2010 image tag * MAINT: Bump pytz from 2019.3 to 2020.1 * BUG: Correct loop order in MT19937 jump * CI: unpin 32-bit manylinux2010 image tag * BUG: add missing numpy/__init__.pxd to the wheel * BUG:Umath remove unnecessary include of simd.inc in fast_loop_macro.h * DOC,BLD: Add :doc: to whitelisted roles in refguide_check. * ENH: resync numpy/__init__.pxd with upstream * ENH: allow choosing which manylinux artifact to download * MAINT: Mark tests as a subpackage rather than data. * Update Docs : point users of np.outer to np.multiply.outer * DOC: Fix link to numpy docs in README. * ENH: Allow pickle with protocol 5 when higher is requested * MAINT: cleanups to _iotools.StringConverter * DOC: Unify cross-references between array joining methods * DOC: Improve docstring of ``numpy.core.records`` * DOC: update Code of Conduct committee * MAINT: Bump hypothesis from 5.10.4 to 5.12.0 * MAINT: Bump pytest from 5.4.1 to 5.4.2 * DOC: warn about runtime of shares_memory * ENH: backport scipy changes to openblas download script * BUG: skip complex256 arcsinh precision test on glibc2.17 * MAINT: Chain exceptions and use NameError in np.bmat * DOC,BLD: pin sphinx to <3.0 in doc_requirements.txt * BUG: fix signature of PyArray_SearchSorted in __init__.pxd * ENH: add manylinux1 openblas hashes * DOC: Fix Generator.choice docstring * DOC: Add PyDev instructions to troubleshooting doc * DOC: Add Clang and MSVC to supported compilers list * DOC: Warn about behavior of ptp with signed integers. * DOC: Update the f2py section of the "Using Python as Glue" page. * BUG: Add missing decref in fromarray error path * ENH: Add tool for downloading release wheels from Anaconda. * DOC: Fix typos and cosmetic issues * REL: Prepare for the 1.19.0 release * BUG: Fix tools/download-wheels.py. * BUG: Require Python >= 3.6 in setup.py * BUG: relpath fails for different drives on windows * DOC: Fix documentation rendering, * BUG: Don't segfault on bad __len__ when assigning. (gh-16327) * MAINT: Stop Using PyEval_Call* and simplify some uses * BLD: Avoid "visibility attribute not supported" warning. * BUG: Allow attaching documentation twice in add_docstring * MAINT: Remove f-strings in setup.py. (gh-16346) * BUG: Indentation for docstrings * BUG: Fix dtype leak in `PyArray_FromAny` error path * ENH: Optimize Cpu feature detect in X86, fix for GCC on macOS... * MAINT: core: Use a raw string for the fromstring docstring. * MAINT: Make ctypes optional on Windows * BUG: Fix small leaks in error path and ``empty_like`` with shape * TST, MAINT: Fix detecting and testing armhf features * DOC,BLD: Update sphinx conf to use xelatex. * DOC,BLD: Update make dist html target. * MAINT, DOC: add index for user docs. * MAINT: support python 3.10 * DOC: Fix troubleshooting code snippet when env vars are empty * REL: Prepare for the NumPy 1.19.0rc2 release. * MAINT:ARMHF Fix detecting feature groups NEON_HALF and NEON_VFPV4 * BUG:random: Error when ``size`` is smaller than broadcast input... * BUG: fix GCC 10 major version comparison * BUG: Ensure SeedSequence 0-padding does not collide with spawn... * BUG: fix sin/cos bug when input is strided array * MAINT: Move and improve ``test_ignore_nan_ulperror``. * REL: Update 1.19.0-changelog.rst for 1.19.0 release.
2020-06-11py-numpy: updated to 1.18.5adam2-7/+7
1.18.5: ENH: enable pickle protocol 5 support for python3.5 BUG: relpath fails for different drives on windows
2020-06-05py-numpy: Re-add support for g95leot1-2/+4
2020-05-04py-numpy: updated to 1.18.4adam2-10/+8
1.18.4: BLD: add i686 for 1.18 builds BUG: random: ``Generator.integers(2**32)`` always returned 0. BLD: fix path to libgfortran on macOS REV: Reverts side-effect changes to casting BLD: put openblas library in local directory on windows DOC: Change import error "howto" to link to new troubleshooting...
2020-04-27py-numpy: fix linker options on Darwinadam2-5/+5
2020-04-27py-numpy: updated to 1.18.3adam6-87/+103
1.18.3: BUG: Fix eigh and cholesky methods of numpy.random.multivariate_normalBUG,MAINT: Remove incorrect special case in string to number... BUG: Guarantee array is in valid state after memory error occurs... BUG: Check that `pvals` is 1D in `_generator.multinomial`. BUG: Alpha parameter must be 1D in `generator.dirichlet` 1.18.2: TST: move _no_tracing to testing._private MAINT: Large overhead in some random functions TST: Do not create gfortran link in azure Mac testing. BUG: Added missing error check in `ndarray.__contains__` MAINT: use list-based APIs to call subprocesses REL: Prepare for 1.18.2 release. BUG: fix logic error when nm fails on 32-bit 1.18.1: MAINT: Update pavement.py for towncrier. DOC: add moved modules to 1.18 release note MAINT, DOC: Minor backports and updates for 1.18.x TST: Add assert_array_equal test for big integer arrays BUG: use tmp dir and check version for cython test BUG: distutils: fix msvc+gfortran openblas handling corner case BUG: remove -std=c99 for c++ compilation MAINT: unskip test on win32 TST: add BLAS ILP64 run in Travis & Azure MAINT: only add --std=c99 where needed BUG: lib: Fix handling of integer arrays by gradient. MAINT: Do not use private Python function in testing REL: Prepare for the NumPy 1.18.1 release. 1.18.0: DOC: added note to docstring of numpy.savez BUG: Numpy scalar types sometimes have the same name DOC: Improve axes shift description and example in np.tensordot MAINT: avoid relying on `np.generic.__name__` in `np.dtype.name` ENH: supply our version of numpy.pxd, requires cython>=0.29 BUG: General fixes to f2py reference counts (dereferencing) BUG: NaT now sorts to ends of arrays DOC: Updates to nditer usage instructions BUG: Do not crash on recursive `.dtype` attribute lookup. ENH: Use AVX for float32 implementation of np.sin & np.cos DEP: Deprecate silent ignoring of bad data in fromfile/fromstring ENH: Always produce a consistent shape in the result of `argwhere` DOC: array(obj, dtype=dt) can downcast DOC: Document ma.filled behavior with non-scalar fill_value DOC: Add note to irfft-like functions about the default sizes BUG: Don't produce undefined behavior for a << b if b >= bitsof(a) MAINT: Update NEP template. ENH: random: Add the multivariate hypergeometric distribution. DOC: Fix unrendered links MAINT: Rewrite Floyd algorithm DOC: Add missing macros to C-API documentation ENH: Add axis argument to random.permutation and random.shuffle DOC: Adds documentation of functions exposed in numpy namespace BUG: Refcount fixes MAINT: Ensure array_dealloc does not modify refcount of self MAINT: Prepare master for 1.18.0 development. MAINT,BUG,DOC: Fix errors in _add_newdocs MAINT: Remove an unnessary backslash between two string literals MAINT: Update pavement to use python3 in shell commands. MAINT: Remove unnecessary backslashes (and replace others by... MAINT: Replace integers in places where booleans are expected DOC: Add missing parameter description for keepdims in MaskedArray ENH: use AVX for float32 and float64 implementation of sqrt,... DOC: reformat top-level release index DOC : Refactor Array API documentation -- Array Structure and... DOC: Fix typo in "make_mask" documentation MAINT: Delete unused _aliased_types.py BLD: Remove Trusty dist in Travis CI build BUG: Handle weird bytestrings in dtype() ENH: use towncrier to build the release note ENH: improve error message for ragged-array creation failure DOC: Update the description of byteswap BUG: i0 Bessel function regression on array-likes supporting... ENH, BUILD: refactor all OpenBLAS downloads into a single, testable... MAINT: Remove unnecessary parenthesis in numpy.ma.core MAINT: Fix wrong spelling of ufunc DOC: Remove explicit .next method calls with built-in next function... DOC: Don't override MaskedArray.view documentation with the one... BUG: Fix incorrect GIL release in array.nonzero MAINT: Warn if `_add_newdocs.py` is used to add docstrings to... MAINT: Revert 13876, "MAINT,BUG,DOC: Fix errors in _add_newdocs" MAINT,BUG,DOC: Fix errors in _add_newdocs DOC, MAINT: emphasize random API changes, remove Generator.randint DOC: Add a numpy-doc docstring to add_newdoc DOC: Fix rst rendering in data types DOC:Update the description of set_printoptions in quickstart... Fixing failure on Python 2.7 on Windows 7 Fix a typo related to the range of indices DOC: add space between words across lines BUG, DOC: add new recfunctions to `__all__` DOC: Change (old) range() to np.arange() DOC: improve np.sort docstring DOC: spellcheck numpy/doc/broadcasting.py MAINT, TST: remove test-installed-numpy.py DOC: Document array_function at a higher level. DOC: show workaround for backward compatibility DOC: Add a call for contribution paragraph to the readme BUG: Missing warnings import in polyutils BUILD: adapt "make version-check" to "make dist" DOC: emphasize need for matching numpy, git versions TST, MAINT, BUG: expand OpenBLAS version checking ENH: Chain exception for typed item assignment MAINT: Fix spelling error in npy_tempita kwarg DOC: Array API : Directory restructure and code cleanup [DOC] Remove unused/deprecated functions Update system_info.py DOC:Link between the two indexing documentation pages DOC: Update NumFOCUS subcommittee replacing Nathaniel with Sebastian DOC: update "Contributing to NumPy" with more activities/roles DOC: Improve quickstart documentation of new random Generator DEP: Speed up WarnOnWrite deprecation in buffer interface NEP: numpy.org website redesign DOC: Fix docstring of numpy.allclose regarding NaNs DEP: Raise warnings for deprecated functions PyArray_As1D, PyArray_As2D DEP: Remove np.rank which has been deprecated for more than 5... BUG, TEST: Adding validation test suite to validate float32 exp ENH,DEP: Allow multiple axes in expand_dims ENH: add pyproject.toml DOC: Update cversions.py links and wording DOC, BUILD: cleanups and fix (again) 'make dist' BUG: Fix file-like object check when saving arrays DOC: Resolve bad references in Sphinx warnings MAINT: bump ARMv8 / POWER8 OpenBLAS in CI DOC: Emphasize the need to run tests when building from source DOC:Add example to clarify "numpy.save" behavior on already open... DEP: Deprecate full and economic modes for linalg.qr DOC: Doc release BUG: fix build issue on icc 2016 TST: Add 3.8-dev to travisCI testing. DOC: Add blank line above doctest for intersect1d ENH: Propose standard policy for dropping support of old Python... DOC: Use `pip install .` where possible instead of calling setup.py MAINT: adjustments to test_ufunc_noncontigous MAINT: Improve NEP template DOC: fix documentation of i and j for tri. MAINT: Lazy import testing on python >=3.7 DEP: Deprecate PyArray_FromDimsAndDataAndDescr, PyArray_FromDims MAINT: Clearer error message while padding with stat_length=0 MAINT: remove duplicate variable assignments BUG: initialize variable that is passed by pointer DOC: fix typo in c-api/array.rst doc BUG: Add gcd/lcm definitions to npy_math.h MAINT: Mark umath accuracy test xfail. MAINT: Use equality instead of identity check with literal MAINT: Fix small typo in quickstart docs DOC, MAINT: Update master after 1.17.0 release. ENH: add c-imported modules for freeze analysis in np.random BUG: Fix DeprecationWarning in python 3.8 BUG: Remove stray print that causes a SystemError on python 3.7... BUG: Remove the broken clip wrapper BUG: avx2_scalef_ps must be static TST: Allow fuss in testing strided/non-strided exp/log loops NEP: Proposal for __duckarray__ protocol BUG: Make advanced indexing result on read-only subclass writeable TST: Clean up of test_pocketfft.py DEP: Deprecate np.alen MAINT: Workaround for Intel compiler bug leading to failing test DOC: Fix hermitian argument docs in `svd` MAINT: Fix a docstring typo. DOC: Fix links in `/.github/CONTRIBUTING.md`. ENH: Multivariate normal speedups MAINT: Improve mismatch message of np.testing.assert_array_equal DOC,MAINT: Move towncrier files and fixup categories BUG: Fixed default BitGenerator name BUG: Fix uint-overflow if padding with linear_ramp and negative... ENH: Enable huge pages in all Linux builds BUG: Fix leak in the f2py-generated module init and `PyMem_Del`... DOC: new nan_to_num keywords are from 1.17 onwards TST: Add tests for deprecated C functions (PyArray_As1D, PyArray_As1D) DOC: mention `take_along_axis` in `choose` ENH: Parse complex number from string DOC: update or remove outdated sourceforge links MAINT: Better error message for norm DOC: add backlinks to numpy.org BUG: Don't fail when lexsorting some empty arrays. BUG: Fix segfault in `random.permutation(x)` when x is a string. Doc: fix a typo in NEP21 DOC: set status of NEP 28 (website redesign) to Accepted BLD: MAINT: change default behavior of build flag appending. BUG: Fixes StopIteration error from 'np.genfromtext' for empty... BUG: fix inconsistent axes ordering for axis in function `unique` DEP: Deprecate load/dump functions in favour of pickle methods MAINT: Update NEP-30 DEP: Deprecate arrayprint formatting functions DOC: remove scipy.org from the breadcrumb formattiong BUG: Fix formatting error in exception message DOC: Address typos in dispatch docs BUG: Fix ZeroDivisionError for zero length arrays in pocketfft. BUG: Fix misuse of .names and .fields in various places TST, BUG: Use python3.6-dbg. BUG: core: Handle large negative np.int64 args in binary_repr. BUG: Fix numpy.random bug in platform detection MAINT: random: Match type of SeedSequence.pool_size to DEFAULT_POOL_SIZE Bug: Fix behavior of structured_to_unstructured on non-trivial... DOC: add two commas, move one word DOC: Clarify rules about broadcasting when empty arrays are involved. TST, MAINT: bump to OpenBLAS 0.3.7 stable DEP: numpy.testing.rand DEP: Deprecate class `SafeEval` BUG: revert detecting and raising error on ragged arrays DOC: Improve documentation of `isscalar`. MAINT: Fix bloated mismatch error percentage in array comparisons. DOC: Fix a minor typo in dispatch documentation. MAINT: Remove redundant deprecation checks MAINT: polynomial: Add an N-d vander implementation used under... DOC: clarify that PytestTester is non-public DOC: support and require sphinx>=2.2 DOC: random: fix doc linking, was referencing private submodules. MAINT: Fixes for prospective Python 3.10 and 4.0 DOC: lib: Add more explanation of the weighted average calculation. MAINT: Avoid BytesWarning in PyArray_DescrConverter() MAINT: Post NumPy 1.17.1 update. DOC: Fixed dtype docs for var, nanvar. DOC: Document project as Python 3 only with a trove classifier BUILD: move all test dependencies to ./test_requirements.txt BUG: lib: Fix histogram problem with signed integer arrays. REL: Update master after NumPy 1.16.5 release. BUG: test, fix regression in converting to ctypes NEP: Add initial draft of NEP-31: Context-local and global overrides.. DOC: document numpy/doc update process DOC: update np.around docstring with note about floating-point... BUG: view with fieldless dtype should raise if itemsize != 0 DOC: fix issue with __new__ usage in subclassing doc. DOC: Fix release notes table of contents NEP 32: Remove the financial functions from NumPy BLD: Update RELEASE_WALKTHROUGH and cythonize. Bump pytest from 5.1.1 to 5.1.2 TST: Remove build job since we now use Dependabot BLD: Only allow using Cython module when cythonizing. TST: Add dependabot config file. BUG: Fix format statement associated with AttributeError. BUG: Fix aradixsort indirect indexing. DOC: add the reference to 'printoptions' BUG: Do not show Override module in private error classes. DOC: Make implementation bullet points consistent in NEP 29 MAINT: Clarify policy language in NEP-29. REL: Update master after 1.17.2 release. MAINT: clean up pocketfft modules inside numpy.fft namespace BLD: remove generated Cython files from sdist MAINT: add test to prevent new public-looking modules being added BUG: random.hypergeometic assumes npy_long is npy_int64, hangs... ENH: Print the amount of memory that would be used by a failed... MAINT: use test_requirements.txt in tox and shippable, ship it... BUG: add a specialized loop for boolean matmul BUG: Fix _ctypes class circular reference. BUG: core: Fix the str function of the rational dtype. DOC: add timedelta64 signature MAINT: Extract raising of MemoryError to a helper function BUG,MAINT: Some fixes and minor cleanup based on clang analysis MAINT: Add `NPY_UNUSED` and `const` qualified suggested by clang MAINT: Silence integer comparison build warnings in assert statements MAINT: distutils: Add newline at the end of printed warnings. BUG: random: Revert gh-14458 and refix gh-14557. DOC: Fix reference NPY_ARRAY_OWNDATA instead of NPY_OWNDATA. ENH: Allow NPY_PKG_CONFIG_PATH environment variable override MAINT: remove the entropy c-extension module DOC: Add backslashes so PyUFunc_FromFuncAndDataAndSignatureAndIdentity DOC: Fix a minor typo in changelog readme BUG: Fix randint when range is 2**32 DOC: tweak np.round docstring to clarify floating-point error DOC: Add warning to NPV function API: Do not return None from recfunctions.drop_fields BUG: Fix flatten_dtype so that nested 0-field structs are flattened... DOC: Build release notes during CircleCI step BUILD: Hide platform configuration probe behind --debug-configure Mention that split() returns views into the original array MAINT: Simplify lookfor function MAINT: random: Remove a few duplicated C function prototypes. BUILD, MAINT: run tests with verbose for PyPY, also do not leak... BUG: fix release snippet failures caught only after merging BLD: add warn-error option, adds -Werror to compiler BUG: random: Create a legacy implementation of random.binomial. MAINT: remove unused functions, rearrange headers (from CC=clang) DOC: Fix a bit of code in 'Beyond the Basics' C API user guide. MAINT: Cleanup old_defines in DOC DOC: Added missing versionadded to diff(prepend) BUG: Avoid ctypes in Generators Changing ImportWarning to DeprecationWarning MAINT: handle case where GIT_VERSION is empty string MAINT: core: Remove duplicated inner loop ee->e from log, exp,... DOC: clarify input types in basics.io.genfromtxt.rst DOC: remove note about Pocketfft license file (non-existing here). DOC: Fix code that generates the table in the 'Casting Rules'... MAINT: don't install partial numpy.random C/Cython API. TST: ensure coercion tables aren't printed on failing public... DEP: remove deprecated (and private) numpy.testing submodules. BLD, DOC: fix gh-14518, add release note BUG: importing build_src breaks setuptools monkeypatch for msvc14 DOC: Note runtests.py `-- -s` method to use pytests `-s` DOC: update submodule docstrings, remove info.py files DOC: Document the NPY_SCALARKIND values as C variables. MAINT: Bump pytest from 5.1.2 to 5.1.3 DEP: remove deprecated select behaviour BUG: Add missing check for 0-sized array in ravel_multi_index BUG: dtype refcount cleanups DOC: Fix a minor typo in changelog entry MAINT: Fix typo: remoge → remove DOC: Change the promotion table checkmark to 'Y'. DEP: Complete deprecation of invalid array/memory order DOC: Add to doc that interp cannot contain NaN NEP: Accept NEP 32. NEP: Fix discrepancies in NEPs NEP: Only list "Active" NEPs under "Meta-NEPs" API: restructure and document numpy.random C-API BUG: properly define PyArray_DescrCheck{,Exact} MAINT: Remove duplicate files from .gitignore API: rearrange the cython files in numpy.random MAINT: Bump pytest from 5.1.3 to 5.2.0 MAINT: Add "MAINT" tag to dependabot commit msg DOC: Updated sphinx directive formatting DEP: Finish deprecation of non-integer `num` in linspace DOC: s/OR/AND/ in np.logical_and docstring DOC: misleading np.sinc() documentation DOC: clarify residual in np.polyfit BUILD: change to build_src --verbose-cfg, runtests.py --debug-info BUG: always free clean_sep DOC: Create `class Extension` docstring and add it to documentation. DOC: add `printoptions` as a context manager to `set_printoptions` DOC: Fix typo in NEP 29 MAINT: Use scalar math power function directly DOC: Add IPython to dependencies needed to build docs. MAINT: Bump pytest-cov from 2.7.1 to 2.8.1 MAINT: Bump pytest from 5.2.0 to 5.2.1 MAINT: Bump pytz from 2019.2 to 2019.3 MAINT: Use `extract_unit` throughout datetime BUG: fix fromfile behavior when reading sub-array dtypes BUG: random: Use correct length when axis is given to shuffle. BUG: Do not rely on undefined behaviour to cast from float to... NEP: add default-dtype-object-deprecation nep 34 MAINT: Remove unused boolean negative/subtract loops DEP: ufunc `out` argument must be a tuple for multiple outputs BUG: Fix `np.einsum` errors on Power9 Linux and z/Linux DOC: Note release notes process changes on devdocs start page Doc warnings DOC: Switch Markdown link to RST in NEP 29 TST: Divide Azure CI Pipelines into stages. DEP: Finish the out kwarg deprecation for ufunc calls DOC: Removing mentions of appveyor BUG: Default start to 0 for timedelta arange API: NaT (arg)min/max behavior API: Forbid Q<->m safe casting DEP: deprecate financial functions. DOC: Move newsfragment to correct folder DOC: cleaning up examples in maskedarray.generic MAINT: umath: Change error message for unsupported bool subtraction. ENH: Add complex number support for fromfile TST: run refguide-check on rst files in doc/* DOC: Edit NEP procedure for better discussion DOC: Post 1.17.3 release update. NEP: Accept NEP 29 as final BUG: Don't narrow intp to int when producing error messages DOC: lib: Fix deprecation markup in financial function docstrings. DOC: Change from HTTP to HTTPS BUG: clear only attribute errors in get_attr_string.h::maybe_get_attr MAINT: doc: Remove doc/newdtype_example/ Reword cautionary note about dtype.descr BUG: fix integer size confusion in handling array's ndmin argument TST, BUILD: add a gcc 4.8 run on ubuntu 18.04 Update CLASSIFIERS with python 3.8 support BUG: random: biased samples from integers() with 8 or 16 bit... DOC: Add release note about changed random variate stream from... DOC: Make changes to NEP procedure DOC: random: Remove redundant 'See Also' entry in 'uniform' docstring. MAINT: Minor typo fix MAINT: Bump pytest from 5.2.1 to 5.2.2 DOC: Adjust NEP-31 to new template. DEP: issue deprecation warning when creating ragged array (NEP... NEP: move 'NEP 29 random' from Accepted to Final DOC: Add take_along_axis to the see also section in argmin, argmax... ENH: change object-array comparisons to prefer OO->O unfuncs TST: Don't construct Fraction instances from numpy scalars Rename helper functions to not use the word rank MAINT: Use templating to merge float loops BUILD: ignore more build.log warnings BLD: Prevent -flto from optimising long double representation... BUG: raise ValueError for empty arrays passed to _pyarray_correlate MAINT: move buffer.h -> npy_buffer.h to avoid conflicts MAINT: Bump cython from 0.29.13 to 0.29.14 ENH: add isinf, isnan, fmin, fmax loops for datetime64, timedelta64 BLD: add 'apt update' to shippable MAINT: revert gh-14800, which gave precedence to OO->O over OO->? REL: Update master after 1.17.4 release. BUILD: remove SSE2 flag from numpy.random builds DOC: Update NEP29 with Python3.8 informations. BUG: Remove builtins from __all__ MAINT: Delete and ignore generated files Update FUNDING.yml MAINT: Remove uses of scalar aliases NEP: move nep 34 to accepted TST: Add s390x to the TravisCI test matrix. DOC: Note FFT type promotion TST: Test with Python3.8 on Windows. TST: Update travis.yml TST: add no_tracing decorator to refcount-sensitive codepath... MAINT: Bump pytest from 5.2.2 to 5.2.4 BUG: Fix step returned by linspace when num=1 and endpoint=False DOC: Compare 'tolist' function to 'list' in example DOC: Clarify return type for default_rng MAINT: move numpy/random/examples -> numpy/random/_examples DOC: testing: Note handling of scalars in assert_array_equal... DOC, API: add random.__init__.pxd and document random.* functions DOC: Clean up examples of low-level random access TST. API: test using distributions.h via cffi TST: skip if cython is not available MAINT: Cleaned up mintypecode for Py3 DOC: fix docstring of np.linalg.norm MAINT: Added Python3.8 branch to dll lib discovery on Windows DEV: update asv.conf.json MAINT: Bump pytest from 5.2.4 to 5.3.0 MAINT: Fix typos REV: "ENH: Improved performance of PyArray_FromAny for sequences... BUG: warn when saving dtype with metadata DEP: Deprecate the axis argument to masked_rows and masked_cols MAINT: Fix long name of PCG64 DOC, API: improve the C-API/Cython documentation and interfaces... DOC: Fix typo in numpy.loadtxt and numpy.genfromtxt documentation ENH: allow using symbol-suffixed 64-bit BLAS/LAPACK for numpy.dot... DOC: add a more useful comment to compat.py3k.py DOC: lib: Use a clearer example of ddof in the notes of the cov... TST: machinery for tests requiring large memory + lapack64 smoketest MAINT: Only copy input array in _replace_nan() if there are nans... MAINT: Bump pytest from 5.3.0 to 5.3.1 REV: "ENH: Improved performance of PyArray_FromAny for sequences... REL: Prepare for 1.18 branch MAINT: Cleaned up mintypecode for Py3 (pt. 2) BUG: Fix refcounting in ufunc object loops BUG: Exceptions tracebacks are dropped REV: Revert "Merge pull request 14794 from mattip/nep-0034-impl" API, DOC: change names to multivariate_hypergeometric, improve docs REL: Prepare for NumPy 1.18.0 release. TST: Check requires_memory immediately before the test ENH: Add support to sort timedelta64 `NaT` to end of the array MAINT: follow-up cleanup for blas64 PR ENH: f2py: add --f2cmap option for specifying the name of .f2py_f2cmap ENH: add support for ILP64 OpenBLAS (without symbol suffix)
2020-03-26py-numpy: Remove bogus empty string argument.jperkin2-5/+5
Introduced 5 years ago due to variable expansion being committed, the variable in question is no longer required. Noticed by Dr. Thomas Orgis.
2020-01-30math/py-numpy: Update to 1.16.6minskim2-7/+7
Changes: - The np.testing.utils functions have been updated from 1.19.0-dev0. This improves the function documentation and error messages as well extending the assert_array_compare function to additional types. - Allow matmul (@) to work with object arrays. - Fix regression in matmul (@) for boolean types. - Array comparison assertions include maximum differences.
2020-01-24math/py-numpy: Update to 1.16.5minskim3-8/+12
Changes: - Add project URLs to setup.py - fix tests and ctypes code for PyPy - use npy_intp instead of int for indexing array - Ignore DeprecationWarning during nose imports - Fix use-after-free in boolean indexing - Fix errors in _add_newdocs - fix byte order reversal for datetime64[ns] - Use nbytes to also catch empty descr during allocation - np.array cleared errors occured in PyMemoryView_FromObject - Fixes for Undefined Behavior Sanitizer (UBSan) errors. - ensure that casting to/from structured is properly checked. - fix histogram*d dispatchers - further fixup to histogram2d dispatcher. - Replace contextlib.suppress for Python 2.7 - fix compilation of 3rd party modules with Py_LIMITED_API... - Fix memory leak in dtype from dict contructor - Document array_function at a higher level. - add new recfunctions to __all__ - Remove stray print that causes a SystemError on python 3.7 - Pin pytest version to 5.0.1. - Enable huge pages in all Linux builds - fix behavior of structured_to_unstructured
2019-06-14py-numpy: updated to 1.16.4adam2-9/+10
1.16.4: BUG: Some PyPy versions lack PyStructSequence_InitType2. MAINT, DEP: Fix deprecated ``assertEquals()`` BUG: Fix structured_to_unstructured on single-field types (backport) BLD: Make CI pass again with pytest 4.5 TST: Register markers in conftest.py. BUG: Removes ValueError for empty kwargs in arraymultiter_new BUG: Add TypeError to accepted exceptions in crackfortran. BUG: Handle subarrays in descr_to_dtype BUG: Protect generators from log(0.0) BUG: Always return views from structured_to_unstructured when... BUG: Catch stderr when checking compiler version BUG: longdouble(int) does not work BUG: distutils/system_info.py fix missing subprocess import BUG,DEP: Fix writeable flag setting for arrays without base MAINT: Prepare for the 1.16.4 release. BUG: special case object arrays when printing rel-, abs-error