Currently some scripts in the repo are only compatible with python 2. Since that is being EOL'd we should modernize them to support python 3. More context: https://github.com/envoyproxy/envoy/pull/7337