summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | MAINT: Ignore hadolint info error DL3059.Charles Harris2023-03-033-0/+4
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That is a suggestion to consolidate run lines. I suppose we could raise the error threshold from the current "info" level, but it seems easier to just ignore what is effectively a "style" error. [skip ci] [skip cirrus]
* | | | | | | | | | | | | | Merge pull request #23332 from charris/update-action-versionsCharles Harris2023-03-032-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | MAINT: Make hadolint version more explicit.
| * | | | | | | | | | | | | MAINT: Make hadolint version more explicit.Charles Harris2023-03-032-2/+2
|/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [skip ci]
* | | | | | | | | | | | | Merge pull request #23329 from charris/update-action-versionsCharles Harris2023-03-032-6/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | | MAINT: Update actions in gitpod/docker workflows
| * | | | | | | | | | | | MAINT: Update actions in gitpod/docker workflowsCharles Harris2023-03-032-6/+6
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the following actions to see if the deprecation warnings for `save-state` and `set-output` gitpod are fixed. - hadolint-action (->v3) - login-action (->v2) - setup-buildx-action (->v2) Gitpod is only run on merge, so cannot be tested prior to that.
* | | | | | | | | | | | Merge pull request #23317 from larrybradley/fix-typosMatti Picus2023-03-031-5/+5
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: fix typos
| * | | | | | | | | | | | DOC: fix typosLarry Bradley2023-03-021-5/+5
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | |
* | | | | | | | | | | | Merge pull request #23321 from charris/update-gitpod-buildMatti Picus2023-03-032-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: Fix failing gitpod build.
| * | | | | | | | | | | | MAINT: Fix failing gitpod build.Charles Harris2023-03-022-2/+2
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gitpod builds have begun failing, this PR updates the `build-push-action` command to version 4 to check if that fixes the problem. Note the the build only runs on merge, so the PR tests won't help, but a version update is probably a good idea anyway. See gh-23320 for more information.
* | | | | | | | | | | | Merge pull request #23314 from rgommers/depr-product-and-coCharles Harris2023-03-0218-54/+100
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | DEP: deprecate `product`, `cumproduct`, `sometrue`, `alltrue`
| * | | | | | | | | | | | MAINT: add dates/versions to deprecations, fix linter complaintRalf Gommers2023-03-022-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [skip cirrus] [skip circle]
| * | | | | | | | | | | | MAINT: Change file name to fix circleci failure.Charles Harris2023-03-021-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename `23314.deprecations,rst` to `23314,deprecation,rst`
| * | | | | | | | | | | | DEP: deprecate `product`, `cumproduct`, `sometrue`, `alltrue`Ralf Gommers2023-03-0218-54/+94
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [skip cirrus]
* | | | | | | | | | | | Merge pull request #23318 from ngoldbaum/arraydescr-new-fixSebastian Berg2023-03-021-1/+0
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | BUG: Fix reference counting error in arraydescr_new
| * | | | | | | | | | | BUG: Fix reference counting error in arraydescr_newNathan Goldbaum2023-03-021-1/+0
|/ / / / / / / / / / /
* | | | | | | | | | | Merge pull request #23311 from F3eQnxN3RriK/fix-docs-typoMukulika2023-03-021-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | DOC: Fix a typo
| * | | | | | | | | | | DOC: Fix a typoyuki2023-02-281-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | DOC: Fixed meshgrid docstring return type (#23310)Miki Watanabe2023-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Meshgrid returns a list of ndarrays. Co-authored-by: 渡邉 美希 <miki.watanabe@watanabenoMacBook-Pro.local>
* | | | | | | | | | | | Merge pull request #23302 from rgommers/depr-round-aroundCharles Harris2023-03-019-57/+127
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | DEP: deprecate `np.round_`; add `round`/`min`/`max` to the docs
| * | | | | | | | | | | | MAINT: switch min/max with amin/amax, and add them to html docsRalf Gommers2023-03-015-40/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes gh-13877
| * | | | | | | | | | | | DOC: add `np.round` to the html docs, and make it the preferred aliasRalf Gommers2023-03-014-15/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function is more commonly called `round`, both in the array API standard and in other array libraries (e.g., PyTorch has `round` but not around). Plus we have `ndarray.round`. `around` is heavily used, so keep it as an alias - but prefer `round`. For both this switch and for keeping the alias, xref gh-13877. Closes gh-19717
| * | | | | | | | | | | | DEP: deprecate `np.round_`Ralf Gommers2023-02-285-4/+21
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes gh-22617
* | | | | | | | | | | | Merge pull request #23306 from ngoldbaum/allow-is-numericSebastian Berg2023-03-011-3/+5
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | MAINT: allow NPY_DT_NUMERIC flag on user dtypes
| * | | | | | | | | | | MAINT: allow NPY_DT_NUMERIC flag on user dtypesNathan Goldbaum2023-03-011-3/+5
|/ / / / / / / / / / /
* | | | | | | | | | | DOC: Update the docstring for `np.round_` to disrecommend it (#22527)Inessa Pawson2023-02-281-2/+6
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | [skip ci]
* | | | | | | | | | Merge pull request #23292 from ngoldbaum/sort-pyapiSebastian Berg2023-02-281-6/+6
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | BUG: sorting checks `NPY_NEEDS_PYAPI` instead of `NPY_ITEM_REFCOUNT`
| * | | | | | | | | | BUG: sorting checks `NPY_NEEDS_PYAPI` instead of `NPY_ITEM_REFCOUNT`Nathan Goldbaum2023-02-271-6/+6
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #23294 from joycebrum/mainMatti Picus2023-02-282-2/+8
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | Set github workflow permissions to circleci and labeler
| * | | | | | | | | | chore: reduce scope of write permissionJoyce2023-02-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joyce <joycebrum@google.com>
| * | | | | | | | | | chore: set permissions to circleci artifactJoyce2023-02-271-0/+5
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joyce <joycebrum@google.com>
* | | | | | | | | | Merge pull request #23284 from arogozhnikov/add-xp-takeMatti Picus2023-02-273-0/+46
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | ENH: add support for xp.take
| * | | | | | | | | | rename test functionAlex Rogozhnikov2023-02-261-1/+1
| | | | | | | | | | |
| * | | | | | | | | | add support for xp.takeAlex Rogozhnikov2023-02-263-0/+46
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #23285 from Unessam/my-contribution3Sebastian Berg2023-02-273-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | DOC: Update dtype hierarchy and box-text alingnment png pdf dia #23252
| * | | | | | | | | | DOC: Update dtype hierarchy and box-text alingnment png pdf dia #23252Younes2023-02-263-0/+0
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #23269 from tylerjereddy/treddy_ma_deepcopy_fixSebastian Berg2023-02-262-1/+58
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | BUG: masked array proper deepcopies
| * | | | | | | | | | BUG: PR 23269 revisionsTyler Reddy2023-02-252-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * handle 0-D masked object array deepcopies, with regression test, based on reviewer feedback
| * | | | | | | | | | MAINT: PR 23269 revisionsTyler Reddy2023-02-242-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * the deepcopy of masked array object type now also includes the components beyond just `_data`; add a related test case
| * | | | | | | | | | MAINT: PR 23269 revisionsTyler Reddy2023-02-242-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guard masked array `__deepcopy__` special object handling behind `dtype.hasobject`, based on reviewer feedback * masked array `__deepcopy__` for object type handling now deepcopies from `self._data` directly, based on reviewer feedback * add a test case for 2D masked array object deepcopies, since reviewer was not convinced this was working
| * | | | | | | | | | BUG: masked array proper deepcopiesTyler Reddy2023-02-232-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #22556 Fixes #21022 * add regression test and fix for gh-22556, where we were relying on the array `copy` arg to deepcopy a compound object type; I thought about performance issues here, but if you are already in the land of `object` and you are explicitly opting in to `deepcopy`, it seems like performance might be wishful thinking anyway * add regression test and fix for gh-21022--this one was weirder but seems possible to sidestep by not trying to assign a shape of `()` to something that already has shape `()` and a non-writeable `shape` attribute
* | | | | | | | | | | Merge pull request #23278 from F3eQnxN3RriK/fix-docs-linksSebastian Berg2023-02-252-2/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | DOC: Fix some links in the usage document
| * | | | | | | | | | | DOC: Fix some links in the usage documentyuki2023-02-252-2/+2
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #23279 from seberg/issue-23277Charles Harris2023-02-253-2/+23
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: Allow no-op clearing of void dtypes
| * | | | | | | | | | | | BUG: Allow no-op clearing of void dtypesSebastian Berg2023-02-253-2/+23
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some void dtypes think they contain objects but don't. Instead of playing whack-a-mole to see if that can be fixed, simply make the clearing a no-op here for them. User dtypes are weirder, it should be OK to pass through. Fixes the error message and use write-unraisable. Closes gh-23277
* | | | | | | | | | | | Merge pull request #23262 from ngoldbaum/public-array-clear-on-dtypeSebastian Berg2023-02-255-71/+117
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | API: expose traversal typedefs and `get_clear_loop` slot
| * | | | | | | | | | | | MAINT: return early from PyArray_FillObjectArray for non-legacy dtypesNathan Goldbaum2023-02-242-24/+17
| | | | | | | | | | | | |
| * | | | | | | | | | | | DOC: reword explanatory commentNathan Goldbaum2023-02-241-10/+5
| | | | | | | | | | | | |
| * | | | | | | | | | | | MAINT: remove out-of-date commentNathan Goldbaum2023-02-241-2/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | MAINT: initialize non-legacy REFCHK arrays outside PyArray_FillObjectArrayNathan Goldbaum2023-02-242-11/+27
| | | | | | | | | | | | |
| * | | | | | | | | | | | MAINT: fencepost error fix and cleanup for dtype slots setupNathan Goldbaum2023-02-241-4/+4
| | | | | | | | | | | | |