summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Bump pytest-cov from 2.10.1 to 2.11.1dependabot/pip/pytest-cov-2.11.1dependabot-preview[bot]2021-01-251-1/+1
| | | | | | | | Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.10.1 to 2.11.1. - [Release notes](https://github.com/pytest-dev/pytest-cov/releases) - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.10.1...v2.11.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #18221 from Carreau/doc-fixes-chooseMatti Picus2021-01-251-17/+17
|\ | | | | DOC: Misc single to double backticks fixes.
| * DOC: Misc single to double backticks fixes.Matthias Bussonnier2021-01-241-17/+17
|/ | | | | | | | As usual, single backtics are for references, double for verbatim. Rewrap the paragraph when necessary, Change also a couple of mode=xxx to mode='xxx' as well.
* Merge pull request #18217 from charris/fix-complexwarning-in-testSebastian Berg2021-01-241-0/+1
|\ | | | | MAINT: Ignore ComplexWarning in ``test_iter_copy_casts``.
| * MAINT: Ignore ComplexWarning in ``test_iter_copy_casts``Charles Harris2021-01-241-0/+1
| | | | | | | | | | ComplexWarning is showing up in the aarch64 wheel nightly build tests. I don't see them locally, do not know why.
* | Merge pull request #18211 from rgommers/fix-shuffle-objectCharles Harris2021-01-244-9/+54
|\ \ | | | | | | MAINT: random shuffle: warn on unrecognized objects, fix empty array bug
| * | Remove duplicate axis checkRalf Gommers2021-01-231-4/+0
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | BUG: shuffling empty array with axis=1 was brokenRalf Gommers2021-01-234-8/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This would trigger: ``` NotImplementedError: Axis argument is only supported on ndarray objects ``` because empty arrays and array scalars would take the "untyped" path. The bug exists only for Generator, not in RandomState (it doesn't have axis keyword for `shuffle`), but update both because it keeps implementations in sync and the change results in more understandable code also for RandomState.
| * | MAINT: warn when shuffling unrecognized objectsRalf Gommers2021-01-232-5/+23
| | | | | | | | | | | | Closes gh-18206
* | | Merge pull request #18204 from BvB93/tst_mypyCharles Harris2021-01-242-44/+46
|\ \ \ | |_|/ |/| | TST: Speed up the typing tests
| * | MAINT: Do not split at the first `:` character if the path contains a ↵Bas van Beek2021-01-221-2/+10
| | | | | | | | | | | | windows drive
| * | TST: Enable the `show_absolute_path` option in mypy.iniBas van Beek2021-01-222-4/+2
| | |
| * | TST: Alias `OUTPUT_MYPY` so that it appears in the local namespaceBas van Beek2021-01-221-6/+13
| | |
| * | MAINT: Manually assign the full path rather than using `os.path.abspath`Bas van Beek2021-01-221-1/+2
| | | | | | | | | | | | Fixes an issue with the azure (windows) tests where `abspath` would point to the wrong directory
| * | TST: Run mypy once and cache the resultsBas van Beek2021-01-211-45/+33
| | |
* | | Merge pull request #18208 from mattip/skipCharles Harris2021-01-241-1/+4
|\ \ \ | | | | | | | | TST: raise memory limit for test
| * | | fix from reviewmattip2021-01-241-2/+5
| | | |
| * | | TST: raise memory limit for testmattip2021-01-221-1/+1
| | | |
* | | | STY: unify imports in __init__.py (#18187)Amarnath19042021-01-241-3/+3
| | | | | | | | | | | | minor style cleanup
* | | | Merge pull request #18205 from charris/update-pavementRalf Gommers2021-01-241-28/+20
|\ \ \ \ | | | | | | | | | | MAINT: Update pavement.py to work with versioneer.
| * | | | MAINT: Update pavement.py to work with versioneer.Charles Harris2021-01-211-28/+20
| | |/ / | |/| |
* | | | Merge pull request #18214 from Carreau/docstring-array-fullMatti Picus2021-01-241-1/+1
|\ \ \ \ | | | | | | | | | | DOC: Double backticks for inline code example.
| * | | | DOC: Double backticks for inline code example.Matthias Bussonnier2021-01-231-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | Single backticks are supposed to be use for reference to other object, In this context double backticks (verbatim) appear to be better suited.
* | | | Merge pull request #18213 from Carreau/array-a-quotesMatti Picus2021-01-241-1/+1
|\ \ \ \ | |/ / / |/| | | DOC: Formatting consistency.
| * | | DOC: Formatting consistency.Matthias Bussonnier2021-01-231-1/+1
|/ / / | | | | | | | | | | | | | | | Single back ticks are use for references, so this should be either double backticks, or quotes. As `'K'` is used later in the same sentence, and below in the `Notes` section, settle for single quotes.
* | | Merge pull request #18210 from madphysicist/patch-2Charles Harris2021-01-221-1/+1
|\ \ \ | |_|/ |/| | DOC: typo in post-loop return
| * | DOC: typo in post-loop returnJoseph Fox-Rabinovitz2021-01-221-1/+1
|/ /
* | ENH: Add dtype support to the array comparison ops (#18128)Bas van Beek2021-01-217-95/+282
|/ | | | | | | | | | | | | | | | | | | | | * ENH: Added `_ArrayLikeNumber` * ENH: Added dtype support to the array comparison ops * MAINT: Made `dtype` and `ndarray` covariant The dtypes scalar-type and ndarrays' dtype are now covariant instead of invariant. This change is necasary in order to ensure that all generic subclasses can be used as underlying scalar type. * TST: Updated the comparison typing tests * MAINT: Fixed an issue where certain `array > arraylike` operations where neglected More specifically operations between array-likes of `timedelta64` and `ndarray`s that can be cast into `timedelta64`. For example: ar_i = np.array([1]) seq_m = [np.timedelta64()] ar_i > seq_m
* Merge pull request #18194 from Qiyu8/einsum-twooperandsCharles Harris2021-01-201-245/+75
|\ | | | | MAINT: einsum: Optimize the sub function two-operands by using SIMD.
| * Optimize the sub function two-operands by using SIMD.Qiyu82021-01-191-245/+75
| |
* | Merge pull request #18197 from seberg/array-protocol-errorsCharles Harris2021-01-202-7/+24
|\ \ | | | | | | BUG: Keep ignoring most errors during array-protocol lookup
| * | BUG: Keep ignoring most errors during array-protocol lookupSebastian Berg2021-01-202-7/+24
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes (the later point) in gh-17965 and reverts parts of gh-17817. Shapely did rely on being able to raise a NotImplementedError which then got ignored in the attribute lookup. Arguably, this should probably just raise an AttributeError to achieve that behaviour, but it means we can't just rip the band-aid off here. Since 1.20 is practically released, just reverting most of the change (leaving only recursion and memory error which are both arguably pretty fatal). Ignoring most errors should be deprecated (and I am happy to do so), but it is not important enough for 1.20 or very important in itself. Closes gh-17965
* | Merge pull request #18084 from rgommers/nep-sponsorshipCharles Harris2021-01-201-0/+255
|\ \ | | | | | | NEP: NumPy sponsorship guidelines (NEP 46)
| * | MAINT: address review comments on sponsorship NEPRalf Gommers2021-01-111-32/+33
| | | | | | | | | | | | [ci skip]
| * | DOC: address review comments on sponsorship NEPRalf Gommers2021-01-081-8/+21
| | |
| * | NEP: NumPy sponsorship guidelines (NEP 46)Ralf Gommers2020-12-281-0/+241
| | |
* | | Merge pull request #18196 from mattip/openblas-af2b0d0Matti Picus2021-01-201-1/+1
|\ \ \ | | | | | | | | BLD: update OpenBLAS to af2b0d02
| * | | BLD: update OpenBLAS to af2b0d02mattip2021-01-201-1/+1
| | |/ | |/|
* | | Merge pull request #18184 from pearu/17797Charles Harris2021-01-196-11/+58
|\ \ \ | | | | | | | | BUG: Fix f2py bugs when wrapping F90 subroutines.
| * | | Applied reviewers comments: add identPearu Peterson2021-01-191-9/+10
| | | |
| * | | Apply reviewer comments.Pearu Peterson2021-01-192-6/+4
| | | |
| * | | Apply reviewers comments.Pearu Peterson2021-01-192-12/+12
| | | |
| * | | retrigger checksPearu Peterson2021-01-180-0/+0
| | | |
| * | | Add test for gh17797.Pearu Peterson2021-01-184-6/+47
| | | |
| * | | BUG: f2py specific __user__ modules should not be used in Fortran sources to ↵Pearu Peterson2021-01-181-3/+6
| | | | | | | | | | | | | | | | be compiled. Closes #17797.
| * | | BUG: subroutines using assumed shape arrays must be treated as F90 codes. ↵Pearu Peterson2021-01-181-2/+6
| | | | | | | | | | | | | | | | Don't split inline comments.
| * | | BUG: Fix detecting Fortran 90+ source format.Pearu Peterson2021-01-181-1/+1
| |/ /
* | | Merge pull request #18174 from BvB93/covariantCharles Harris2021-01-195-160/+169
|\ \ \ | | | | | | | | MAINT: Changed the `NBitBase` variancy in `number` from co- to invariant
| * | | DOC: Added a missing `Union` importBas van Beek2021-01-191-1/+1
| | | |
| * | | TST: Added a tests for `number` invariancyBas van Beek2021-01-191-0/+6
| | | |