The satpy_launcher fails to start and crashes out with a TypeError:
Traceback (most recent call last):
File "/data/gholl/mambaforge/envs/test/bin/satpy_launcher.py", line 79, in <module>
main()
File "/data/gholl/mambaforge/envs/test/bin/satpy_launcher.py", line 65, in main
log_dict = yaml.load(fd.read())
TypeError: load() missing 1 required positional argument: 'Loader'
Environment Info:
OS: Rocky Linux 8.4
Trollflow2 Version: main branch (v0.10.0-29-g9f25478)
Additional context
It had been deprecated for a long time to call yaml.load(...) without passing a loader. Since pyyaml 6.0, this is no longer supported. See https://github.com/yaml/pyyaml/pull/561.
Describe the bug
With pyyaml 6.0, released 2021-10-13, trollflow2 satpy_launcher.py fails with TypeError if passed a logging configuration file.
To Reproduce
Expected behavior
I expect that trollflow2 launches successfully.
Actual results
The
satpy_launcher
fails to start and crashes out with aTypeError
:Environment Info:
Additional context
It had been deprecated for a long time to call
yaml.load(...)
without passing a loader. Since pyyaml 6.0, this is no longer supported. See https://github.com/yaml/pyyaml/pull/561.