8000 MAINT: bump array-api submodules by crusaderky · Pull Request #22899 · scipy/scipy · GitHub
[go: up one dir, main page]

Skip to content

MAINT: bump array-api submodules #22899

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

Merged
merged 1 commit into from
Apr 28, 2025
Merged

Conversation

crusaderky
Copy link
Contributor
@crusaderky crusaderky commented Apr 28, 2025

@github-actions github-actions bot added scipy.stats scipy.cluster scipy._lib maintenance Items related to regular maintenance tasks labels Apr 28, 2025
@@ -614,7 +614,7 @@ def _kpp(data, k, rng, xp):
cumprobs = probs.cumsum()
r = rng.uniform()
cumprobs = np.asarray(cumprobs)
data_idx = np.searchsorted(cumprobs, r)
data_idx = int(np.searchsorted(cumprobs, r))
Copy link
Contributor Author
@crusaderky crusaderky Apr 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a np.int64.
While legal in the Array API, this caused array-api-extra git tip to encroach on a bug of array-api-strict 2.3.1 (already fixed in array-api-strict git tip).

@crusaderky crusaderky marked this pull request as ready for review April 28, 2025 14:19
@lucascolley lucascolley added this to the 1.16.0 milestone Apr 28, 2025
@lucascolley lucascolley added array types Items related to array API support and input array validation (see gh-18286) and removed scipy.stats scipy.cluster labels Apr 28, 2025
Copy link
Member
@lucascolley lucascolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks Guido!

@lucascolley lucascolley changed the title MAINT: bump Array API MAINT: bump array-api submodules Apr 28, 2025
@lucascolley lucascolley merged commit 801c664 into scipy:main Apr 28, 2025
40 of 41 checks passed
@crusaderky crusaderky deleted the bump-array-api branch April 29, 2025 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
array types Items related to array API support and input array validation (see gh-18286) maintenance Items related to regular maintenance tasks scipy._lib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0