LAKITU: use the default python implementation to run licenses hook
BUG=b/257113269
TEST=presubmit
RELEASE_NOTE=None
Change-Id: I2637d0f3e6fa7749e3703fcc30f1496c1a8162cb
Reviewed-on: https://cos-review.googlesource.com/c/third_party/platform/crosutils/+/42807
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>
diff --git a/hooks/install/gen-package-licenses.sh b/hooks/install/gen-package-licenses.sh
index fc09899..28fd3e9 100755
--- a/hooks/install/gen-package-licenses.sh
+++ b/hooks/install/gen-package-licenses.sh
@@ -12,8 +12,7 @@
# Run FEATURES='noclean' emerge-x86-alex libc-bench to prevent having the
# directory cleaned up if you are debugging.
einfo "Generating license for ${PKG} in ${PORTAGE_BUILDDIR:-}"
- # TODO(b/187794810): Move this to python3.8 once portage supports it.
- python3.6 \
+ python3 \
/mnt/host/source/chromite/licensing/ebuild_license_hook \
--builddir "${PORTAGE_BUILDDIR}" || die "
Failed Generating Licensing for ${PKG}