File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 213213# deprecation warning for the dpctl.tensor module
214214_warnings .warn (
215215 "dpctl.tensor is deprecated since dpctl 0.21.1 and will be removed in a "
216- "future release. Install dpnp and use 'import dpnp.tensor' instead." ,
216+ "future release. The functionality will be moved to separate package, dpnp "
217+ "(see: https://github.com/IntelPython/dpnp). After that, use "
218+ "'import dpnp.tensor' instead." ,
217219 DeprecationWarning ,
218220 stacklevel = 2 ,
219221)
@@ -413,8 +415,10 @@ def __getattr__(name: str): # pragma: no cover
413415 if name in __all__ :
414416 _warnings .warn (
415417 f"dpctl.tensor.{ name } is deprecated; dpctl.tensor is deprecated "
416- "since dpctl 0.21.1 and will be removed in a future release. "
417- "Install dpnp and use 'import dpnp.tensor' instead." ,
418+ "since dpctl 0.21.1 and will be removed in a future release. The "
419+ "functionality will be moved to separate package, dpnp (see: "
420+ "https://github.com/IntelPython/dpnp). After that, use 'import "
421+ "dpnp.tensor' instead." ,
418422 DeprecationWarning ,
419423 stacklevel = 2 ,
420424 )
You can’t perform that action at this time.
0 commit comments