| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\
| |
| | |
ENH: add support for fujitsu C/C++ compiler and SSL2 to numpy.
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add functionality to autogenerate build information for a Meson-based build.
In order to add new information, do the following:
- Add the information as an argument in `numpy/meson.build`
- Modify `__config__.py.in` to accept the new argument
Note that SIMD information is added to config, but is WIP/empty,
because `__cpu*` lists are not yet populated as meson does not build
SIMD features yet.
There are two display modes:
- `stdout`: Uses `PyYaml` to display in a human friendly
format. Uses `json` if `PyYaml` is not installed
- `dicts`: Returns a `dict` object
Things will work fine without `pyyaml` installed, an unobtrusive
warning is displayed that the printed output will look better
with `pyyaml`.
[ci skip]
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| | |
BUG: Fix duplication of names in 'numpy.__all__'.
|
| |
| |
| |
| | |
Closes gh-10198.
|
| | |
|
| |
| |
| |
| | |
Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
|
| | |
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
ENH: Allow `ctypeslib.load_library` to take any path-like object
|
| | |
|
| | |
|
|\ \
| | |
| | | |
ENH: Implementation of the NEP 47 (adopting the array API standard)
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| | |
All errors raised within the sub process will remain silenced if the return code isn't validated
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
- Make versions of the form '1.22.0.dev0' valid for non-releases.
- Put empty match at end of groups instead of at the beginning.
- Require eol in match, do not allow trailing characters.
|