From 7c2b663a27e28a0904204eb7d350b92c5adf764a73f04b399a1d52050b7db8ee Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Oct 2021 22:33:52 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=200.17.16:=20=20=20-=20also=20h?= =?UTF-8?q?andle=20issue=20397=20when=20comment=20is=20newline=20=20=20-?= =?UTF-8?q?=20fix=20issue=20397,=20insert=20comment=20before=20key=20when?= =?UTF-8?q?=20a=20comment=20between=20key=20and=20value=20exists=20=20=20-?= =?UTF-8?q?=20fix=20issue=20396,=20inserting=20key/val=20in=20merged-in=20?= =?UTF-8?q?dictionary=20=20=20-=20minor=20fix=20in=20attr=20handling=20=20?= =?UTF-8?q?=20-=20fix=20issue=20with=20anchor=20on=20registered=20class=20?= =?UTF-8?q?not=20preserved=20and=20those=20classes=20using=20package=20=20?= =?UTF-8?q?=20=20=20attrs=20with=20`@attr.s()`=20=20=20-=20fix=20error=20b?= =?UTF-8?q?aseclass=20for=20``DuplicateKeyErorr``=20(reported=20by=20`?= =?UTF-8?q?=C5=81ukasz=20Rogalski=20=20=20-=20fix=20typo=20in=20reader=20e?= =?UTF-8?q?rror=20message,=20causing=20`KeyError`=20during=20reader=20erro?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=58 --- python-ruamel.yaml.changes | 13 +++++++++++++ python-ruamel.yaml.spec | 2 +- ruamel.yaml-0.17.10.tar.gz | 3 --- ruamel.yaml-0.17.16.tar.gz | 3 +++ 4 files changed, 17 insertions(+), 4 deletions(-) delete mode 100644 ruamel.yaml-0.17.10.tar.gz create mode 100644 ruamel.yaml-0.17.16.tar.gz diff --git a/python-ruamel.yaml.changes b/python-ruamel.yaml.changes index b54e9f5..e89beed 100644 --- a/python-ruamel.yaml.changes +++ b/python-ruamel.yaml.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Oct 16 22:32:20 UTC 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 `@attr.s()` + - fix error baseclass for ``DuplicateKeyErorr`` (reported by `Łukasz Rogalski + - fix typo in reader error message, causing `KeyError` during reader error + ------------------------------------------------------------------- Sat Jul 17 13:53:25 UTC 2021 - Dirk Müller diff --git a/python-ruamel.yaml.spec b/python-ruamel.yaml.spec index 437c623..35c7b27 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.17.10 +Version: 0.17.16 Release: 0 Summary: Python YAML parser License: MIT diff --git a/ruamel.yaml-0.17.10.tar.gz b/ruamel.yaml-0.17.10.tar.gz deleted file mode 100644 index 2da020a..0000000 --- a/ruamel.yaml-0.17.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:106bc8d6dc6a0ff7c9196a47570432036f41d556b779c6b4e618085f57e39e67 -size 126760 diff --git a/ruamel.yaml-0.17.16.tar.gz b/ruamel.yaml-0.17.16.tar.gz new file mode 100644 index 0000000..0100822 --- /dev/null +++ b/ruamel.yaml-0.17.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a771fc92d3823682b7f0893ad56cb5a5c87c48e62b5399d6f42c8759a583b33 +size 128134