Not sure what happened the last time I tried, but the above reproducer is now passing for me with 0.18.11 and 0.18.12.
Hey Anthon. Thanks for fixing this promptly. The above reproducer now works but a new one that I tried (also from above mentioned DVC issue) still fails. import io import sys from ruamel.yaml import YAML yaml = YAML() buf = io.StringIO() s = "This is a prompt.\nThis is a prompt.\nThis is a prompt.\nThis is a prompt.\nThis is a prompt.\n" yaml.dump( { "stages": { "faulty_stage": {"params": {"params.yaml": {"fault_parameter_name": s}}} } }, buf, ) buf.seek(0) sys.stdout.write(buf.getvalue()) actual...
We are facing this issue in dvc as well. It seems this was introduced in 0.17.23. After that, the strings are dumped as a double quoted multiline strings, but the splits are no longer escaped with a backquote (\). It seems that was the motivation behind the change ( https://stackoverflow.com/a/75634614 ). Reading this stackoverflow, it seems the backquote is necessary, but the author is more familiar with the YAML spec. :) I have a following reproducer, coming from a contributor of the issue in https://github.com/iterative/dvc/issues/10668...
We are facing this issue in dvc as well. It seems this was introduced in 0.17.23. After that, the strings are dumped as a double quoted multiline strings, but the splits are no longer escaped with a backquote (\). It seems that was the motivation behind the change ( https://stackoverflow.com/a/75634614 ). Reading this stackoverflow, it seems the backquote is necessary, but the author is more familiar with the YAML spec. :) I have a following reproducer, coming from a contributor of the issue in https://github.com/iterative/dvc/issues/10668...
We are facing this issue in dvc as well. It seems this was introduced in 0.17.23. After that, the strings are dumped as a double quoted multiline strings, but the splits are no longer escaped with a backquote (\). It seems that was the motivation behind the change ( https://stackoverflow.com/a/75634614 ). Reading this stackoverflow, it seems the backquote is necessary, but the author is more familiar with the YAML spec. :) I have a following reproducer, coming from a contributor of the issue in https://github.com/iterative/dvc/issues/10668....
We are facing this issue in dvc as well. It seems this was introduced in 0.17.23. After that, the strings are dumped as a double quoted multiline strings, but the splits are no longer escaped with a backquote (\). It seems that was the motivation behind the change ( https://stackoverflow.com/a/75634614 ). Reading this stackoverflow, it seems the backquote is necessary, but the author is more familiar with the YAML spec. :) I have a following reproducer, coming from a contributor in the issue in https://github.com/iterative/dvc/issues/10668....
We are facing this issue in dvc as well. It seems this was introduced in 0.17.23. After that, the strings are dumped as a double quoted multiline strings, but the splits are no longer escaped with a backquote (\). It seems that was the motivation behind the change ( https://stackoverflow.com/a/75634614 ). Reading this stackoverflow, it seems the backquote is necessary, but the author is more familiar with the YAML spec. :) I have a following reproducer, coming from a contributor the issue in https://github.com/iterative/dvc/issues/10668....
We are facing this issue in dvc as well. It seems this was introduced in 0.17.23. After that, the strings are dumped as a double quoted multiline strings, but the splits are no longer escaped with a backquote (\). It seems that was the motivation behind the change (https://stackoverflow.com/a/75634614). Reading this stackoverflow, it seems the backquote is necessary, but the author is more familiar with the YAML spec. :) I have a following reproducer, coming from a contributor the issue in https://github.com/iterative/dvc/issues/10668....