Skip to content

BUG: work around some names not available in 2022.12 #351

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
Mar 20, 2025

Conversation

ev-br
Copy link
Member

@ev-br ev-br commented Mar 20, 2025

Case in point: xp.hypot is only available in 2023.12, and has gotten the support for scalars in 2024.12.

The test for scalars is skipped for versions older than 2024.12, but the test parametrization is evaluated before the skip. Therefore we cannot just use xp.hypot in @parametrize.

Case in point: np.hypot is only available in 2023.12, and has
gotten the support for scalars in 2024.12.

The test for scalars is skipped for versions older than 2024.12, but
the test parametrization is evaluated _before_ the skip. Therefore
we cannot just use `xp.hypot` in `@parametrize`.
@ev-br
Copy link
Member Author

ev-br commented Mar 20, 2025

Merging straight away to unblock data-apis/array-api-strict#133

@ev-br ev-br merged commit abdb4a0 into data-apis:master Mar 20, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant