Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-exiv2 for openSUSE:Factory 
checked in at 2026-09-10 11:49:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-exiv2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-exiv2.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-exiv2"

Thu Sep 10 11:49:01 2026 rev:17 rq:1376804 version:0.19.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-exiv2/python-exiv2.changes        
2026-03-16 14:20:43.417742621 +0100
+++ /work/SRC/openSUSE:Factory/.python-exiv2.new.1265/python-exiv2.changes      
2026-09-10 11:52:02.456225313 +0200
@@ -1,0 +2,11 @@
+Thu Sep 10 04:31:32 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 0.19.2:
+  * XmpValueArray constructor checks typeId value.
+  * Add exiv2.XmpParser.encode() to Python interface.
+  * Fix crash when getting strings of malformed values.
+  * Python 3.15 compatibility.
+- Drop patch skip_network_tests.patch, a better version was merged.
+- Add patch support-32-bit-in-tests.patch, don't fail tests with 32 bit.
+
+-------------------------------------------------------------------

Old:
----
  0.18.1.tar.gz
  skip_network_tests.patch

New:
----
  0.19.2.tar.gz
  support-32-bit-in-tests.patch

----------(Old B)----------
  Old:  * Python 3.15 compatibility.
- Drop patch skip_network_tests.patch, a better version was merged.
- Add patch support-32-bit-in-tests.patch, don't fail tests with 32 bit.
----------(Old E)----------

----------(New B)----------
  New:- Drop patch skip_network_tests.patch, a better version was merged.
- Add patch support-32-bit-in-tests.patch, don't fail tests with 32 bit.
----------(New E)----------

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

Other differences:
------------------
++++++ python-exiv2.spec ++++++
--- /var/tmp/diff_new_pack.VqKCso/_old  2026-09-10 11:52:04.479310163 +0200
+++ /var/tmp/diff_new_pack.VqKCso/_new  2026-09-10 11:52:04.480310205 +0200
@@ -18,14 +18,14 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-exiv2
-Version:        0.18.1
+Version:        0.19.2
 Release:        0
 Summary:        Python3 bindings for the exiv2 library
 License:        GPL-3.0-only
 URL:            https://github.com/jim-easterbrook/python-exiv2
 Source:         
https://github.com/jim-easterbrook/python-exiv2/archive/refs/tags/%{version}.tar.gz
-# PATCH-FIX-UPSTREAM gh#jim-easterbrook/python-exiv2#63
-Patch0:         skip_network_tests.patch
+# PATCH-FIX-OPENSUSE Work around gh#jim-easterbrook/python-exiv2#73
+Patch0:         support-32-bit-in-tests.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
@@ -60,7 +60,6 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-export NONET=1
 %pyunittest_arch discover -v tests/
 
 %files %{python_files}

++++++ 0.18.1.tar.gz -> 0.19.2.tar.gz ++++++
++++ 399600 lines of diff (skipped)

++++++ support-32-bit-in-tests.patch ++++++
Index: python-exiv2-0.19.2/tests/test_value.py
===================================================================
--- python-exiv2-0.19.2.orig/tests/test_value.py
+++ python-exiv2-0.19.2/tests/test_value.py
@@ -430,6 +430,9 @@ class TestValueModule(unittest.TestCase)
         self.assertEqual(str(value), py_date.isoformat())
         value.setDate(py_date.year, py_date.month, py_date.day)
         self.assertEqual(str(value), py_date.isoformat())
+        if struct.calcsize("P") == 4:
+            # Skip the following tests on 32 bit arches
+            return None
         seconds = time.mktime(time.struct_time(
             (py_date.year, py_date.month, py_date.day, 0, 0, 0, 0, 0, 0)))
         self.do_common_tests(value, exiv2.TypeId.date, py_date.isoformat(), 
data)

Reply via email to