FindPython: fix python compiler validation
Ensure also the cache of properties is erased in case of multiple searches.
Fixes: #20626 (closed), #20627 (closed)
Backport: release
Topic-rename: FindPython-fix-python-compiler-validation
A Gitlab security update will be applied on March 29th, between 8am and 10am, EST (UTC-05:00). This site may have intermittent delays during that time.
Ensure also the cache of properties is erased in case of multiple searches.
Fixes: #20626 (closed), #20627 (closed)
Backport: release
Topic-rename: FindPython-fix-python-compiler-validation