|
|
|
|
Changelog for python312-ruamel.yaml-0.18.6-1.2.noarch.rpm :
* Sat Mar 16 2024 Johannes Kastl - update to 0.18.6: * fixed an issue with dataclass loading when the fields were collections (bug found as a result of a question by [FibroMyAlgebra](https://stackoverflow.com/users/6855070/fibromyalgebra) on [StackOverflow](https://stackoverflow.com/a/77485786/1307905)) * fixed an issue loading dataclasses with `InitVar` fields when `from __future__ import annotations` was used to delay evaluation of typing. * Sat Mar 16 2024 Johannes Kastl - update to 0.18.5: * there is some indication that dependent packages have been pinned to use specific (tested) and just install the latest even in Python versions that have end-of-life- update to 0.18.4: * YAML() instance has a `doc_infos` attribute which is a cumulative list of DocInfo instances (one for `load()`, one per document for `load_all()`). DocInfo instances contain version information (requested, directive) and tag directive information * fix issue that the YAML instance tags attribute was not reset between documents, resulting in mixing of tag directives of multiple documents. Now only provides tag directive information on latest document after loading. This means tags for dumping must be set * *again * * after a document is loaded with the same instance. (because of this tags will be removed in a favour of a different mechanism in the future) * fix issue with multiple document intermixing YAML 1.2 and YAML 1.1, the VersionedResolver now resets * fix issue with disappearing comment when next token was Tag (still can\'t have both a comment before a tag and after a tag, before node) * Sat Mar 16 2024 Johannes Kastl - update to 0.18.3: * fix issue with spurious newline on first item after comment + nested block sequence * additional links in the metadata on PyPI (Reported, with pointers how to fix, by [Sorin](https://sourceforge.net/u/ssbarnea/profile/)). * Sat Mar 16 2024 Johannes Kastl - update to 0.18.2: * calling the deprecated functions now raises an `AttributeError` with the, somewhat more informative, orginal warning message. Instead of calling `sys.exit(1)` * Sat Mar 16 2024 Johannes Kastl - update to 0.18.1: * calling the deprecated functions now always displays the warning message. (reported by [Trend Lloyd](https://sourceforge.net/u/lathiat2/profile/)) * Sat Mar 16 2024 Johannes Kastl - update to 0.18.0: * the * *functions * * `scan`, `parse`, `compose`, `load`, `emit`, `serialize`, `dump` and their variants (`_all`, `safe_`, `round_trip_`, etc) have been deprecated (the same named * *methods * * on `YAML()` instances are, of course, still there. * `YAML(typ=\'unsafe\')` now issues a `PendingDeprecationWarning`. This will become deprecated in the 0.18 series (probably before the end of 2023). You can use `YAML(typ=\'full\')` to dump unregistered Python classes/functions. For loading you\'ll have to register your classes/functions if you want the old, unsafe, functionality. You can still load any tag, like `!!python/name:posix.system\', * *safely * * with the (default) round-trip parser. * fix for `bytes-like object is required not \'str\' while dumping binary streams`. This was reported, analysed and a fix provided by [Vit Zikmund](https://sourceforge.net/u/tlwhitec/profile/) * Sat Mar 16 2024 Johannes Kastl - update to 0.17.40: * flow style sets are now preserved ( `!!set {a, b, c} )`. Any values specified when loading are dropped, including `!!null \"\"`. * potential workaround for issue 484: the long_description_content_type including the variant specification `CommonMark` can result in problems on Azure. If you can install from `.tar.gz` using `RUAMEL_NO_LONG_DESCRIPTION=1 pip install ruamel.yaml - -no-binary :all:` then the long description, and its offending type, are nog included (in the METADATA). (Reported by [Coury Ditch](https://sourceforge.net/u/cmditch/profile/)) * links in documentation update (reported by [David Hoese](https://sourceforge.net/u/daveydave400/profile/)) * Added some `__repr__` for internally used classes * Sat Mar 16 2024 Johannes Kastl - update to 0.17.39 (skipping non-existent releases .37 and .38): * update README generation, no code changes * Sat Mar 16 2024 Johannes Kastl - update to 0.17.36: * fixed issue 480, dumping of a loaded empty flow-style mapping with comment failed (Reported by [Stéphane Brunner](https://sourceforge.net/u/stbrunner/profile/)) * fixed issue 482, caused by DEFAULT_MAPPING_TAG having changes to being a `Tag()` instance, not a string (reported by [yan12125](https://sourceforge.net/u/yan12125/profile/)) * updated documentation to use mkdocs * Wed Oct 04 2023 Ondřej Súkup - 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 (`AATTyaml.register_class\ AATTdataclass\ class ...`) * 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 * Thu Jun 01 2023 Johannes Kastl - update to 0.17.31: * added tag.setter on `ScalarEvent` and on `Node`, that takes either a `Tag` instance, or a str (reported by Sorin Sbarnea)- update to 0.17.30: * fix issue 467, caused by Tag instances not being hashable (reported by Douglas Raillard)- update to 0.17.29: * changed the internals of the tag property from a string to a class which allows for preservation of the original handle and suffix. This should result in better results using documents with %TAG directives, as well as preserving URI escapes in tag suffixes.- update to 0.17.28: * fix for issue 464: documents ending with document end marker without final newline fail to load (reported by Mariusz Rusiniak)- update to 0.17.27: * fix issue with inline mappings as value for merge keys (reported by Sirish) * fix for 468, error inserting after accessing merge attribute on ``CommentedMap`` (reported by Bastien gerard) * fix for issue 461 pop + insert on same `CommentedMap` key throwing error (reported by `John Thorvald Wodder II) * Wed May 17 2023 Johannes Kastl - 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 `__)- 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 `__). 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 `__, also brought up by brent on `StackOverflow `__)- update to 0.17.23: - fix 458, error on plain scalars starting with word longer than width. (reported by `Kyle Larose `__) - fix for ``.update()`` no longer correctly handling keyword arguments (reported by John Lin on `__) - fix issue 454: high Unicode (emojis) in quoted strings always escaped (reported by `Michal Čihař `__ based on a question on StackOverflow). - fix issue with emitter conservatively inserting extra backslashes in wrapped quoted strings (reported by thebenman on `StackOverflow `__)- update to 0.17.22: - fix issue 449 where the second exclamation marks got URL encoded (reported and fixing PR provided by `John Stark `__) - fix issue with indent != 2 and literal scalars with empty first line (reported by wrdis on `StackOverflow `__) - updated __repr__ of CommentedMap, now that Python\'s dict is ordered -> no more ordereddict(list-of-tuples) - merge MR 4, handling OctalInt in YAML 1.1 (provided by `Jacob Floyd `_) - fix loading of `!!float 42` (reported by Eric on `Stack overflow `_) - line numbers are now set on `CommentedKeySeq` and `CommentedKeyMap` (which are created if you have a sequence resp. mapping as the key in a mapping) - plain scalars: put single words longer than width on a line of their own, instead of after the previous line (issue 427, reported by `Antoine Cotten `_). Caveat: this currently results in a space ending the previous line. - fix for folded scalar part of 421: comments after \">\" on first line of folded scalars are now preserved (as were those in the same position on literal scalars). Issue reported by Jacob Floyd. - added stacklevel to warnings - typing changed from Py2 compatible comments to Py3, removed various Py2-isms * Fri Apr 21 2023 Dirk Müller - add sle15_python_module_pythons (jsc#PED-68) * Tue Jul 19 2022 Dirk Müller - update to 0.17.21: * fix bug in calling `.compose()` method with `pathlib.Path` instance. * Thu Apr 28 2022 Jan Baier - add 0000-fix-big-endian-issues.patch to workaround issue 360 on big endian systems * Mon Jan 10 2022 Dirk Müller - update to 0.17.20: - fix error in microseconds while rounding datetime fractions >= 9999995 - fix mypy problems - copy-paste error in folded scalar comment attachment - fix 411, indent error comment between key empty seq value * Mon Nov 29 2021 Dirk Müller - update to 0.17.17: * extract timestamp matching/creation to util * Sat Oct 16 2021 Dirk Müller - 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 `AATTattr.s()` - fix error baseclass for ``DuplicateKeyErorr`` (reported by `Łukasz Rogalski - fix typo in reader error message, causing `KeyError` during reader error * Sat Jul 17 2021 Dirk Müller - update to 0.17.10: - 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 * Sun May 02 2021 Matthias Fehring - update to 0.17.4 * prevent (empty) comments from throwing assertion error comments (or empty line) will be dropped- update to 0.17.3 * fix for issue 382 caused by an error in a format string * allow expansion of aliases by setting yaml.composer.return_alias = lambda s: copy.deepcopy(s) * Tue Mar 30 2021 Ondřej Súkup - update to 0.17.2 * fix upstream packaging problems * Fri Mar 26 2021 Ondřej Súkup - update to 0.17.0 * drop python2 support * preparation for f-strings
|
|
|