Closed ikondov closed 8 months ago
Just to complete the picture, with ruamel 0.17.40 I get this warning:
test-venv/lib/python3.10/site-packages/fireworks/utilities/fw_serializers.py:256: PendingDeprecationWarning:
safe_load will be removed, use
yaml=YAML(typ='safe', pure=True)
yaml.load(...)
instead
dct = yaml.safe_load(f_str)
Please accept my apologies for bypassing https://discuss.matsci.org/c/fireworks but what is below is obviously an issue and no help request.
I have a fresh fireworks install in a fresh virtual environment (either conda or venv) with python 3.10 (python==3.10.12, ruamel.yaml==0.18.5, FireWorks==2.0.3) or newer python, I have issues with any use of fireworks related to a removed function in the ruamel.yaml package. For example, a simple
lpad get_wflows -d count
yields this error message:Using both the latest release (2.0.3) and the main branch results in the same behavior.
The workaround is to downgrade ruamel.yaml manually that is unfortunately an insufficient solution for the users of our software that uses fireworks as backend.