From 414734d30bc2f6c2e7c39db85fd3b30cee762efc0acafe658ef104b5b0592b25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 18 Mar 2024 15:51:50 +0000 Subject: [PATCH] Accepting request 1158536 from home:ojkastl_buildservice:Branch_devel_languages_python update to 0.18.6 OBS-URL: https://build.opensuse.org/request/show/1158536 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=75 --- python-ruamel.yaml.changes | 123 ++++++++++++++++++++++++++++++++++++- python-ruamel.yaml.spec | 6 +- ruamel.yaml-0.17.35.tar.gz | 3 - ruamel.yaml-0.18.6.tar.gz | 3 + 4 files changed, 128 insertions(+), 7 deletions(-) delete mode 100644 ruamel.yaml-0.17.35.tar.gz create mode 100644 ruamel.yaml-0.18.6.tar.gz diff --git a/python-ruamel.yaml.changes b/python-ruamel.yaml.changes index d86558c..1b64520 100644 --- a/python-ruamel.yaml.changes +++ b/python-ruamel.yaml.changes @@ -1,3 +1,124 @@ +------------------------------------------------------------------- +Sat Mar 16 16:33:40 UTC 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 16:27:02 UTC 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 16:20:20 UTC 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 14:52:34 UTC 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 14:51:02 UTC 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 14:46:35 UTC 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 14:44:21 UTC 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 14:34:33 UTC 2024 - Johannes Kastl + +- update to 0.17.39 (skipping non-existent releases .37 and .38): + * update README generation, no code changes + +------------------------------------------------------------------- +Sat Mar 16 14:30:21 UTC 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 4 07:57:03 UTC 2023 - Ondřej Súkup @@ -10,7 +131,7 @@ Wed Oct 4 07:57:03 UTC 2023 - Ondřej Súkup * 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 + can more easily be influenced ------------------------------------------------------------------- Thu Jun 1 05:46:10 UTC 2023 - Johannes Kastl diff --git a/python-ruamel.yaml.spec b/python-ruamel.yaml.spec index 15c236e..ddb9c56 100644 --- a/python-ruamel.yaml.spec +++ b/python-ruamel.yaml.spec @@ -1,7 +1,7 @@ # # spec file for package python-ruamel.yaml # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-ruamel.yaml -Version: 0.17.35 +Version: 0.18.6 Release: 0 Summary: Python YAML parser License: MIT @@ -49,7 +49,7 @@ rm -rf *egg-info %files %{python_files} %license LICENSE -%doc CHANGES README.rst +%doc CHANGES README.md %{python_sitelib}/ruamel %{python_sitelib}/ruamel.yaml-%{version}*-info diff --git a/ruamel.yaml-0.17.35.tar.gz b/ruamel.yaml-0.17.35.tar.gz deleted file mode 100644 index ea328d7..0000000 --- a/ruamel.yaml-0.17.35.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:801046a9caacb1b43acc118969b49b96b65e8847f29029563b29ac61d02db61b -size 136131 diff --git a/ruamel.yaml-0.18.6.tar.gz b/ruamel.yaml-0.18.6.tar.gz new file mode 100644 index 0000000..646f9c6 --- /dev/null +++ b/ruamel.yaml-0.18.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b27e6a217e786c6fbe5634d8f3f11bc63e0f80f6a5890f28863d9c45aac311b +size 143362