| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\
| |
| | |
ENH: add support for fujitsu C/C++ compiler and SSL2 to numpy.
|
| | |
|
|/ |
|
|
|
|
|
| |
The shim has been deprecated since 2019, the proper place to import
utils funtions is directly from numpy.testing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NumPy switched to using pytest in 2018 and nose has been unmaintained
for many years. We have kept NumPy's nose support to avoid breaking
downstream projects who might have been using it and not yet switched to
pytest or some other testing framework. With the arrival of Python 3.12,
unpatched nose will raise an error. It it time to move on.
Decorators removed
- raises
- slow
- setastest
- skipif
- knownfailif
- deprecated
- parametrize
- _needs_refcount
These are not to be confused with pytest versions with similar names,
e.g., pytest.mark.slow, pytest.mark.skipif, pytest.mark.parametrize.
Functions removed
- Tester
- import_nose
- run_module_suite
|
|
|
|
|
|
| |
Ignore two more modules from np.distutils.log found by
test_public_api.py::test_all_modules_are_expected_2
Closes #22827
|
|
|
|
|
|
|
|
|
|
|
|
| |
I wasn't sure if we should already start deprecating the exceptions
so opted to follow up with only hiding them from `__dir__()` but
still having them in `__all__` and available.
This also changes their module to `numpy.exceptions`, which matters
because that is how they will be pickled (it would not be possible
to unpickle such an exception in an older NumPy version).
Due to pickling, we could put off changing the module.
|
|\
| |
| | |
BENCH: Update MaskedArray Benchmarks
|
| | |
|
|/ |
|
|
|
|
| |
This means moving ComplexWarning, TooHardError, and AxisError.
|
|\
| |
| | |
API: Add numpy.testing.overrides to aid testing of custom array containers
|
| |
| |
| |
| | |
Closes #15544
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This enables building with NumPy on Linux and macOS. Windows support
should be complete to, but is untested as of now and may need a few
tweaks. This contains:
- A set of `meson.build` files and related code generation script
tweaks, header templates, etc.
- One CI job on Linux
- Basic docs on using Meson to build NumPy (not yet integrated in the
html docs, it's too early for that - this is for early adopters right
now).
The build should be complete, with the major exception of SIMD support.
The full test suite passes. See gh-22546 for the tracking issue with
detailed notes on the plan for switching NumPy to Meson as its build
system.
Co-authored-by: Stefan van der Walt <stefanv@berkeley.edu>
|
|/ |
|
|
|
|
|
|
|
|
| |
Deprecate the fastCopyAndTranspose function from the Python API, and the
underlying PyArray_CopyAndTranspose function from the C-API.
Also removes an internal, private function _fastCopyAndTranspose which
was the original Python wrapper around the C-function.
|
| |
|
|
|
|
| |
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
|
|\
| |
| | |
ENH: Add ARM Compiler with ARM Performance Library support
|
| | |
|
|/
|
|
|
|
|
|
| |
To allow access to the docstring of ufunc via
identifier #DOC_PLACE_OF_UFUNC, e.g. DOC_NUMPY_CORE_UMATH_ABSOLUTE.
This patch is part of a series of steps aimed at replacing template sources
and the umath python generator with C++ meta-programming.
|
| |
|
| |
|
|
|
|
| |
Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
ENH: Implementation of the NEP 47 (adopting the array API standard)
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
Aforementioned module was accidently marked as public
|
|
|
|
|
|
|
|
|
| |
With `as_strided`, and the newly introduced `sliding_window_view` function, there are currently 2 public objects that can:
a. Only be imported from a private module
b. Are publicly documented to-be imported from aforementioned module
Both observations are problematic and in need of rectification.
This commit therefore moves `np.lib.stride_tricks` to the `PUBLIC_MODULES` list.
|
| |
|
|
|
|
|
|
| |
* Add doc for deprecate_with_doc
Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
Co-authored-by: Matti Picus <matti.picus@gmail.com>
|
| |
|
| |
|
|\
| |
| | |
ENH: Support for the NVIDIA HPC SDK nvfortran compiler
|
| | |
|
|\ \
| | |
| | | |
MAINT: use sysconfig not distutils.sysconfig where possible
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
counterparts (#17222)
* DOC: redistribute docstring-only content from numpy/doc
* DOC: post-transition clean-up
* DOC, MAINT: reskip doctests, fix a few easy ones
|
|/
|
|
|
|
|
|
|
| |
As explained in NEP 32, the financial functions are to be removed
from version 1.20.
They are now replaced with module level `__getattr__` to give a useful
error message for those surprised by the `AttributeError`.
This only works for Python 3.7+, but it is expected that by the 1.20 release
Python 3.6 will not be supported.
|
| |
|