p4lang / ptf

Packet Test Framework
Apache License 2.0
144 stars 99 forks source link

Python module imp is deprecated in favor of importlib #166

Closed jafingerhut closed 1 year ago

jafingerhut commented 2 years ago

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
sborkows commented 2 years ago

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

jafingerhut commented 1 year ago

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

antoninbas commented 1 year ago

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