Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPT fails to load schema due to deprecated call to yaml.load without Loader argument #6

Open
spirent-leetaylor opened this issue Jul 4, 2024 · 0 comments

Comments

@spirent-leetaylor
Copy link

When working on Debian 12/bookworm with python3.11 I see the following error:

Traceback (most recent call last):
File "/home/ltaylor/.local/bin/openapt", line 8, in
sys.exit(main())
^^^^^^
File "/home/ltaylor/.local/lib/python3.11/site-packages/allocloud/openapt/main.py", line 64, in main
run(**args)
File "/home/ltaylor/.local/lib/python3.11/site-packages/allocloud/openapt/init.py", line 37, in run
_schema = yaml.load(f)
^^^^^^^^^^^^
TypeError: load() missing 1 required positional argument: 'Loader'

Please see https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant