17
0

84 Commits

Author SHA256 Message Date
Tomáš Chvátal
64dd1862b5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=34 2019-07-15 08:56:49 +00:00
Tomáš Chvátal
57302ecd42 Accepting request 715403 from home:jayvdb:moban
minor change
note new rpm warning re zero length py.typed is ok, same as upstream
25737c624a (chg-py.typed)
the file will likely be expanded in coming releases, so the warning should go away soon enough

OBS-URL: https://build.opensuse.org/request/show/715403
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=33
2019-07-15 08:55:41 +00:00
1a9b982950 Accepting request 704433 from devel:languages:python
- update to 0.15.96
 * fix failure to round-trip anchored scalars in block sequence
 * fix failure to indent comments on round-trip anchored block style
    scalars in block sequence

OBS-URL: https://build.opensuse.org/request/show/704433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=16
2019-05-22 09:16:58 +00:00
655b957ea9 - update to 0.15.96
* fix failure to round-trip anchored scalars in block sequence
 * fix failure to indent comments on round-trip anchored block style
    scalars in block sequence

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=31
2019-05-21 11:21:43 +00:00
2fc96c9650 Accepting request 702771 from devel:languages:python
- update to 0.15.94
 * fix missing line-break after end-of-file comments not ending in
    line-break
 * fix failure to parse empty implicit flow mapping key
 * in YAML 1.1 plains scalars `y`, 'n', `Y`, and 'N' are now
    correctly recognised as booleans and such strings dumped quoted

OBS-URL: https://build.opensuse.org/request/show/702771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=15
2019-05-14 11:43:53 +00:00
9b71306e3c - update to 0.15.94
* fix missing line-break after end-of-file comments not ending in
    line-break
 * fix failure to parse empty implicit flow mapping key
 * in YAML 1.1 plains scalars `y`, 'n', `Y`, and 'N' are now
    correctly recognised as booleans and such strings dumped quoted

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=29
2019-05-14 07:25:01 +00:00
501457ad2d Accepting request 695731 from devel:languages:python
- update to 0.15.92
 * fix failure to parse empty implicit block mapping key
 * allowing duplicate keys would not work for merge keys
 * fix issue with updating CommentedMap from list of tuples

OBS-URL: https://build.opensuse.org/request/show/695731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=14
2019-04-19 16:39:18 +00:00
c29703af3f - update to 0.15.92
* fix failure to parse empty implicit block mapping key
 * allowing duplicate keys would not work for merge keys
 * fix issue with updating CommentedMap from list of tuples

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=27
2019-04-18 13:23:33 +00:00
d181b43aa3 Accepting request 680514 from devel:languages:python
-  update to 0.15.89
 * fix for items with flow-mapping in block sequence output on single line
 * fix for safe dumping erroring in creation of representereror when dumping namedtuple
 * fix inclusing of python code from the subpackage data

OBS-URL: https://build.opensuse.org/request/show/680514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=13
2019-03-01 15:50:24 +00:00
5a4bbc9ccd - update to 0.15.89
* fix for items with flow-mapping in block sequence output on single line
 * fix for safe dumping erroring in creation of representereror when dumping namedtuple
 * fix inclusing of python code from the subpackage data

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=25
2019-03-01 14:18:23 +00:00
Stephan Kulow
aaee53b84e Accepting request 669780 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/669780
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=12
2019-02-02 20:48:46 +00:00
Tomáš Chvátal
a340ce1ae1 Accepting request 669501 from home:mimi_vx:branches:devel:languages:python
- update to 0.15.87
 * fix problem with empty lists and the code to reinsert merge keys
 * reinsert merge key in its old position
 * fix for issue with non-ASCII anchor names
 * fix for issue when parsing flow mapping value starting with colon
 * the types used by `SafeConstructor` for mappings and sequences can
    now by set by assigning to `XXXConstructor.yaml_base_dict_type`
    (and `..._list_type`), preventing the need to copy two methods
    with 50+ lines that had `var = {}` hardcoded.
 * fix for `CommentedMap.copy()` not returning `CommentedMap`
 * fix for bug in roundtripping aliases used as key
 * anchors and aliases on scalar int, float, string and bool are now preserved.
     Anchors do not need a referring alias for these
 * fix issue saving methods of metaclass derived classes

OBS-URL: https://build.opensuse.org/request/show/669501
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=23
2019-01-29 11:13:45 +00:00
4447598e9e Accepting request 655543 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/655543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=11
2018-12-07 13:33:58 +00:00
Tomáš Chvátal
6797ee15cf Accepting request 653802 from home:mimi_vx:branches:devel:languages:python
- update to 0.15.80
 * fix issue emitting BEL character when round-tripping invalid folded input
 * fix issue with anchors nested deeper than alias

