* implemented changes to the setup.py for Python 3.14 as
suggested by Miro Hrončok
* fix issue with roundtripping 0 in YAML 1.1
* added warning to README.md that PyPI might block updates due
to breaking changes
* fixes for README
* fixes preserving anchor on scalar integer `0`
* fix for formatting of README suggested by Michael R.
Crusoe
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=77
- update to 0.17.35
* Python 3.12 also loads C version when using `typ='safe'`
* initial support for loading invoking `__post_init__` on dataclasses
that have that method after loading a registered dataclass
(`@yaml.register_class\n@dataclass\nclass ...`)
* fix issue with scanner getting stuck in infinite loop
* added `flow_seq_start`, `flow_seq_end`, `flow_seq_separator`,
`flow_map_start`, `flow_map_end`, `flow_map_separator` **class**
attributes to the `Emitter` class so flow style output
can more easily be influenced
OBS-URL: https://build.opensuse.org/request/show/1115569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=73
- adapt patch 0000-fix-big-endian-issues.patch
- update to 0.17.26:
- Fix for error on edge cage for issue 459
- update to 0.17.25:
- fix for regression while dumping wrapped strings with too many
backslashes removed (issue 459, reported by `Lele Gaifax
<https://sourceforge.net/u/lele/profile/>`__)
- update to 0.17.24:
- rewrite of ``CommentedMap.insert()``. If you have a merge key
in the YAML document for the mapping you insert to, the
position value should be the one as you look at the YAML input.
This fixes issue 453 where other keys of a merged in mapping
would show up after an insert (reported by `Alex Miller
<https://sourceforge.net/u/millerdevel/profile/>`__). It also
fixes a call to `.insert()` resulting into the merge key to
move to be the first key if it wasn't already and it is also
now possible to insert a key before a merge key (even if the
fist key in the mapping).
- fix (in the pure Python implementation including default) for
issue 447. (reported by `Jack Cherng
<https://sourceforge.net/u/jfcherng/profile/>`__, also brought
up by brent on `StackOverflow
<https://stackoverflow.com/q/40072485/1307905>`__)
- update to 0.17.23:
- fix 458, error on plain scalars starting with word longer than
width. (reported by `Kyle Larose
<https://sourceforge.net/u/klarose/profile/>`__)
- fix for ``.update()`` no longer correctly handling keyword
arguments (reported by John Lin on <StackOverflow
`<https://stackoverflow.com/q/76089100/1307905>`__)
OBS-URL: https://build.opensuse.org/request/show/1087782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=33
- update to 0.17.16:
- also handle issue 397 when comment is newline
- fix issue 397, insert comment before key when a comment between key and value exists
- fix issue 396, inserting key/val in merged-in dictionary
- minor fix in attr handling
- fix issue with anchor on registered class not preserved and those classes using package
attrs with `@attr.s()`
- fix error baseclass for ``DuplicateKeyErorr`` (reported by `Łukasz Rogalski
- fix typo in reader error message, causing `KeyError` during reader error
OBS-URL: https://build.opensuse.org/request/show/925767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=27
- also handle issue 397 when comment is newline
- fix issue 397, insert comment before key when a comment between key and value exists
- fix issue 396, inserting key/val in merged-in dictionary
- minor fix in attr handling
- fix issue with anchor on registered class not preserved and those classes using package
attrs with `@attr.s()`
- fix error baseclass for ``DuplicateKeyErorr`` (reported by `Łukasz Rogalski
- fix typo in reader error message, causing `KeyError` during reader error
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=58
- fix issue 388, token with old comment structure != two elements
- fix issue with updating CommentedMap
- fix for issue 387 where templated anchors on tagged object did get set
resulting in potential id reuse.
- issue 385 also affected other deprecated loaders
- merged type annotations update
- deprecated round_trip_loader function not working
- wasted a few hours getting rid of mypy warnings/errors
- fix for issue 384 !!set with aliased entry resulting in broken YAML on rt
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=57
* allow for YAML(typ=['unsafe', 'pytypes'])
* fix output of TAG directives with #
* move setting of version based on YAML directive to scanner, allowing to
check for file version during TAG directive scanning
* preserve YAML and TAG directives on roundtrip, correctly output # in URL
for YAML 1.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=42