summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | TST: Ignore nan-warnings in randomized out testsSebastian Berg2022-12-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests randomize the nan pattern and thus can run into these (additional) warnings, so ignore them. (Could also fix the random seed, but this should do) Closes gh-22835
* | | | | | | | | | | | | | Merge pull request #22874 from seberg/fixup-str-cast-testCharles Harris2022-12-221-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TST: Fixup string cast test to not use `tiny`
| * | | | | | | | | | | | | | TST: Fixup string cast test to not use `tiny`Sebastian Berg2022-12-221-2/+2
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is not much value in these values anyway probably, but tiny isn't reliably for double-double (maybe it should be, but that is a different issue). Fixup for gh-22855 and gh-22868
* | | | | | | | | | | | | | Merge pull request #22851 from seiko2plus/issue_22841Sebastian Berg2022-12-223-26/+57
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG, SIMD: Fix memory overlap in ufunc comparison loops
| * | | | | | | | | | | | | | MAINT: Remove unused umath macros IS_BLOCKABLE_BINARY_BOOL*Sayed Adel2022-12-221-13/+0
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | BUG, SIMD: Fix memory overlap on comparison accumulateSayed Adel2022-12-212-13/+57
| |/ / / / / / / / / / / / /
* | | | | | | | | | | | | | Merge pull request #22853 from mattip/issuesCharles Harris2022-12-212-34/+14
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: enhance show_runtime
| * | | | | | | | | | | | | | MAINT: expand show_rutime, add it to issue template [skip ci]mattip2022-12-212-34/+14
| |/ / / / / / / / / / / / /
* | | | | | | | | | | | | | Merge pull request #22855 from seberg/issue-22843Charles Harris2022-12-213-4/+24
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | BUG: Fortify string casts against floating point warnings
| * | | | | | | | | | | | | BUG: Fortify string casts against floating point warningsSebastian Berg2022-12-213-4/+24
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the check for floating point warnings, which is enough in practice. (In principle ufuncs or structured dtypes can chain casts in a way that causes us to check anyway.) It also checks for isfinite in the scalar repr code so the warnings shouldn't be set to begin with. Closes gh-22843
* | | | | | | | | | | | | Merge pull request #22849 from seberg/issue-22720Charles Harris2022-12-212-1/+18
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | API: Ensure a full mask is returned for masked_invalid
| * | | | | | | | | | | | | API: Ensure a full mask is returned for masked_invalidSebastian Berg2022-12-212-1/+18
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Matplotlib relies on this, so we don't seem to have much of a choice. I am surprised that we were not notified of the issue before release time. Closes gh-22720, gh-22720
* | | | | | | | | | | | | Merge pull request #22856 from seberg/issue-22811Ralf Gommers2022-12-212-3/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BLD: Help raspian arm + clang 13 about `__builtin_mul_overflow` [ci skip]
| * | | | | | | | | | | | BLD: Help raspian arm + clang 13 about `__builtin_mul_overflow`Sebastian Berg2022-12-212-3/+6
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems on raspian arm with clang 13 `__builtin_mul_overflow` is defined for `int` but doesn't work for `ptrdiff_t` (and maybe others). This checks for `ptrdiff_t` instead of int, which was reported to work-around the issue. Closes gh-22811
* | | | | | | | | | | | Merge pull request #22846 from seiko2plus/issue_22841Charles Harris2022-12-202-9/+9
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | BUG, SIMD: Fix the bitmask of the boolean comparison
| * | | | | | | | | | | | BUG, SIMD: Fix the bitmask of the boolean comparisonSayed Adel2022-12-212-9/+9
| |/ / / / / / / / / / /
* | | | | | | | | | | | Merge pull request #22838 from seberg/issue-22826Charles Harris2022-12-192-5/+19
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: Do not use getdata() in np.ma.masked_invalid
| * | | | | | | | | | | | BUG: Do not use getdata() in np.ma.masked_invalidSebastian Berg2022-12-192-5/+19
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the minimal solution to fix gh-22826 with as little change as possible. We should fix `getdata()` but I don't want to do that in a bug-fix release really. IMO the alternative is to revert gh-22046 which would also revert the behavior noticed in gh-22720 (which seems less harmful though). Closes gh-22826
* | | | | | | | | | | | Merge pull request #22828 from bnavigator/ignore-distutils-apiCharles Harris2022-12-191-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | TST: ignore more np.distutils.log imports
| * | | | | | | | | | | | 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
* | | | | | | | | | | | | BUG: Ensure correct behavior for rows ending in delimiter in loadtxt (#22836)Sebastian Berg2022-12-193-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a row ends in a delimiter, `add_fields` can be called twice without any field actually being parsed. This causes issues with the field buffer setup. closes gh-22833
* | | | | | | | | | | | | Merge pull request #22824 from andyfaff/tagger_reduxCharles Harris2022-12-191-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | | BLD: CIRRUS_TAG redux
| * | | | | | | | | | | | BLD: CIRRUS_TAG reduxAndrew Nelson2022-12-191-1/+1
| |/ / / / / / / / / / /
* | | | | | | | | | | | Merge pull request #22818 from neutrinoceros/1.23_changelog_typosSebastian Berg2022-12-191-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: fix a couple typos in 1.23 notes.
| * | | | | | | | | | | | DOC: fix a couple typos in 1.23 changelogClément Robert2022-12-181-2/+2
| |/ / / / / / / / / / /
* | | | | | | | | | | | Merge pull request #22822 from charris/post-1.24.0-release-updateMatti Picus2022-12-193-12/+1148
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | MAINT: Update main after 1.24.0 release.
| * | | | | | | | | | | MAINT: Update main after 1.24.0 release.Charles Harris2022-12-183-12/+1148
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Create 1.24.0-changelog.rst - Update 1.24.0-notes - Update .mailmap
* | | | | | | | | | | Merge pull request #22816 from mattip/build-stuffMatti Picus2022-12-182-10/+8
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | BLD: redo delocate, update labeler
| * | | | | | | | | | | BLD: redo delocate, update labelermattip2022-12-182-10/+8
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #22771 from seiko2plus/issue_22461Sebastian Berg2022-12-1816-177/+405
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | BUG, SIMD: Fix invalid value encountered in several ufuncs
| * | | | | | | | | | | ENH, SIMD: Discard non-signaling comparison intrinsicsSayed Adel2022-12-1514-173/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Providing non-signaling comparison intrinsics that guarantee no FP invalid exception in case of qNaN sounds great but it cost unacceptable extra intrinsics on ppc64le(VSX) and x86(SSE). Therefore, an integer definition #NPY_SIMD_CMPSIGNAL has been provided instead to differenate between SIMD extensions that support only supports signaling comparison.
| * | | | | | | | | | | BUG, SIMD: Fix invalid value encountered in rint/trunc/ceil/floor on armhf/neonSayed Adel2022-12-142-68/+91
| | | | | | | | | | | |
| * | | | | | | | | | | BUG, SIMD: Fix invalid value encountered in rint/trunc/ceil/floor on x86/SSE2Sayed Adel2022-12-142-50/+135
| | | | | | | | | | | |
| * | | | | | | | | | | BUG, SIMD: Fix invalid value encountered in expm1 when SVML/AVX512 enabledSayed Adel2022-12-141-0/+10
| | | | | | | | | | | |
| * | | | | | | | | | | ENH, TST: Test all FP unary ufunc against any unexpected fp exceptionsSayed Adel2022-12-142-11/+80
| | | | | | | | | | | |
| * | | | | | | | | | | BUG, SIMD: Fix invalid value encountered in cos/sin on aarch64 & ppc64leSayed Adel2022-12-142-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | ENH, SIMD: Add ordered comparison intrinsics guarantees non-signalingSayed Adel2022-12-149-47/+239
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
* | | | | | | | | | | Merge pull request #22814 from mattip/delocateCharles Harris2022-12-171-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | BLD: use newer version of delocate
| * | | | | | | | | | | BLD: use newer version of delocatemattip2022-12-171-1/+1
|/ / / / / / / / / / /
* | | | | | | | | | | DEV: Fix devcontainer configuration (#22785)JP Ungaretti2022-12-164-82/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR fixes numpy's devcontainer.json to successfully create an Anaconda environment. You can test this new devcontainer.json by creating a codespace for my fork/branch: https://github.com/codespaces/new?hide_repo_select=true&ref=jungaretti%2Ffix-devcontainer&repo=576410652 Changes * Removed references to Microsoft's anaconda-0.3 image. This image is deprecated. For a list of maintained images, see https://github.com/devcontainers/images * Added a new setup.sh script that is run by postCreateCommand and removed the unnecessary Dockerfile. For more information about devcontainer lifecycle scripts, see https://containers.dev/implementors/json_reference/#lifecycle-scripts * Increases memory requirement to 8 GB. Anaconda environment creation seems to fail when only 4 GB of memory are available. This hostRequirements addition will ensure that the environment is created successfully with GitHub Codespaces. * Remove unnecessary rust dependency
* | | | | | | | | | | Merge pull request #22806 from ngoldbaum/dtype-docs-fixSebastian Berg2022-12-161-9/+9
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | DOC: update discussion in dtypes docs that references Python 2
| * | | | | | | | | | | Update doc/source/reference/arrays.dtypes.rstNathan Goldbaum2022-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
| * | | | | | | | | | | Update doc/source/reference/arrays.dtypes.rstNathan Goldbaum2022-12-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
| * | | | | | | | | | | DOC: update discussion in dtypes docs that references Python 2Nathan Goldbaum2022-12-151-9/+9
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #22807 from rossbar/ci/undo-permissions-artifact-redirectorCharles Harris2022-12-151-5/+0
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | CI: undo permissions in circleci artifact redirector.
| * | | | | | | | | | | CI: undo permissions in circleci artifact redirector.Ross Barnowski2022-12-151-5/+0
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Temporary fix to recover the circleci artifact redirector. The long-term fix will be to figure out which permissions are necessary for the action; in the meantime this restores the desired behavior.
* | | | | | | | | | | Merge pull request #22804 from rgommers/revert-header-changeSebastian Berg2022-12-151-0/+52
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | REV: revert change to `numpyconfig.h` for sizeof(type) hardcoding on macOS
| * | | | | | | | | | | REV: revert change to `numpyconfig.h` for sizeof(type) hardcoding on macOSRalf Gommers2022-12-151-0/+52
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverts gh-22614, and adds more detail about why that code is needed and when it can be removed. Closes gh-22796 [skip cirrus] [skip circle]
* | | | | | | | | | | Merge pull request #22784 from eerovaher/percentile-plot-legendSebastian Berg2022-12-151-1/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | DOC: Fix legend placement in `numpy.percentile()` docs
| * | | | | | | | | | | DOC: Fix legend placement in `percentile` docsEero Vaher2022-12-121-1/+2
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A plot is meant to demonstrate the different methods of estimating the percentile that `numpy.percentile()` supports, but previously the legend covered a large fraction of it. Now the legend is drawn next to the plot.