summaryrefslogtreecommitdiff
path: root/numpy/tests/test_public_api.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Move module to be `np.dtypes` and add release noteSebastian Berg2023-04-121-1/+1
|
* API: Add `numpy.types` module and fill it with DType classesSebastian Berg2023-04-121-0/+1
|
* MAINT: Remove numpy.dual from API checkCharles Harris2023-03-281-1/+0
|
* Merge pull request #22982 from yamadafuyuka/add_fujitsuccompiler_and_SSL2Sebastian Berg2023-03-061-0/+1
|\ | | | | ENH: add support for fujitsu C/C++ compiler and SSL2 to numpy.
| * ENH: add support for fujitsu C/C++ compiler and SSL2 to numpy.yamadafuyuka2023-03-021-0/+1
| |
* | TST: xfail api entry point test when building with mesonmattip2023-02-221-0/+4
|/
* DEP: Remove the deprecated utils.py shim.Charles Harris2023-01-211-1/+0
| | | | | The shim has been deprecated since 2019, the proper place to import utils funtions is directly from numpy.testing.
* MAINT: Remove all nose testing support.Charles Harris2023-01-191-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* TST: ignore more np.distutils.log importsBen Greiner2022-12-191-0/+2
| | | | | | Ignore two more modules from np.distutils.log found by test_public_api.py::test_all_modules_are_expected_2 Closes #22827
* API: Hide exceptions from the main namespaceSebastian Berg2022-12-061-0/+14
| | | | | | | | | | | | 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.
* Merge pull request #22731 from HaoZeke/maBenchCleanupMatti Picus2022-12-051-1/+0
|\ | | | | BENCH: Update MaskedArray Benchmarks
| * MAINT: Kill old hand-written benchmarksRohit Goswami2022-12-051-1/+0
| |
* | ENH: Add an InvalidPromotion exceptionSebastian Berg2022-12-011-0/+1
|/
* API: Add new exceptions module and move exception exposed via numericSebastian Berg2022-11-301-0/+1
| | | | This means moving ComplexWarning, TooHardError, and AxisError.
* Merge pull request #22533 from ngoldbaum/ufunc-and-function-listingSebastian Berg2022-11-291-0/+1
|\ | | | | API: Add numpy.testing.overrides to aid testing of custom array containers
| * API: Add numpy.testing.overrides to aid testing of custom array containersNathan Goldbaum2022-11-161-0/+1
| | | | | | | | Closes #15544
* | BLD: enable building NumPy with MesonRalf Gommers2022-11-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | TST: Skip tests that are not currently supported in wasmHood Chatham2022-11-111-0/+2
|/
* DEP: fastCopyAndTranspose and PyArray_CopyAndTransposeRoss Barnowski2022-10-061-1/+1
| | | | | | | | 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.
* TST: Added show_runtime to test_public_apiganesh-k132022-08-191-0/+1
|
* MAINT: Kill unused fileRohit Goswami2022-05-051-1/+0
| | | | Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
* Merge pull request #20416 from ARCCA/armcompilerMatti Picus2021-12-241-0/+2
|\ | | | | ENH: Add ARM Compiler with ARM Performance Library support
| * Update test_public_api.pyThomas Green2021-12-021-0/+2
| |
* | ENH: Generate the docstrings of umath into a separated C headerSayed Adel2021-12-121-0/+1
|/ | | | | | | | 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.
* ENH: Add the linalg extension to the array_api submodule (#19980)Aaron Meurer2021-11-141-0/+1
|
* xfail `test_array_api_entry_point` on python-dbgMatthew2021-11-041-0/+9
|
* Use ep.load() instead of import_module() to get xpMatthew Barber2021-11-041-1/+1
| | | | Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
* Clearer test logicMatthew Barber2021-11-041-6/+13
|
* Make test compatible with Python >=3.10Matthew Barber2021-11-041-5/+11
|
* Test array_api entry point exists and points to numpy.array_apiMatthew Barber2021-11-041-0/+16
|
* DEP: Deprecate the `np.core.machar` moduleBas van Beek2021-10-261-1/+0
|
* Add new module numpy.f2py.symbolicPearu Peterson2021-09-011-0/+1
|
* Merge pull request #18585 from data-apis/array-apiCharles Harris2021-08-231-0/+1
|\ | | | | ENH: Implementation of the NEP 47 (adopting the array API standard)
| * Make sure array_api is included in the public API testsAaron Meurer2021-08-121-0/+1
| |
* | MAINT: Cleanup code after dropping Python 3.7.Charles Harris2021-08-161-16/+2
| |
* | Rm numpy.lib.npyio.mafromtxt.Ross Barnowski2021-08-051-1/+0
| |
* | Rm numpy.lib.npyio.ndfromtxt.Ross Barnowski2021-08-051-1/+0
|/
* API: Move `polynomial.polyutils` to the `PRIVATE_BUT_PRESENT_MODULES` listBas van Beek2021-03-161-1/+1
| | | | Aforementioned module was accidently marked as public
* API: Formally classify `np.lib.stride_tricks` as part of the public APIBas van Beek2021-03-151-1/+1
| | | | | | | | | 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.
* TST: Add `numpy.typing.mypy_plugin` to the list of public modulesBas van Beek2020-12-221-0/+1
|
* DOC: Doc for deprecate_with_doc (#17852)kumudlakara2020-12-171-1/+1
| | | | | | * 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: add support for fujitsu compiler to numpy. (#17792)Tomoki, Karatsu2020-12-031-0/+1
|
* Change string to f-stringJakob2020-10-231-1/+1
|
* Merge pull request #17344 from danbeibei/masterCharles Harris2020-10-091-0/+1
|\ | | | | ENH: Support for the NVIDIA HPC SDK nvfortran compiler
| * ENH: Add support for the NVIDIA HPC SDK fortran compilerDaniel Vanzo2020-09-221-0/+1
| |
* | Merge pull request #17223 from mattip/setuptools1Charles Harris2020-09-041-12/+0
|\ \ | | | | | | MAINT: use sysconfig not distutils.sysconfig where possible
| * | MAINT: use sysconfig not distutils.sysconfig where possiblemattip2020-09-021-12/+0
| | |
* | | MAINT, DOC: move informational files from numpy.doc.*.py to their *.rst ↵Matti Picus2020-09-021-11/+0
|/ / | | | | | | | | | | | | | | | | counterparts (#17222) * DOC: redistribute docstring-only content from numpy/doc * DOC: post-transition clean-up * DOC, MAINT: reskip doctests, fix a few easy ones
* | DEP: lib: Remove the deprecated financial functions. (#17067)Warren Weckesser2020-08-121-1/+0
|/ | | | | | | | | 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.
* Fixed language styleErfan Nariman | Veneficus2020-06-231-3/+3
|