Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-anymarkup-core for
openSUSE:Factory checked in at 2022-07-04 11:32:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-anymarkup-core (Old)
and /work/SRC/openSUSE:Factory/.python-anymarkup-core.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-anymarkup-core"
Mon Jul 4 11:32:44 2022 rev:2 rq:986471 version:0.8.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-anymarkup-core/python-anymarkup-core.changes
2021-01-21 21:57:29.577859738 +0100
+++
/work/SRC/openSUSE:Factory/.python-anymarkup-core.new.1548/python-anymarkup-core.changes
2022-07-04 11:32:48.472016644 +0200
@@ -1,0 +2,6 @@
+Thu Jun 30 07:43:44 UTC 2022 - Daniel Garc??a Moreno <[email protected]>
+
+- add xml-to-dict-0.13.patch:
+ * fix tests with xmltodict 0.13.0 version
+
+-------------------------------------------------------------------
New:
----
xml-to-dict-0.13.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-anymarkup-core.spec ++++++
--- /var/tmp/diff_new_pack.uYSzfA/_old 2022-07-04 11:32:49.792018769 +0200
+++ /var/tmp/diff_new_pack.uYSzfA/_new 2022-07-04 11:32:49.796018776 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-anymarkup-core
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2020 SUSE Software Solutions Germany GmbH.
#
# All modifications and additions to the file contributed by third parties
@@ -26,6 +26,7 @@
Group: Development/Languages/Python
URL: https://github.com/bkabrda/anymarkup-core
Source0:
https://github.com/bkabrda/anymarkup-core/archive/v%{version}/anymarkup-core-%{version}.tar.gz
+Patch0: xml-to-dict-0.13.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -54,6 +55,7 @@
%prep
%setup -q -n anymarkup-core-%{version}
+%autopatch -p1
%build
%python_build
++++++ xml-to-dict-0.13.patch ++++++
diff --git a/test/test_parse.py b/test/test_parse.py
index 3c0bf86..491b4dc 100644
--- a/test/test_parse.py
+++ b/test/test_parse.py
@@ -37,7 +37,7 @@ class TestParse(object):
(example_json, None, example_as_dict),
(example_json5, 'json5', example_as_dict),
(example_toml, 'toml', toml_example_as_dict), # we can't tell toml
from ini
- (example_xml, None, example_as_ordered_dict),
+ (example_xml, None, example_as_dict),
(example_yaml_map, None, example_as_dict),
(example_yaml_omap, None, example_as_ordered_dict),
])
@@ -55,7 +55,7 @@ class TestParse(object):
(example_json, None, example_as_dict),
(example_json5, 'json5', example_as_dict),
(example_toml, 'toml', toml_example_as_dict), # we can't tell toml
from ini
- (example_xml, None, example_as_ordered_dict),
+ (example_xml, None, example_as_dict),
(example_yaml_map, None, example_as_dict),
(example_yaml_omap, None, example_as_ordered_dict),
])
diff --git a/test/test_serialize.py b/test/test_serialize.py
index 8191561..7b1d67f 100644
--- a/test/test_serialize.py
+++ b/test/test_serialize.py
@@ -32,7 +32,7 @@ class TestSerialize(object):
(example_as_dict, 'json'),
(example_as_dict, 'json5'),
(toml_example_as_dict, 'toml'),
- (example_as_ordered_dict, 'xml'),
+ (example_as_dict, 'xml'),
(example_as_dict, 'yaml'),
(example_as_ordered_dict, 'yaml'),
])
@@ -60,7 +60,7 @@ class TestSerialize(object):
(example_as_dict, None, 'example.json'),
(example_as_dict, 'json5', 'example.json5'),
(toml_example_as_dict, 'toml', 'example.toml'),
- (example_as_ordered_dict, None, 'example.xml'),
+ (example_as_dict, None, 'example.xml'),
(example_as_dict, None, 'example.yaml'),
(example_as_ordered_dict, None, 'example_ordered.yaml'),
])