OBS-URL: https://build.opensuse.org/request/show/653802
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=21
2018-12-06 08:34:12 +00:00
206ea1bca5 Accepting request 653087 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/653087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=10
2018-12-03 09:09:46 +00:00
0bebd411ae Accepting request 652807 from home:adrianSuSE:home-assistant
- update to 0.15.78
  * setup issue for 3.8 (reported by Sidney Kuyateh)
  * setting yaml.sort_base_mapping_type_on_output = False, will prevent explicit sorting by keys in the base representer of mappings. Roundtrip already did not do this. Usage only makes real sense for Python 3.6+ (feature request by Sebastian Gerber).
  * implement Python version check in YAML metadata in _test/test_z_data.py
  * fix issue with empty mapping and sequence loaded as flow-style (mapping reported by Min RK, sequence by Maged Ahmed)
  * fix issue with single '?' scalar (reported by Terrance)
  * fix issue with duplicate merge keys (prompted by answering a StackOverflow question by math)
  * fix dropping of comment on rt before sequence item that is sequence item (reported by Thorsten Kampe)
  * fix irregular output on pre-comment in sequence within sequence (reported by Thorsten Kampe)
  * allow non-compact (i.e. next line) dumping sequence/mapping within sequence.
  * fix regression on explicit 1.1 loading with the C based scanner/parser (reported by Tomas Vavra)

OBS-URL: https://build.opensuse.org/request/show/652807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=19
2018-11-30 14:22:53 +00:00
a3674f4d9b Accepting request 639379 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/639379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=9
2018-10-02 17:48:05 +00:00
Petr Cervinka
b778fe59c4 Accepting request 639359 from home:mimi_vx:branches:devel:languages:python
- update to 0.15.71
 *  added ``key`` and ``reverse`` parameter
 * indent root level literal scalars that have directive or document end
     markers at the beginning of a line
 * fix issue #232 revert to throw ParserError for unexcpected ``]``
     and ``}`` instead of IndexError.
 * fix issue with dump_all gobbling end-of-document comments on parsing
 * fix issue with parsabel, but incorrect output with nested flow-style sequences
 * fix issue with loading Python objects that have __setstate__ and recursion in parameters
 * reverted CommentedMap and CommentedSeq to subclass ordereddict resp. list,
    reimplemented merge maps so that both ``dict(**commented_map_instance)`` and JSON
    dumping works. This also allows checking with ``isinstance()`` on ``dict`` resp. ``list``.
 * fix regression where handcrafted CommentedMaps could not be initiated
 * fix regression with non-root literal scalars that needed indent indicator
 * tag:yaml.org,2002:python/object/apply now also uses __qualname__ on PY3

