ptf icon indicating copy to clipboard operation
ptf copied to clipboard

Python module imp is deprecated in favor of importlib

Open jafingerhut opened this issue 3 years ago • 1 comments
trafficstars

For at least the last month or so I have gotten this warning message when running ptf:

$ ptf --version
/usr/local/bin/ptf:19: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
ptf 0.1

jafingerhut avatar Jan 02 '22 01:01 jafingerhut

I can confirm, that we are also experiencing this issue.

sborkows avatar Apr 04 '22 10:04 sborkows

Closing this issue, since it is a duplicate of https://github.com/p4lang/ptf/issues/187

jafingerhut avatar Jun 16 '23 04:06 jafingerhut

Apologies for opening a duplicate issue. You should have closed mine :)

antoninbas avatar Jun 16 '23 17:06 antoninbas