Skip to content

Conversation

@antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Dec 14, 2025

The dpctl.tensor submodule was marked as a deprecated in scope of dpctl-2191 which will cause raising DeprecationWarning for any import from dpctl.tensor.

The PR suppresses the warning when dpnp imports the borrowed attributes from dpctl.tensor.

  • 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 Dec 14, 2025
@antonwolfy antonwolfy self-assigned this Dec 14, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 14, 2025

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

@github-actions
Copy link
Contributor

github-actions bot commented Dec 15, 2025

Array API standard conformance tests for dpnp=0.20.0dev1=py313h509198e_23 ran successfully.
Passed: 1229
Failed: 0
Skipped: 7

@coveralls
Copy link
Collaborator

coveralls commented Dec 15, 2025

Coverage Status

coverage: 81.448% (+0.002%) from 81.446%
when pulling b2becb6 on mute-dpctl-tensor-deprecation-warning-on-import
into 5416df7 on master.

@antonwolfy antonwolfy marked this pull request as ready for review December 15, 2025 17:30
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 88e1167 into master Dec 15, 2025
103 of 114 checks passed
@antonwolfy antonwolfy deleted the mute-dpctl-tensor-deprecation-warning-on-import branch December 15, 2025 20:21
github-actions bot added a commit that referenced this pull request Dec 15, 2025
#2709)

The `dpctl.tensor` submodule was marked as a deprecated in scope of
[dpctl-2191](IntelPython/dpctl#2191) which will
cause raising `DeprecationWarning` for any import from `dpctl.tensor`.

The PR suppresses the warning when dpnp imports the borrowed attributes
from `dpctl.tensor`. 88e1167
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