summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Bump hypothesis from 6.0.0 to 6.0.2dependabot/pip/hypothesis-6.0.2dependabot-preview[bot]2021-01-181-1/+1
| | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.0.0 to 6.0.2. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.0.0...hypothesis-python-6.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #18173 from BvB93/clear_cacheCharles Harris2021-01-151-0/+10
|\ | | | | TST: Clear the mypy cache before running any typing tests
| * TST: Clear the mypy cache before running any typing testsBas van Beek2021-01-151-0/+10
|/
* Merge pull request #18157 from alexhenrie/no_castable_outputSebastian Berg2021-01-141-1/+1
|\ | | | | BUG: Initialize value of no_castable_output used in ufunc_loop_matches
| * BUG: Initialize value of no_castable_output used in ufunc_loop_matchesAlex Henrie2021-01-121-1/+1
| |
* | Merge pull request #18166 from DerWeh/chebpts1-improve-accuracyCharles Harris2021-01-141-2/+2
|\ \ | | | | | | Use sinus based formula for ``chebpts1``
| * | Use sinus based formula for `chebpts1`Weh Andreas2021-01-141-2/+2
|/ /
* | Merge pull request #18156 from alexhenrie/free_nullSebastian Berg2021-01-131-3/+1
|\ \ | |/ |/| MAINT: Remove redundant null check before free
| * MAINT: Remove redundant null check before freeAlex Henrie2021-01-121-3/+1
|/
* Merge pull request #18152 from seberg/fix-string-object-promotionCharles Harris2021-01-112-35/+38
|\ | | | | BUG: Promotion between strings and objects was assymetric
| * BUG: Promotion between strings and objects was assymetricSebastian Berg2021-01-112-35/+38
| | | | | | | | | | | | | | | | | | | | After an unrelated fix, the logic for string and object promotion was incorrect briefly, this fixes it to be correct (symmetric). Before, string and unicode would return that `string.__common_dtype(object)` is in fact `string`, which is of course incorrect. (since `object.__common_dtype__(other)` always returns `object` this depended on the order, and the NumPy tests apparently did only test the opposite direction (or nothing).
* | Merge pull request #18136 from ↵Sebastian Berg2021-01-111-0/+5
|\ \ | |/ |/| | | | | Iamsoto/add_keyboard_interrupts_for_array_creation ENH: Adding keyboard interrupt support for array creation
| * ENH: keyboard interrupt for large array creationiamsoto2021-01-081-0/+5
| |
* | Merge pull request #18144 from rgommers/cython-version-checkMatti Picus2021-01-111-1/+4
|\ \ | | | | | | BLD: add found Cython version to check in cythonize.py
| * | BLD: add found Cython version to check in cythonize.pyRalf Gommers2021-01-111-1/+4
| | | | | | | | | | | | | | | Ref gh-18138, which has a confusing situation where the correct version seems installed but this check still raises.
* | | Merge pull request #18149 from numpy/dependabot/pip/hypothesis-6.0.0Matti Picus2021-01-111-1/+1
|\ \ \ | | | | | | | | MAINT: Bump hypothesis from 5.46.0 to 6.0.0
| * | | MAINT: Bump hypothesis from 5.46.0 to 6.0.0dependabot-preview[bot]2021-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.46.0 to 6.0.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.46.0...hypothesis-python-6.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | | Merge pull request #18148 from numpy/dependabot/pip/sphinx-3.4.3Matti Picus2021-01-111-1/+1
|\ \ \ \ | |/ / / |/| | | MAINT: Bump sphinx from 3.4.1 to 3.4.3
| * | | MAINT: Bump sphinx from 3.4.1 to 3.4.3dependabot-preview[bot]2021-01-111-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.4.1 to 3.4.3. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.4.1...v3.4.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | Merge pull request #18104 from ↵Charles Harris2021-01-102-43/+42
|\ \ \ | |/ / |/| | | | | | | | DWesl/change-tests-with-loops-to-parametrized-tests TST: Turn some tests with loops into parametrized tests.
| * | TST: Change big parametrized loop to nested small parametrized loops.DWesl2021-01-032-28/+9
| | | | | | | | | | | | | | | | | | | | | Suggested by charris for clarity. Since I'm not marking some tests xfail based on the values of all parameters, this looks nicer.
| * | TST: Turn some tests with loos into parametrized tests.DWesl2021-01-012-43/+61
| | | | | | | | | | | | | | | | | | | | | I wanted to mark only some parts of the loops as xfail for another PR. That part of the PR probably won't make it into numpy, but I think parametrized tests give better information on failure than tests with loops do, so I'm submitting these here.
* | | Merge pull request #18118 from seiko2plus/issue_18106Matti Picus2021-01-094-48/+72
|\ \ \ | | | | | | | | BUG, MAINT: improve avx512 mask logical operations
| * | | BUG, MAINT: improve avx512 mask logical operationsSayed Adel2021-01-052-47/+55
| | | | | | | | | | | | | | | | | | | | It also fixes conversion warning between `__mmask16` and `__mmask8` on msvc2019 when logical intrinsics of AVX512DQ are available.
| * | | BLD: Add extra check for AVX512DQ mask conversionsSayed Adel2021-01-052-1/+17
| | | |
* | | | Merge pull request #17863 from seberg/restructure-cast-loops-masterMatti Picus2021-01-0915-70/+2052
|\ \ \ \ | | | | | | | | | | MAINT: Implement new casting loops based on NEP 42 and 43
| * | | | MAINT: Implement new casting loops based on NEP 42 and 43Sebastian Berg2021-01-0814-60/+2046
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | switch to using new casting as default to run full CI Initialize casting to silence compile warnings only... BUG: As my comment even said, out_needs_api is caller-initialized so I shouldn't init it to 0, it might disable api again. Simplify tests again, it seems unnecessar to go this complex Simplify `#if` as the variable should always be defined TST: Add more tests (and some related fixes) This fixes a few small things (i.e. the decref loop can be NULL and checking for writeable was incorrect in the private API). Mostly adds new tests for some internal API as well as for the copy of the auxiliar data. The nditer test however also is a heavyweight tests for the general multistep casting
| * | | | MAINT: Move modref definition into setup.pySebastian Berg2021-01-072-10/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems the only reason this did not cause problems before was that the test checking for C warnings only ran on a run where these were always 0 and thus undefined (and so were not redefined later). The `#ifndef` would have to happen at a later time apparently, so just avoid it.
* | | | Merge pull request #18109 from PhanatosZou/chain-exceptionsSebastian Berg2021-01-081-1/+1
|\ \ \ \ | |/ / / |/| | | MAINT: Fix exception cause in mingw32ccompiler.py
| * | | fix exception cause in mingw32ccompiler.pyPhanatosZou2021-01-031-1/+1
| | | |
* | | | ENH, SIMD: Ditching the old CPU dispatcher(Exp & Log) (#18101)Sayed Adel2021-01-079-1247/+1348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The second patch in a series of pull-requests aims to facilitate the migration process to our new SIMD interface(NPYV). It is basically a process that focuses on getting rid of the main umath SIMD source `simd.inc`, which contains almost all SIMD kernels, by splitting it into several dispatch-able sources without changing the base code, which facilitates the review process during the move to NPYV(universal intrinsics). In this patch, we have moved the the following raw SIMD loops to the new dispatcher: - FLOAT_exp, DOUBLE_exp - FLOAT_log, DOUBLE_log - FLOAT_frexp, DOUBLE_frexp - FLOAT_ldexp, DOUBLE_ldexp
* | | | DEP: Deprecate `data_type.dtype` if attribute is not already a dtype (#13578)Sebastian Berg2021-01-066-49/+87
| | | | | | | | | | | | | | | | | | | | | | | | * DEP: Deprecate `data_type.dtype` if attribute is not already a dtype After the deprecation, a recursive lookup for `.dtype` will not be possible, since `.dtype` has to be a dtype instance.
* | | | Merge pull request #18115 from seberg/half-promotionCharles Harris2021-01-062-4/+21
|\ \ \ \ | | | | | | | | | | BUG: Fix promotion of half and string
| * | | | BUG: Fix promotion of half and stringSebastian Berg2021-01-042-4/+21
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | I somehow managed to miss that half breaks the order of dtypes and has a higher number than the strings. Could be backported, but it doesn't really matter, since it only makes a difference if the compile time flag is used and even then is pretty fringe.
* | | | MAINT: CPUs that support unaligned access. (#18065)Chunlin2021-01-056-16/+14
| | | | | | | | | | | | | | | | | | | | * add CPUs that support unaligned access. * add comments demonstrate the common scenoirs of unaligned access.
* | | | Merge pull request #18126 from charris/post-1.19.5-release-updateCharles Harris2021-01-053-0/+75
|\ \ \ \ | | | | | | | | | | REL: Update master after 1.19.5 release.
| * | | | REL: Update master after 1.19.5 release.Charles Harris2021-01-053-0/+75
|/ / / /
* | | | Merge pull request #18086 from seiko2plus/fix_simd_aarch64_clangMatti Picus2021-01-053-11/+18
|\ \ \ \ | |/ / / |/| | | BUG, SIMD: Fix _simd module build for 64bit Arm/neon clang
| * | | BUG, SIMD: Fix _simd module build for 64bit ARM/NEON clangSayed Adel2020-12-293-11/+18
| | | |
* | | | Merge pull request #18111 from numpy/dependabot/pip/hypothesis-5.46.0dependabot-preview[bot]2021-01-041-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | MAINT: Bump hypothesis from 5.43.4 to 5.46.0dependabot/pip/hypothesis-5.46.0dependabot-preview[bot]2021-01-041-1/+1
|/ / / | | | | | | | | | | | | | | | | | | Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.43.4 to 5.46.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.43.4...hypothesis-python-5.46.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | | Merge pull request #18082 from rgommers/roadmap-updateMatti Picus2021-01-031-37/+44
|\ \ \ | | | | | | | | DOC: roadmap update
| * | | DOC: roadmap updateRalf Gommers2021-01-021-37/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - updates the contents for changes in 2020 - reorders sections to reflect priorities from user survey - makes it easier to understand the concrete goals for "interoperability"
* | | | Merge pull request #18100 from seiko2plus/issue_18092Matti Picus2021-01-035-34/+51
|\ \ \ \ | | | | | | | | | | BUG, BLD: Generate the main dispatcher config header into the build dir
| * | | | MAINT, BLD: few tweaks in the comments and log messageSayed Adel2021-01-032-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Matti Picus <matti.picus@gmail.com> Co-authored-by: h-vetinari <h.vetinari@gmx.com> Co-authored-by: Derek Homeier <dhomeie@gwdg.de>
| * | | | BUG, BLD: Generate the main dispatcher config header into the build dirSayed Adel2021-01-035-31/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new path becomes `build/src.*/numpy/distutils/include/npy_cpu_dispatch_config.h` instead of `numpy/core/src/common/_cpu_dispatch.h`. The new path allows other projects to re-use the CPU dispatcher once we decide to expose the following headers: - `numpy/core/src/common/npy_cpu_dispatch.h` - `numpy/core/src/common/npy_cpu_features.h`
* | | | | Merge pull request #18103 from DWesl/avoid-changing-odd-tempfile-namesCharles Harris2021-01-011-2/+2
|\ \ \ \ \ | |_|_|_|/ |/| | | | TST: Avoid changing odd tempfile names in tests' site.cfg
| * | | | TST: Avoid changing odd tempfile names in tests' site.cfgDWesl2021-01-011-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | CI once produced a tempfile name with the string 'mkl' embedded. The old code changed this as well as the section name. This should ensure only section names get changed, and the restriction on the number of replacements should catch any weird corner cases, since I think the sections came first.
* | | | Merge pull request #18062 from krnilo/add-lstsq-detailsCharles Harris2020-12-301-2/+3
|\ \ \ \ | |/ / / |/| | | DOC: add missing details to linalg.lstsq docstring
| * | | STY: Add spaces around '-'.Charles Harris2020-12-301-1/+1
| | | | | | | | | | | | [ci skip]