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

YAMLLoadWarning #149

Open
jwillemsen opened this issue Jan 31, 2020 · 2 comments
Open

YAMLLoadWarning #149

jwillemsen opened this issue Jan 31, 2020 · 2 comments

Comments

@jwillemsen
Copy link

We get this warning when we use coveralls on OpenSuSE Tumbleweed

/home/johnny/.local/lib/python3.7/site-packages/cpp_coveralls/__init__.py:49: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  yml = yaml.load(fp)
@yitam
Copy link

yitam commented Sep 20, 2021

Any update?

@tstack
Copy link

tstack commented Dec 21, 2024

It looks like this deprecation finally happened:

  File "/home/runner/.local/lib/python3.12/site-packages/cpp_coveralls/__init__.py", line 67, in run
    yml = parse_yaml_config(args)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/.local/lib/python3.12/site-packages/cpp_coveralls/__init__.py", line 49, in parse_yaml_config
    yml = yaml.load(fp)
          ^^^^^^^^^^^^^
TypeError: load() missing 1 required positional argument: 'Loader'

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

3 participants