[9.18] Add python3-ply for ./configure to succeed on BIND 9.16 branch
BIND 9.16 needs Python and PLY packages for configure to succeed. Unless we want to tweak the build script to exclude python, we need to add python3-ply package to the CodeQL configuration.
(cherry picked from commit 0622d113)
Backport of MR !7405 (merged)
Edited by Ondřej Surý