p4lang / ptf

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

Drop support for Python 2.7 #188

Closed antoninbas closed 1 year ago

antoninbas commented 1 year ago

ptf still supports (or claims to support) Python 2.7 (as per the README), even though Python 2.x has been sunsetted several years ago since we no longer test with Python 2.7, and it is very likely that Python 2.7 support is broken or will be broken in the future, we should just remove references to Python 2.7

jafingerhut commented 1 year ago

This one might be closable now with this PR merged in, unless there are some vestigial remains still of Python 2.x in there somewhere: https://github.com/p4lang/ptf/pull/190

antoninbas commented 1 year ago

The only remaining reference seems to be in debian/ as you pointed out. Let me open an issue to see if we can remove that folder altogether. I feel like a debian package for ptf (which we now distribute with pypi) doesn't make too much sense. Not to mention that it's broken, and there is no documentation on how to use it.