| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
TST: Fixup string cast test to not use `tiny`
|
|/ / / / / / / / / / / / / /
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
BUG, SIMD: Fix memory overlap in ufunc comparison loops
|
| | | | | | | | | | | | | | | |
|
| |/ / / / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
MAINT: enhance show_runtime
|
| |/ / / / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / / / /
|/| | | | | | | | | | | | | |
BUG: Fortify string casts against floating point warnings
|
| |/ / / / / / / / / / / /
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
API: Ensure a full mask is returned for masked_invalid
|
| |/ / / / / / / / / / / /
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / /
|/| | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
BLD: Help raspian arm + clang 13 about `__builtin_mul_overflow`
[ci skip]
|
|/ / / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
BUG, SIMD: Fix the bitmask of the boolean comparison
|
| |/ / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
BUG: Do not use getdata() in np.ma.masked_invalid
|
|/ / / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
TST: ignore more np.distutils.log imports
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Ignore two more modules from np.distutils.log found by
test_public_api.py::test_all_modules_are_expected_2
Closes #22827
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / /
|/| | | | | | | | | | | | |
BLD: CIRRUS_TAG redux
|
| |/ / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
DOC: fix a couple typos in 1.23 notes.
|
| |/ / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
|/| | | | | | | | | | | |
MAINT: Update main after 1.24.0 release.
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Create 1.24.0-changelog.rst
- Update 1.24.0-notes
- Update .mailmap
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
BLD: redo delocate, update labeler
|
| | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
|/| | | | | | | | | | | |
BUG, SIMD: Fix invalid value encountered in several ufuncs
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
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.
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | |_|_|_|_|_|_|_|_|/
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
BLD: use newer version of delocate
|
|/ / / / / / / / / / / |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
DOC: update discussion in dtypes docs that references Python 2
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
|/| | | | | | | | | | | |
CI: undo permissions in circleci artifact redirector.
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
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.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
REV: revert change to `numpyconfig.h` for sizeof(type) hardcoding on macOS
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
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]
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
DOC: Fix legend placement in `numpy.percentile()` docs
|
| | |/ / / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
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.
|