Puppet uses the non-keyword variant of Psych's YAML.safe_load, which was deprecated in 3.1.0 with the replacement also introduced in that version. Psych 4.0.0 has removed the deprecated variant and thus we should switch to the new variant albeit with a version check since we still support older Ruby versions, which ship pre-3.1.0 Psych versions.
Puppet uses the non-keyword variant of Psych's YAML.safe_load, which was deprecated in 3.1.0 with the replacement also introduced in that version. Psych 4.0.0 has removed the deprecated variant and thus we should switch to the new variant albeit with a version check since we still support older Ruby versions, which ship pre-3.1.0 Psych versions.
As a minor side issue rubocop has switched to Psych 4.0.0 in a minor version causing CI breakage due to other libraries also not having been updated yet.
Puppet uses the non-keyword variant of Psych's YAML.safe_load, which was deprecated in 3.1.0 with the replacement also introduced in that version. Psych 4.0.0 has removed the deprecated variant and thus we should switch to the new variant albeit with a version check since we still support older Ruby versions, which ship pre-3.1.0 Psych versions.
As a minor side issue rubocop rdoc has switched to Psych 4.0.0 in a minor version causing CI breakage due to other libraries also rubocop not having been updated for the deprecation yet.