Use cibuildwheel in Pyodide CI job for NumPy#1
Closed
agriyakhetarpal wants to merge 58 commits intomainfrom
Closed
Use cibuildwheel in Pyodide CI job for NumPy#1agriyakhetarpal wants to merge 58 commits intomainfrom
cibuildwheel in Pyodide CI job for NumPy#1agriyakhetarpal wants to merge 58 commits intomainfrom
Conversation
50fd62b to
a3ba541
Compare
f2d0d79 to
fbe40a6
Compare
This uses `PyObject_GetOptionalAttr` which is backported in capi compat. This function significantly speeds up many attribute lookups and thus dispatching protocols.
Scipy openblas 0.3.27.44.4
We had logic in place to drop (most) metadata, but the change had a small bug: During saving, we were still using the one with metadata... Maybe doesn't quite close it, but big enough of an improvement for now, I think, so Closes numpygh-14142
ENH: Use ``PyObject_GetOptionalAttr``
BUG: Do not accidentally store dtype metadata in ``np.save``
When many bins are requested in a small value region, it may not be possible to create enough distinct bin edges due to limited numeric precision. Up to now, `histogram` then returned identical subsequent bin edges, which would mean a bin width of 0. These bins could also have counts associated with them. Instead of returning such unlogical bin distributions, this PR raises a value error if the calculated bins do not all have a finite size. Closes numpy#27142.
BLD: use smaller scipy-openblas builds
These were skipped due to failing, but they are passing again now. Closes numpygh-26824
CI: Re-enable nightly OpenBLAS test runs
TYP: add td64 overload for `mean`
DOC: add td64 example in `np.mean`
MAINT: use npy_argparse for einsum
This is based on what Matti wrote in numpygh-27105 but also adding it to the migration guide. Closes numpygh-27083 Co-authored-by: Matti Picus <matti.picus@gmail.com>
REV: Revert undef I and document it
MAINT: update default NPY_FEATURE_VERSION after dropping py39
BUILD: improve download script
BUILD: update to OpenBLAS 0.3.28
TYP,TST: Bump mypy to 1.11.1
The value was simply hardcoded to the wrong thing in the dynamic path...
BUG: Fix NPY_RAVEL_AXIS on backwards compatible NumPy 2 builds
…x_imports TYP: Deprecate calling ``numpy.save`` with ``fix_imports`` (PEP 702)
…e-overrides TYP: Fix incompatible overrides in the ``numpy._typing._ufunc`` stubs
…ntime TYP: Simpllified ufunc imports in ``numpy._typing``
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.0 to 3.26.2. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@eb055d7...429e197) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This will help for those that don't use the mypy plugin.
…-bins-float TYP: Fixed & improved type hints for ``numpy.histogram2d``
TYP: Sane defaults for the platform-specific ``NBitBase`` types.
…ithub/codeql-action-3.26.2 MAINT: Bump github/codeql-action from 3.26.0 to 3.26.2
…tions TYP: Annotate ``numpy._core._type_aliases``.
This commit performs the following changes: 1. cibuildwheel version 2.20.0 is added for building and testing the Pyodide wheels for NumPy in its workflow for out-of-tree builds. 2. The workflow sets the CIBW_PLATFORM environment variable in order to point to Pyodide as the build target. 3. The version of Pyodide used is bumped to the recent version 0.26.1. 4. The TOML tables are updated to use cibuildwheel's provided overrides for the test command, the wheels' repair command, and the setup arguments needed at the time of building the wheel. [skip azp] [skip circle] [skip cirrus]
51a90fc to
ad58c55
Compare
Owner
Author
|
Closing since this is merged upstream, this PR was opened just for testing purposes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trying pypa/cibuildwheel#1456