Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-xmldiff for openSUSE:Factory 
checked in at 2022-10-15 16:37:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xmldiff (Old)
 and      /work/SRC/openSUSE:Factory/.python-xmldiff.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-xmldiff"

Sat Oct 15 16:37:34 2022 rev:21 rq:1010955 version:2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xmldiff/python-xmldiff.changes    
2021-06-04 00:34:21.317008100 +0200
+++ /work/SRC/openSUSE:Factory/.python-xmldiff.new.2275/python-xmldiff.changes  
2022-10-15 16:40:26.782584374 +0200
@@ -1,0 +2,9 @@
+Fri Oct 14 12:10:39 UTC 2022 - pgaj...@suse.com
+
+- added patches
+  fix 
https://github.com/Shoobx/xmldiff/commit/34b810f4394965aadeca31204e6b76eb023fd11a
+  + python-xmldiff-src-upgrades.patch
+  https://github.com/Shoobx/xmldiff/issues/93
+  + python-xmldiff-no-six-remains.patch
+  
+-------------------------------------------------------------------

New:
----
  python-xmldiff-no-six-remains.patch
  python-xmldiff-src-upgrades.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-xmldiff.spec ++++++
--- /var/tmp/diff_new_pack.q3EJKt/_old  2022-10-15 16:40:27.226585441 +0200
+++ /var/tmp/diff_new_pack.q3EJKt/_new  2022-10-15 16:40:27.230585451 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-xmldiff
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,12 +25,15 @@
 License:        MIT
 URL:            https://github.com/Shoobx/xmldiff
 Source:         
https://files.pythonhosted.org/packages/source/x/xmldiff/xmldiff-%{version}.tar.gz
+# 
https://github.com/Shoobx/xmldiff/commit/34b810f4394965aadeca31204e6b76eb023fd11a
+Patch0:         python-xmldiff-src-upgrades.patch
+# https://github.com/Shoobx/xmldiff/issues/93
+Patch1:         python-xmldiff-no-six-remains.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-lxml >= 3.1.0
 Requires:       python-setuptools
-Requires:       python-six
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
 Conflicts:      %{oldpython}-xmldiff < %{version}
@@ -38,7 +41,6 @@
 # SECTION test requirements
 BuildRequires:  %{python_module lxml >= 3.1.0}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six}
 # /SECTION
 %python_subpackages
 
@@ -52,6 +54,8 @@
 
 %prep
 %setup -q -n xmldiff-%{version}
+%patch0 -p1
+%patch1 -p1
 
 %build
 %python_build

++++++ python-xmldiff-no-six-remains.patch ++++++
Index: xmldiff-2.4/tests/test_main.py
===================================================================
--- xmldiff-2.4.orig/tests/test_main.py
+++ xmldiff-2.4/tests/test_main.py
@@ -1,5 +1,5 @@
+import io
 import os
-import six
 import sys
 import unittest
 
@@ -71,8 +71,8 @@ class MainAPITests(unittest.TestCase):
 
 class MainCLITests(unittest.TestCase):
     def call_run(self, args, command=main.diff_command):
-        output = six.StringIO()
-        errors = six.StringIO()
+        output = io.StringIO()
+        errors = io.StringIO()
 
         stdout = sys.stdout
         stderr = sys.stderr
Index: xmldiff-2.4/xmldiff.egg-info/requires.txt
===================================================================
--- xmldiff-2.4.orig/xmldiff.egg-info/requires.txt
+++ xmldiff-2.4/xmldiff.egg-info/requires.txt
@@ -1,3 +1,2 @@
 setuptools
 lxml>=3.1.0
-six
Index: xmldiff-2.4/setup.py
===================================================================
--- xmldiff-2.4.orig/setup.py
+++ xmldiff-2.4/setup.py
@@ -33,7 +33,7 @@ setup(
     packages=find_packages(exclude=["doc", "tests"]),
     include_package_data=True,
     zip_safe=False,
-    install_requires=["setuptools", "lxml>=3.1.0", "six",],
+    install_requires=["setuptools", "lxml>=3.1.0",],
     test_suite="tests",
     entry_points={
         "console_scripts": [

++++++ python-xmldiff-src-upgrades.patch ++++++
++++ 11544 lines (skipped)

Reply via email to