!12 Upgrade to latest release [python-ruamel-yaml -> 0.17.32]
From: @Jason_828e Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
a7e4d9949e
@ -5,21 +5,24 @@ Forwarded: not-needed
|
||||
As the cpython code has an endianness bug https://sourceforge.net/p/ruamel-yaml/tickets/360/
|
||||
|
||||
Thanks to Rebecca N. Palmer for the tip about sys.byteorder!
|
||||
---
|
||||
main.py | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: ruamel.yaml/main.py
|
||||
===================================================================
|
||||
--- ruamel.yaml.orig/main.py 2021-10-14 00:10:27.265523204 +0200
|
||||
+++ ruamel.yaml/main.py 2021-10-14 00:11:02.469504291 +0200
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
|
||||
class YAML:
|
||||
- def __init__(self, *, typ=None, pure=False, output=None, plug_ins=None): # input=None,
|
||||
+ def __init__(self, *, typ=None, pure=None, output=None, plug_ins=None): # input=None,
|
||||
# type: (Any, Optional[Text], Any, Any, Any) -> None
|
||||
"""
|
||||
typ: 'rt'/None -> RoundTripLoader/RoundTripDumper, (default)
|
||||
@@ -64,6 +64,11 @@
|
||||
diff --git a/main.py b/main.py
|
||||
index 9068282..49e70a4 100644
|
||||
--- a/main.py
|
||||
+++ b/main.py
|
||||
@@ -55,7 +55,7 @@ class YAML:
|
||||
self: Any,
|
||||
*,
|
||||
typ: Optional[Union[List[Text], Text]] = None,
|
||||
- pure: Any = False,
|
||||
+ pure: Any = None,
|
||||
output: Any = None,
|
||||
plug_ins: Any = None,
|
||||
) -> None: # input=None,
|
||||
@@ -70,6 +70,11 @@ class YAML:
|
||||
"""
|
||||
|
||||
self.typ = ['rt'] if typ is None else (typ if isinstance(typ, list) else [typ])
|
||||
@ -31,3 +34,6 @@ Index: ruamel.yaml/main.py
|
||||
self.pure = pure
|
||||
|
||||
# self._input = input
|
||||
--
|
||||
2.39.1
|
||||
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-ruamel-yaml
|
||||
Version: 0.17.21
|
||||
Version: 0.17.32
|
||||
Release: 1
|
||||
Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order
|
||||
License: MIT
|
||||
URL: https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree
|
||||
Source0: https://files.pythonhosted.org/packages/46/a9/6ed24832095b692a8cecc323230ce2ec3480015fbfa4b79941bd41b23a3c/ruamel.yaml-0.17.21.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/63/dd/b4719a290e49015536bd0ab06ab13e3b468d8697bec6c2f668ac48b05661/ruamel.yaml-0.17.32.tar.gz
|
||||
BuildArch: noarch
|
||||
Patch0001: 0000-fix-big-endian-issues.patch
|
||||
%description
|
||||
@ -80,6 +80,9 @@ mv %{buildroot}/doclist.lst .
|
||||
%doc README.rst CHANGES
|
||||
|
||||
%changelog
|
||||
* Fri Jul 14 2023 chenzixuan <chenzixuan@kylinos.cn> - 0.17.32-1
|
||||
- Upgrade python3-ruamel-yaml to version 0.17.32
|
||||
|
||||
* Sat Jun 04 2022 OpenStack_SIG <openstack@openeuler.org> - 0.17.21-1
|
||||
- Upgrade python3-ruamel-yaml to version 0.17.21
|
||||
|
||||
|
||||
Binary file not shown.
BIN
ruamel.yaml-0.17.32.tar.gz
Normal file
BIN
ruamel.yaml-0.17.32.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user