From 5c9edb37198a87d28411a84f618f631918f3ac4a344a805327026af9ef352b6d Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Thu, 12 Oct 2017 13:31:32 +0000 Subject: [PATCH] Accepting request 533656 from home:mimi_vx:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - update to 0.15.34 * fix for issue 157: CDumper not dumping floats * support for “undefined” round-tripping tagged scalar objects * fix issue 148: replace cryptic error message when using !!timestamp with an incorrectly formatted or non- scalar. * allow setting yaml.default_flow_style = None (default: False) for for typ='rt'. * fix for issue 149: multiplications on ScalarFloat now return float * fix Comment dumping * fix for issue with “compact JSON” not parsing: {"in":{},"out":{}} * fix issue #51: different indents for mappings and sequences * fix for flow sequence/mapping as element/value of block sequence with sequence-indent minus dash-offset not equal two. * fix issue #61: merge of merge cannot be __repr__-ed * fix issue 62, YAML 1.2 allows ? and : in plain scalars if non-ambigious * fix lists within lists which would make comments disappear * fix for disappearing comment after empty flow sequence * fix for problem with dumping (unloaded) floats * added ScalarFloat which supports roundtripping of 23.1, 23.100, 42.00E+56, 0.0, -0.0 etc. while keeping the format. Underscores in mantissas are not preserved/supported * (finally) fixed longstanding issue 23, now handling comment between block mapping key and value correctly * warn on YAML 1.1 float input that is incorrect * allow setting of boolean representation (false, true) by using: yaml.boolean_representation = [u'False', u'True'] * fix for round_tripping integers on 2.7.X > sys.maxint * fix for round_tripping singe excl. mark tags doubling * fix for writing unicode in new API, * added object constructor for rt, decorator yaml_object to replace YAMLObject. * fix for problem using load_all with Path() instance OBS-URL: https://build.opensuse.org/request/show/533656 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=5 --- python-ruamel.yaml.changes | 74 ++++++++++++++++++++++++++++++++++++++ python-ruamel.yaml.spec | 2 +- ruamel.yaml-0.14.9.tar.gz | 3 -- ruamel.yaml-0.15.34.tar.gz | 3 ++ 4 files changed, 78 insertions(+), 4 deletions(-) delete mode 100644 ruamel.yaml-0.14.9.tar.gz create mode 100644 ruamel.yaml-0.15.34.tar.gz diff --git a/python-ruamel.yaml.changes b/python-ruamel.yaml.changes index 5ed66ac..852efb3 100644 --- a/python-ruamel.yaml.changes +++ b/python-ruamel.yaml.changes @@ -1,3 +1,77 @@ +------------------------------------------------------------------- +Thu Oct 12 11:59:03 UTC 2017 - mimi.vx@gmail.com + +- update to 0.15.34 + * fix for issue 157: CDumper not dumping floats + * support for “undefined” round-tripping tagged scalar objects + * fix issue 148: replace cryptic error message when using !!timestamp with + an incorrectly formatted or non- scalar. + * allow setting yaml.default_flow_style = None (default: False) for for typ='rt'. + * fix for issue 149: multiplications on ScalarFloat now return float + * fix Comment dumping + * fix for issue with “compact JSON” not parsing: {"in":{},"out":{}} + * fix issue #51: different indents for mappings and sequences + * fix for flow sequence/mapping as element/value of block sequence + with sequence-indent minus dash-offset not equal two. + * fix issue #61: merge of merge cannot be __repr__-ed + * fix issue 62, YAML 1.2 allows ? and : in plain scalars if non-ambigious + * fix lists within lists which would make comments disappear + * fix for disappearing comment after empty flow sequence + * fix for problem with dumping (unloaded) floats + * added ScalarFloat which supports roundtripping of 23.1, 23.100, 42.00E+56, + 0.0, -0.0 etc. while keeping the format. Underscores in mantissas + are not preserved/supported + * (finally) fixed longstanding issue 23, now handling comment between block + mapping key and value correctly + * warn on YAML 1.1 float input that is incorrect + * allow setting of boolean representation (false, true) + by using: yaml.boolean_representation = [u'False', u'True'] + * fix for round_tripping integers on 2.7.X > sys.maxint + * fix for round_tripping singe excl. mark tags doubling + * fix for writing unicode in new API, + * added object constructor for rt, decorator yaml_object to replace YAMLObject. + * fix for problem using load_all with Path() instance + * fix for load_all in combination with zero indent block style literal + (pure=True only!) + * missing pure attribute on YAML useful for implementing !include tag + constructor for including YAML files in a YAML file + * some documentation improvements + * trigger of doc build on new revision + * support for Unicode supplementary Plane output + * fix for issue 135, typ=’safe’ not dumping in Python 2.7 + * fix for issue 133, in setup.py: change ModuleNotFoundError to ImportError + * suppress duplicate key warning on mappings with merge keys + * remove fatal dependency of setup.py on wheel package + * fix for issue 130, regression in nested merge keys + * top level PreservedScalarString not indented if not explicitly asked to + * some mypy additions + * fix for issue 127: tagged scalars were always quoted and seperated by + a newline when in a block sequence + * allow plug-in install via install ruamel.yaml[jinja2] + * add plug-in mechanism for load/dump pre resp. post-processing + * a set() with duplicate elements now throws error in rt loading + * support for toplevel column zero literal/folded scalar in explicit documents + * repeat load() on a single YAML() instance would fail. + * transform parameter on dump that expects a function taking a string + and returning a string. This allows transformation of the output before + it is written to stream. This forces creation of the complete output in memory! + * some updates to the docs + * update to conform to mypy 0.511: mypy –strict + * duplicate keys in mappings generate an error + * dependecy on ruamel.ordereddict for 2.7 now via extras_require + * it is now allowed to pass in a pathlib.Path as “stream” parameter + to all load/dump functions + * passing in a non-supported object (e.g. a string) as “stream” will result + in a much more meaningful YAMLStreamError. + * assigning a normal string value to an existing CommentedMap key + or CommentedSeq element will result in a value cast to the previous + value’s type if possible. + * added YAML class for new API + * fix for issue 119, deepcopy not returning subclasses + * fix for issue 103 allowing implicit documents after document end marker + line (...) in YAML 1.2 + * fix problem with emitting using cyaml + ------------------------------------------------------------------- Mon Apr 24 20:16:56 UTC 2017 - aloisio@gmx.com diff --git a/python-ruamel.yaml.spec b/python-ruamel.yaml.spec index 9c710db..9991db2 100644 --- a/python-ruamel.yaml.spec +++ b/python-ruamel.yaml.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ruamel.yaml -Version: 0.14.9 +Version: 0.15.34 Release: 0 Summary: Python YAML parser License: MIT diff --git a/ruamel.yaml-0.14.9.tar.gz b/ruamel.yaml-0.14.9.tar.gz deleted file mode 100644 index 05c2ab4..0000000 --- a/ruamel.yaml-0.14.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e6b83ee98e1b71195ae9afc1e41b57ce8e858d091564b58e8007a100545cf7c -size 241660 diff --git a/ruamel.yaml-0.15.34.tar.gz b/ruamel.yaml-0.15.34.tar.gz new file mode 100644 index 0000000..2cf2f47 --- /dev/null +++ b/ruamel.yaml-0.15.34.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1e29054c6e477963e302b007b6cd1d6c7a58c38d78fabe64fde9ce170d2d1fd +size 260561