summaryrefslogtreecommitdiff
path: root/numpy/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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-113-2/+13
|/
* 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
|
* ENH: allow importlib.LazyLoader to work with numpy and add test of this (#22045)Dan Schult2022-07-271-0/+38
|
* MAINT: Python <3.8 related cleanupsBrigitta Sipőcz2022-05-231-2/+2
|
* 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
|
* Merge pull request #20284 from WarrenWeckesser/fix-name-dupsRalf Gommers2021-11-041-0/+9
|\ | | | | BUG: Fix duplication of names in 'numpy.__all__'.
| * BUG: Fix duplication of names in 'numpy.__all__'.warren2021-11-031-0/+9
| | | | | | | | Closes gh-10198.
* | 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
|
* Merge pull request #17530 from BvB93/fspathCharles Harris2021-10-091-7/+10
|\ | | | | ENH: Allow `ctypeslib.load_library` to take any path-like object
| * TST: Updated the `ctypeslib.load_library` testsBas van Beek2020-10-101-7/+10
| |
* | 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
|/ /
* | TST: Validate the return code of `test_full_reimport`Bas van Beek2021-07-211-2/+5
| | | | | | | | All errors raised within the sub process will remain silenced if the return code isn't validated
* | TST fix comment of assert+indentationJérôme Kieffer2021-05-311-2/+2
| |
* | TST Fix typoJérôme Kieffer2021-05-311-2/+2
| |
* | TST: fix pylintJérôme Kieffer2021-05-311-2/+4
| |
* | BUG: re-introduce short-version as it wasJérôme Kieffer2021-05-311-0/+8
| |
* | BUG: Fix test_numpy_version.Charles Harris2021-05-231-4/+21
| | | | | | | | | | | | - 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.
* | 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>
* | DOC: Warn when reloading numpy or using numpy in sub-interpreterSebastian Berg2020-12-151-5/+9
| | | | | | | | | | | | | | | | This adds a warning when the main NumPy module is reloaded with the assumption that in this case objects such as `np.matrix`, `np._NoValue` or exceptions may be cached internally. It also gives a warning when NumPy is imported in a sub-interpreter.
* | ENH: Use versioneer to manage numpy versions.Charles Harris2020-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The new tags look like '1.21.0.dev0+98.gaa0453721f', where '98' is the number of commits since the 1.21.0 branch was started and 'aa0453721f'. The chosen form may be specified in the 'setup.cfg' file. This PR adds two new files 'numpy/_version.py' and 'numpy/version.py'. The latter is kept because it is part of the public API and is actually used by some downstream projects, but it is no longer dynamically created. See https://github.com/python-versioneer/python-versioneer/ for more information.
* | ENH: add support for fujitsu compiler to numpy. (#17792)Tomoki, Karatsu2020-12-031-0/+1
| |
* | Merge pull request #17122 from charris/cleanup-f2py-versioningRalf Gommers2020-11-281-2/+2
|\ \ | | | | | | MAINT: Use numpy version for f2py version.
| * | MAINT: Use numpy version for f2py version.Charles Harris2020-08-221-2/+2
| | | | | | | | | | | | | | | | | | Because f2py is released as part of numpy, the old svn versioning no longer makes sense and it was decided to use the numpy version instead.
* | | 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
| | |
* | | MAINT: Move typing testsCharles Harris2020-09-0739-1954/+0
| | | | | | | | | | | | Move them into a new `numpy/typing/tests directory`
* | | Merge branch 'master' into ndarray-methodsCharles Harris2020-09-078-7/+107
|\ \ \