Skip to content

YAMLLoadWarning when adding a invoke.yml file to the repo #1033

@Groumy

Description

@Groumy

Hi, I'm trying to add some configurations to my invoke and I encounter this warning at each run

/usr/lib/python3/dist-packages/invoke/config.py:908: 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 yaml.load(fd)

From a quick google search it seems to be because I use a newest version of PyYML.

Pip Packages

Package                 Version
----------------------- --------------------
apturl                  0.5.2
bcrypt                  3.2.0
blinker                 1.4
Brlapi                  0.8.3
certifi                 2020.6.20
chardet                 4.0.0
charset-normalizer      3.4.2
click                   8.0.3
cloudpickle             3.1.1
colorama                0.4.4
command-not-found       0.3
cryptography            3.4.8
cupshelpers             1.0
dbus-python             1.2.18
defer                   1.0.6
distro                  1.7.0
distro-info             1.1+ubuntu0.2
docker                  7.1.0
doit                    0.36.0
duplicity               0.8.21
fasteners               0.14.1
folder-color            0.2.0
future                  0.18.2
httplib2                0.20.2
icoextract              0.1.2
idna                    3.3
importlib-metadata      4.6.4
invoke                  1.4.1
jeepney                 0.7.1
keyring                 23.5.0
language-selector       0.1
launchpadlib            1.10.16
lazr.restfulclient      0.14.4
lazr.uri                1.0.6
lockfile                0.12.2
louis                   3.20.0
macaroonbakery          1.3.1
Mako                    1.1.3
MarkupSafe              2.0.1
monotonic               1.6
more-itertools          8.10.0
netifaces               0.11.0
oauthlib                3.2.0
olefile                 0.46
packaging               21.3
paramiko                2.9.3
pefile                  2021.9.3
pexpect                 4.8.0
Pillow                  9.0.1
pip                     22.0.2
protobuf                3.12.4
psutil                  5.9.0
ptyprocess              0.7.0
pycairo                 1.20.1
pycups                  2.0.1
pyelftools              0.27
PyGObject               3.42.1
pyinotify               0.9.6
PyJWT                   2.3.0
pymacaroons             0.13.0
PyNaCl                  1.5.0
pyparsing               2.4.7
pyRFC3339               1.1
python-apt              2.4.0-ubuntu4-zorin1
python-dateutil         2.8.1
python-debian           0.1.43+ubuntu1.1
pytz                    2022.1
pyxdg                   0.27
PyYAML                  5.4.1
reportlab               3.6.8
requests                2.32.3
screen-resolution-extra 0.0.0
SecretStorage           3.3.1
setuptools              59.6.0
six                     1.16.0
ssh-import-id           5.11
ubuntu-drivers-common   0.0.0
ufw                     0.36.1
unattended-upgrades     0.1
urllib3                 1.26.5
wadllib                 1.3.6
wheel                   0.37.1
xdg                     5
xkit                    0.0.0
zipp                    1.0.0
zorin-appearance        5.3
zorin-connect           1.2
zorin-exec-guard        1.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions