forked from numpy/numpy
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use cibuildwheel
in Pyodide CI job for NumPy
#1
Closed
Conversation
This file contains 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
agriyakhetarpal
force-pushed
the
cibuildwheel-pyodide
branch
3 times, most recently
from
May 29, 2024 16:30
50fd62b
to
a3ba541
Compare
agriyakhetarpal
force-pushed
the
cibuildwheel-pyodide
branch
3 times, most recently
from
June 13, 2024 10:34
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 <[email protected]>
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] <[email protected]>
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]
rgommers
force-pushed
the
cibuildwheel-pyodide
branch
from
August 15, 2024 07:55
51a90fc
to
ad58c55
Compare
Closing since this is merged upstream, this PR was opened just for testing purposes. |
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