json2yaml icon indicating copy to clipboard operation
json2yaml copied to clipboard

Outputs pyaml warning

Open t-b opened this issue 6 months ago • 0 comments

When I execute it I get the following warning:

C:\Users\Admin\.venvs\ipnwb\Scripts\json2yaml:49: UserWarning: pyaml module "safe" arg/keyword is ignored as implicit safe=maybe-true?, as of pyaml >= 23.x
  pyaml.dump(loaded_json, yaml_file, safe=True)
$ pip show json2yaml pyaml
Name: json2yaml
Version: 1.2.0
Summary: Convert JSON to YAML or vice versa, while preserving the order of associative arrays.
Home-page: https://github.com/drbild/json2yaml
Author: David R. Bild
Author-email: [email protected]
License:
Location: C:\Users\Admin\.venvs\ipnwb\Lib\site-packages
Requires: docopt, pyaml, pyyaml
Required-by:
---
Name: pyaml
Version: 25.7.0
Summary: PyYAML-based module to produce a bit more pretty and readable YAML-serialized data
Home-page: https://github.com/mk-fg/pretty-yaml
Author: Mike Kazantsev
Author-email: Mike Kazantsev <[email protected]>
License: WTFPL
Location: C:\Users\Admin\.venvs\ipnwb\Lib\site-packages
Requires: PyYAML
Required-by: json2yaml

t-b avatar Aug 01 '25 11:08 t-b