sarnold / repolite

Manage a small set of (external) git repository dependencies with a yaml cfg
https://sarnold.github.io/repolite/
GNU Lesser General Public License v2.1
3 stars 0 forks source link

Unsafe YAML loader warning on ubuntu focal #11

Open sarnold opened 2 years ago

sarnold commented 2 years ago

Describe the bug PyYAML loader warning on Ubuntu:

/usr/lib/python3/dist-packages/munch/__init__.py:505: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  return munchify(yaml.load(*args, **kwargs))

To Reproduce Steps to reproduce the behavior:

  1. Install PPA repolite package
  2. run repolite to clone example repos
  3. observe the above YAMLLoadWarning

Expected behavior Should run without any warnings.

Desktop (please complete the following information):

sarnold commented 2 years ago

Note this is generated by Ubuntu's python3-munch package, so just documenting it here (for now).

sarnold commented 2 years ago

Installing freshly backported munch 2.5.0 from PPA is the only work-around given the lack of ubuntu LTS fixes.