diff mbox series

python3-ruamel-yaml: upgrade 0.17.21 -> 0.17.31

Message ID 1685610221-29015-18-git-send-email-wangmy@fujitsu.com
State Accepted, archived
Commit a83a1f21c1c1637017d4046b32fc5e558f342add
Headers show
Series python3-ruamel-yaml: upgrade 0.17.21 -> 0.17.31 | expand

Commit Message

Mingyu Wang (Fujitsu) June 1, 2023, 9:03 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Changelog:
=========
- added tag.setter on 'ScalarEvent' and on 'Node', that takes either 
    a 'Tag' instance, or a str 
- fix issue 467, caused by Tag instances not being hashable
- 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.
- fix for issue 464: documents ending with document end marker without final newline
  fail to load
- fix issue with inline mappings as value for merge keys
- fix for 468, error inserting after accessing merge attribute on "CommentedMap"
- fix for issue 461 pop + insert on same 'CommentedMap' key throwing error
- Fix for error on edge cage for issue 459
- fix for regression while dumping wrapped strings with too many backslashes removed
- 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
  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.
  also brought up by brent on 
  'StackOverflow <https://stackoverflow.com/q/40072485/1307905>'__)
- fix 458, error on plain scalars starting with word longer than width.
- fix for ".update()" no longer correctly handling keyword arguments
- fix issue 454: high Unicode (emojis) in quoted strings always
  escaped
- fix issue with emitter conservatively inserting extra backslashes in wrapped
  quoted strings
- fix issue 449 where the second exclamation marks got URL encoded
  and fixing PR
- fix issue with indent != 2 and literal scalars with empty first line
- 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 
- fix loading of '!!float 42'
- 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
- 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).
- added stacklevel to warnings
- typing changed from Py2 compatible comments to Py3, removed various Py2-isms

License-Update: Copyright year updated to 2023

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 ...-ruamel-yaml_0.17.21.bb => python3-ruamel-yaml_0.17.31.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-ruamel-yaml_0.17.21.bb => python3-ruamel-yaml_0.17.31.bb} (75%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.21.bb b/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.31.bb
similarity index 75%
rename from meta/recipes-devtools/python/python3-ruamel-yaml_0.17.21.bb
rename to meta/recipes-devtools/python/python3-ruamel-yaml_0.17.31.bb
index 7d65c4c2d8..5604ff01e4 100644
--- a/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.21.bb
+++ b/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.31.bb
@@ -3,13 +3,13 @@  HOMEPAGE = "https://pypi.org/project/ruamel.yaml/"
 AUTHOR = "Anthon van der Neut"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=034154b7344d15438bc5ed5ee9cc075f"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0e5f41db57c3a8d3584b450d35985ad1"
 
 PYPI_PACKAGE = "ruamel.yaml"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "8b7ce697a2f212752a35c1ac414471dc16c424c9573be4926b56ff3f5d23b7af"
+SRC_URI[sha256sum] = "098ed1eb6d338a684891a72380277c1e6fc4d4ae0e120de9a447275056dda335"
 
 RDEPENDS:${PN} += "\
     ${PYTHON_PN}-shell \