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 214214# deprecation warning for the dpctl.tensor module
215215_warnings .warn (
216216 "dpctl.tensor is deprecated since dpctl 0.21.1 and will be removed in a "
217- "future release. Install dpnp and use 'import dpnp.tensor' instead." ,
217+ "future release. The functionality will be moved to separate package, dpnp "
218+ "(see: https://github.com/IntelPython/dpnp). After that, use "
219+ "'import dpnp.tensor' instead." ,
218220 DeprecationWarning ,
219221 stacklevel = 2 ,
220222)
@@ -415,8 +417,10 @@ def __getattr__(name: str): # pragma: no cover
415417 if name in __all__ :
416418 _warnings .warn (
417419 f"dpctl.tensor.{ name } is deprecated; dpctl.tensor is deprecated "
418- "since dpctl 0.21.1 and will be removed in a future release. "
419- "Install dpnp and use 'import dpnp.tensor' instead." ,
420+ "since dpctl 0.21.1 and will be removed in a future release. The "
421+ "functionality will be moved to separate package, dpnp (see: "
422+ "https://github.com/IntelPython/dpnp). After that, use 'import "
423+ "dpnp.tensor' instead." ,
420424 DeprecationWarning ,
421425 stacklevel = 2 ,
422426 )
You can’t perform that action at this time.
0 commit comments