Skip to content

Import exceptions directly from dpnp.exceptions module#2798

Merged
antonwolfy merged 4 commits intomasterfrom
use-axis-error-exception-from-appropriate-module
Mar 5, 2026
Merged

Import exceptions directly from dpnp.exceptions module#2798
antonwolfy merged 4 commits intomasterfrom
use-axis-error-exception-from-appropriate-module

Conversation

@antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Mar 4, 2026

This PR updates the code to consistently use the dpnp.exceptions module as the single source of the exceptions where it's applicable.

  • 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.20.0 release milestone Mar 4, 2026
@antonwolfy antonwolfy self-assigned this Mar 4, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

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

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

Array API standard conformance tests for dpnp=0.20.0dev3=py313h509198e_15 ran successfully.
Passed: 1354
Failed: 3
Skipped: 16

@antonwolfy antonwolfy marked this pull request as ready for review March 4, 2026 22:27
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 81.17% (+0.003%) from 81.167%
when pulling 883205e on use-axis-error-exception-from-appropriate-module
into 2c86497 on master.

Copy link
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 a2825a1 into master Mar 5, 2026
97 checks passed
@antonwolfy antonwolfy deleted the use-axis-error-exception-from-appropriate-module branch March 5, 2026 12:08
github-actions bot added a commit that referenced this pull request Mar 5, 2026
This PR updates the code to consistently use the `dpnp.exceptions`
module as the single source of the exceptions where it's applicable. a2825a1
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