Closed lamehost closed 4 years ago
OS - Ubuntu 16.04.6 LTS Python - 2.7.12 virtualenv - 15.0.1
Installed ripe.atlas.tools inside a Python virtual environment. Worked without any warning messages.
After setting the API key using the command given below,
ripe-atlas configure --set authorisation.create=fbf331fa-b35f-44dd-b4bc-a921650975f4
Seeing the warning as outlined in this issue given below everytime,
/home/swapneel/ripe-atlas/.venv/local/lib/python2.7/site-packages/ripe/atlas/tools/settings/__init__.py:34: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. custom = yaml.load(y)
Hi, same issue OS: Arch Linux x86_64 (5.3.8-3-MANJARO) Python 3.7.4 Installation using AUR package (https://aur.archlinux.org/packages/ripe-atlas-tools/).
When I run any command based on ripe-atlas, I have this error in the beginning
$ ripe-atlas probe-search --country nl
/usr/lib/python3.7/site-packages/ripe/atlas/tools/settings/__init__.py:34: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
custom = yaml.load(y)
According to https://msg.pyyaml.org/load, seems related to PyYAML version 5.1
Hello,
Whenever i run ripe-atlas-tools and ~/.config/ripe-atlas-tools/rc the warning below is printed on the screen
Apparently you can fix it by changing https://github.com/RIPE-NCC/ripe-atlas-tools/blob/master/ripe/atlas/tools/settings/__init__.py#L34
Original (generates warning):
custom = yaml.load(y)
Patched (doesn't generate warning):
custom = yaml.load(y, Loader=yaml.FullLoader)
Here's the ouput from $ pip freeze
Regards