project-koku / nise

A tool for generating sample cost usage data for testing purposes
GNU Affero General Public License v3.0
9 stars 15 forks source link

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

Closed infinitewarp closed 5 years ago

infinitewarp commented 5 years ago

on the latest master with latest pipenv dependencies

 $  git pull && pipenv install --dev
Already up to date.
Current branch master is up to date.
Installing dependencies from Pipfile.lock (392a00)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 141/141 — 00:00:31
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

 $  pipenv run nise --aws \
>     --aws-s3-bucket-name ~/koku-data/aws_local \
>     --aws-s3-report-name local-bucket \
>     --static-report-file example_aws_static_data.yml
/Users/brasmith/.virtualenvs/nise-i09S80gf/lib/python3.6/site-packages/nise-0.1.0-py3.6.egg/nise/__main__.py:250: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  yamlfile = yaml.load(yaml_file)

In case you don't want to scroll, the full text of that warning is:

YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

maskarb commented 5 years ago

@infinitewarp yaml.load was removed when the azure data generator was incorporated. Did you install nise after git pull? python setup.py install