You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
As in the title the usage of yaml.load is deprecated in the rollout_helper.py file. Currently raises a warning but should be an easy one line fix although there are a number of ways to fix it. See link below for more information on the deprecation. Happy to submit a PR later.
./pgwatch2/metrics/00_helpers/rollout_helper.py --config-path ./pgwatch2/config/ --mode yaml-all
>> starting in DRY-RUN mode, add --confirm to execute
>> /root/repos/public/pgwatch2/./pgwatch2/metrics/00_helpers/rollout_helper.py:203: YAMLLoadWarning: calling yaml.load() without >>Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
>> monitored_dbs = yaml.load(config)
>> *** ROLLOUT TO TARGET DB-s ***
>> DB #0: [test1] failed to determine pg version for localhost@5432, skipping rollout
The text was updated successfully, but these errors were encountered:
As in the title the usage of yaml.load is deprecated in the rollout_helper.py file. Currently raises a warning but should be an easy one line fix although there are a number of ways to fix it. See link below for more information on the deprecation. Happy to submit a PR later.
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
The text was updated successfully, but these errors were encountered: