yurilaaziz / config42

The config-manager package is a complete configuration reader and manager.
GNU General Public License v3.0
23 stars 5 forks source link

YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default L #9

Closed djmarcosban closed 5 years ago

djmarcosban commented 5 years ago

Check this or we will delete your issue. (fill in the checkbox with an X like so: [x])

Select one:

Environment

Operating System? (include version)

Python Version Requirement

Exact Python Version?

python --version

Pip Version?

pip 19.1.1 from c:\users\marcos\appdata\local\programs\python\python37-32\lib\site-packages\pip (python 3.7)

Description of your issue

C:\instabot.py>instabot-py link.universitarios
C:\Users\Marcos\AppData\Roaming\Python\Python37\site-packages\config42\handlers\files\yaml.py:13: 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(f)
INFO:instabot_py.config:Setting configuration from instabot.config.yml : OK
     Loading settings for link.universitarios!
     Config: C:\instabot.py\instabot.config.ini

Config

default config get this problem.

I've updated the instabot, reinstalled python and pip so far I still have this problem ... This began to happen after the upgrade. :(

yurilaaziz commented 5 years ago

Fixed