OBS-URL: https://build.opensuse.org/request/show/639359
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=17
2018-10-01 12:05:41 +00:00
5360fb2080 Accepting request 632477 from devel:languages:python
- update to 0.15.64
 * support round-trip of tagged sequences: !Arg [a, {b: 1}]
 * fix issue when roundtripping floats starting with a dot such as .5 
 * C based reader/scanner & emitter now allow setting of 1.2 as YAML version (forwarded request 632476 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/632477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=8
2018-09-03 08:34:33 +00:00
c5a778ee91 Accepting request 632476 from home:mimi_vx:branches:devel:languages:python
- update to 0.15.64
 * support round-trip of tagged sequences: !Arg [a, {b: 1}]
 * fix issue when roundtripping floats starting with a dot such as .5 
 * C based reader/scanner & emitter now allow setting of 1.2 as YAML version

OBS-URL: https://build.opensuse.org/request/show/632476
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=15
2018-08-31 10:55:20 +00:00
3b4d33b5f5 Accepting request 631988 from devel:languages:python
- update to 0.15.61
 * support for round-tripping folded style scalars
 * speed up of scanning (~30% depending on the input)
 * cleanup for mypy
 * issue with C based loader and leading zeros
 * simple mappings can now be used as keys when round-tripping
 * Fix that CommentedSeq could no longer be used in adding or do a sort
 * fix issue with python -O optimizing away code
 * unmade CommentedSeq a subclass of list.
 * fix issue where a comment could pop-up twice in the output
 * fix issue where JSON object (mapping) without spaces was not parsed properly 
 * ix issue where comments after empty flow-style mappings were not emitted
 * fix issue with flow style mapping with comments gobbled newline
 * fix issue where single ‘+’ under YAML 1.2 was interpreted as integer, erroring out
 * added .copy() mapping representation for round-tripping
 * Fix method name dumps (were not dotted) and loads
 * Allow YAML() as a context manager for output
 * Fix issue with incorrect type information for load() and dump()
 * fixed DeprecationWarning for importing from collections on 3.7
 * After adding failing test for YAML.load_all(Path()), remove StopIteration

OBS-URL: https://build.opensuse.org/request/show/631988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=7
2018-08-29 10:26:45 +00:00
bec2b18a1d Accepting request 631987 from home:mimi_vx:branches:devel:languages:python
- update to 0.15.61
 * support for round-tripping folded style scalars
 * speed up of scanning (~30% depending on the input)
 * cleanup for mypy
 * issue with C based loader and leading zeros
 * simple mappings can now be used as keys when round-tripping
 * Fix that CommentedSeq could no longer be used in adding or do a sort
 * fix issue with python -O optimizing away code
 * unmade CommentedSeq a subclass of list.
 * fix issue where a comment could pop-up twice in the output
 * fix issue where JSON object (mapping) without spaces was not parsed properly 
 * ix issue where comments after empty flow-style mappings were not emitted
 * fix issue with flow style mapping with comments gobbled newline
 * fix issue where single ‘+’ under YAML 1.2 was interpreted as integer, erroring out
 * added .copy() mapping representation for round-tripping
 * Fix method name dumps (were not dotted) and loads
 * Allow YAML() as a context manager for output
 * Fix issue with incorrect type information for load() and dump()
 * fixed DeprecationWarning for importing from collections on 3.7
 * After adding failing test for YAML.load_all(Path()), remove StopIteration

OBS-URL: https://build.opensuse.org/request/show/631987
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=13
2018-08-28 13:28:18 +00:00
65619a7929 Accepting request 622950 from devel:languages:python
- update to 0.15.44
 * fix for losing precision when roundtripping floats by
 * decoding unicode escaped tags on Python2
 * add detection of C-compile failure
 * fix regression showing only on narrow Python 2.7
 * ``register_class()`` now returns class (forwarded request 622949 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/622950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=6
2018-07-17 07:41:55 +00:00
6093c15165 Accepting request 622949 from home:mimi_vx:branches:devel:languages:python
- update to 0.15.44
 * fix for losing precision when roundtripping floats by
 * decoding unicode escaped tags on Python2
 * add detection of C-compile failure
 * fix regression showing only on narrow Python 2.7
 * ``register_class()`` now returns class

OBS-URL: https://build.opensuse.org/request/show/622949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=11
2018-07-15 22:09:26 +00:00
51760a71c6 Accepting request 593618 from devel:languages:python
- update to 0.15.37
 * fix incompatibility of C extension with 3.7 (forwarded request 593617 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/593618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=5
2018-04-05 13:34:06 +00:00
b7b76e0241 Accepting request 593617 from home:mimi_vx:branches:devel:languages:python
- update to 0.15.37
 * fix incompatibility of C extension with 3.7

OBS-URL: https://build.opensuse.org/request/show/593617
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=9
2018-04-04 19:11:24 +00:00
a0a354f156 Accepting request 562789 from devel:languages:python
- update to 0.15.35
 * allow None as stream when specifying transform parameters to YAML.dump() (forwarded request 562788 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/562789
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=4
2018-01-09 13:56:15 +00:00
608855f707 Accepting request 562788 from home:mimi_vx:branches:devel:languages:python
- update to 0.15.35
 * allow None as stream when specifying transform parameters to YAML.dump()

OBS-URL: https://build.opensuse.org/request/show/562788
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=7
2018-01-09 09:00:05 +00:00
672e65d72d Accepting request 533674 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/533674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=3
2017-10-13 12:19:33 +00:00
Jan Matejek
5c9edb3719 Accepting request 533656 from home:mimi_vx:branches:devel:languages:python
- 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
2017-10-12 13:31:32 +00:00
5e387e6d89 Accepting request 490883 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/490883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=2
2017-05-09 16:01:58 +00:00
24f9809fb5 Accepting request 490856 from home:alois:branches:devel:languages:python
- Update to 0.14.9 (see included CHANGES file)
- Converted to single-spec
- LICENSE file is now provided internally, so dropped Source1
- Dropped python-ruamel.ordereddict as build requirement

OBS-URL: https://build.opensuse.org/request/show/490856
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=3
2017-04-25 03:45:11 +00:00
3281728398 Accepting request 455826 from devel:languages:python
- New dependency for google-cloud-sdk

OBS-URL: https://build.opensuse.org/request/show/455826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=1
2017-02-28 22:48:40 +00:00
e9dbd6f48f Accepting request 453530 from Cloud:Tools
- Needed by google-cloud-sdk, generally useful

OBS-URL: https://build.opensuse.org/request/show/453530
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=1
2017-01-31 08:44:13 +00:00