googleapis / sample-tester

Tool for testing semantically equivalent samples in multiple languages and environments
Apache License 2.0
10 stars 12 forks source link

Tagging 0.16.0 #111

Closed vchudnov-g closed 5 years ago

vchudnov-g commented 5 years ago

Find and identify YAML configs; quality improvements; allow spaces in gen-manifest tag values

beccasaurus commented 5 years ago

FYI I'm using Python 3.6.8

When I installed the latest sample-tester and tried running sample-tester --version, I got this:

...
ModuleNotFoundError: No module named 'dataclasses'

I did pip install dataclasses.

Now sample-tester --version gives me a YAML warning as part of the output:

$ sample-tester --version
sampletester version 0.15.3
/Users/rebeccataylor/.pyenv/versions/3.6.8/lib/python3.6/site-packages/sampletester/parser.py:104: YAMLLoadWarning: calling yaml.load_all() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  self.add_documents(*[Document(file_name, doc) for doc in yaml.load_all(content)])

Haven't had a chance to try with 3.7