lisa.utils: Setup YAML parser on demand
YAML parser instances seem to not be reentrant anymore on Python 3.8. Fix the reentrance issue by creating a new fresh parser instance each time it is needed rather than recycling an existing one.
GitLab Maintenance scheduled for Thursday, 18th December 2025, from 7:00 AM to 10:00 AM BST. GitLab will be in read-only mode and experience short periods of complete downtime (up to 20 minutes) during this window.
YAML parser instances seem to not be reentrant anymore on Python 3.8. Fix the reentrance issue by creating a new fresh parser instance each time it is needed rather than recycling an existing one.