Developed by the the Alliance in collaboration with University of Alberta, DMP Assistant a data management planning tool, forking the DMP Roadmap codebase
MIT License
6
stars
1
forks
source link
Incompatibilities Between Ruby 3.1 and its Standard Library Version of Psych #933
_"... For over a decade, Psych’s load() and load_file() method have (in practice) been aliases for the unsafe_load() and unsafe_loadfile() methods. In version 4, these methods have changed to their safe prefixed equivalents by default.
...
safe_load() disallows YAML aliases (a potentially recursive data structure) by default (override with the aliases: true argument).
"
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
4.1.1+portage-4.2.2
Expected behaviour:
Actual behaviour:
Incompatible changes are resulting in the following issue: https://github.com/portagenetwork/roadmap/issues/920
Ruby 3.1’s incompatible changes to its YAML module (Psych 4)
_"... For over a decade, Psych’s load() and load_file() method have (in practice) been aliases for the unsafe_load() and unsafe_loadfile() methods. In version 4, these methods have changed to their safe prefixed equivalents by default. ... safe_load() disallows YAML aliases (a potentially recursive data structure) by default (override with the aliases: true argument). "
Solutions