p4lang / ptf

Packet Test Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python module imp is deprecated in favor of importlib

jafingerhut opened this issue · comments

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

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

Closing this issue, since it is a duplicate of #187

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