Convert.py using old ruamel.yaml api
bamarco opened this issue · 0 comments
bamarco commented
Traceback (most recent call last):
File "/home/monkey/micromamba/envs/boa-dev/bin/boa", line 33, in <module>
sys.exit(load_entry_point('boa', 'console_scripts', 'boa')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/monkey/proj/lib/boa/boa/cli/boa.py", line 223, in main
convert.main(args.target)
File "/home/monkey/proj/lib/boa/boa/cli/convert.py", line 132, in main
ruamel.yaml.load("".join(rest_lines), ruamel.yaml.RoundTripLoader)
File "/home/monkey/micromamba/envs/boa-dev/lib/python3.11/site-packages/ruamel/yaml/main.py", line 1085, in load
error_deprecation('load', 'load', arg=_error_dep_arg, comment=_error_dep_comment)
File "/home/monkey/micromamba/envs/boa-dev/lib/python3.11/site-packages/ruamel/yaml/main.py", line 1039, in error_deprecation
raise AttributeError(s, name=None)
AttributeError:
"load()" has been removed, use
yaml = YAML(typ='rt')
yaml.load(...)
and register any classes that you use, or check the tag attribute on the loaded data,
instead of file "/home/monkey/proj/lib/boa/boa/cli/convert.py", line 132
ruamel.yaml.load("".join(rest_lines), ruamel.yaml.RoundTripLoader)