Skip to content

Align tests with numpy 2.4.5#2920

Merged
antonwolfy merged 14 commits into
masterfrom
align-with-numpy-2.4.5
May 18, 2026
Merged

Align tests with numpy 2.4.5#2920
antonwolfy merged 14 commits into
masterfrom
align-with-numpy-2.4.5

Conversation

@antonwolfy
Copy link
Copy Markdown
Contributor

@antonwolfy antonwolfy commented May 18, 2026

This PR updates the tests to align with recent NumPy 2.4.5 release.
Also it removes TODOs and workarounds for fixes now available in the latest NumPy.

That PR also includes:

  • work around for NumPy 2.4.5 regression in conj() for boolean arrays
  • extending gcd() overflow testing with additional test cases
  • cleaning p unused allow_fall_back_on_numpy fixture in correlation tests

The PR adds compatibility note to CHANGELOG.md indicating this release is going to be compatible with NumPy 2.4.5.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@antonwolfy antonwolfy added this to the 0.21.0 release milestone May 18, 2026
@antonwolfy antonwolfy self-assigned this May 18, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 18, 2026

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented May 18, 2026

Coverage Status

Coverage is 78.233%align-with-numpy-2.4.5 into master. No base build found for master.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 18, 2026

Array API standard conformance tests for dpnp=0.21.0dev0=py313h509198e_47 ran successfully.
Passed: 1357
Failed: 3
Skipped: 16

@antonwolfy antonwolfy marked this pull request as ready for review May 18, 2026 08:41
Copy link
Copy Markdown
Contributor

@vlad-perevezentsev vlad-perevezentsev left a comment

Choose a reason for hiding this comment

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

LGTM
Thank you @antonwolfy

@antonwolfy antonwolfy merged commit 2c740b3 into master May 18, 2026
75 checks passed
@antonwolfy antonwolfy deleted the align-with-numpy-2.4.5 branch May 18, 2026 11:55
github-actions Bot added a commit that referenced this pull request May 18, 2026
This PR updates the tests to align with recent NumPy 2.4.5 release.
Also it removes TODOs and workarounds for fixes now available in the
latest NumPy.

That PR also includes:
- work around for NumPy 2.4.5 regression in `conj()` for boolean arrays
- extending `gcd()` overflow testing with additional test cases
- cleaning p unused `allow_fall_back_on_numpy` fixture in correlation
tests

The PR adds compatibility note to `CHANGELOG.md` indicating this release
is going to be compatible with NumPy 2.4.5. 2c740b3
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.

3 participants