Migrate match_version on scripts to matchers.
See merge request !6331 (merged)
(cherry picked from commit d9bf3248)
4c345abc Migrate match_version on scripts to matchers. 6fb33d5c Fix black. ff645e99 Fix black. 7854d347 Fix flake.