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 2024-11-28 22:43:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-exiv2 (Old) and /work/SRC/openSUSE:Factory/.python-exiv2.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-exiv2" Thu Nov 28 22:43:24 2024 rev:11 rq:1227179 version:0.17.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-exiv2/python-exiv2.changes 2023-10-12 23:43:07.355098645 +0200 +++ /work/SRC/openSUSE:Factory/.python-exiv2.new.28523/python-exiv2.changes 2024-11-28 22:44:02.313181423 +0100 @@ -1,0 +2,51 @@ +Mon Nov 25 23:34:32 UTC 2024 - Matej Cepl <mc...@cepl.eu> + +- Fix building +- Enable tests +- Add skip_network_tests.patch to mark network-requiring tests + and skip them + +------------------------------------------------------------------- +Sun Nov 24 09:33:03 UTC 2024 - Joshua Smith <smolsh...@opensuse.org> + +- Update to 0.17.1: + * Update README and INSTALL docs + * Allow linux libdir name to be 'lib64' or 'lib' + * Test localised exception with non-ASCII characters +- Updates from 0.17.0: + * API change: derived classes of BasicIo are omitted from Python. + * enableBMFF() function is deprecated. + * Documentation is available on + https://python-exiv2.readthedocs.io/ +- Updates from 0.16.2: + * Removed AnyError alias of Exiv2Error exception. + * Metadatum.print() method is no longer renamed to _print. + * Improved handling of enums: + * Enum results are returned as Python enum instead of int. + * Passing ints as enum parameters is deprecated. + * Added dict-like behaviour to "data" structs. + * Log handlers can be set/cleared from Python. + * SWIG v4.1.0 or later required to run SWIG. +- Updates from 0.16.0: + * Include native language support in Windows binary wheel builds. + * API change: DateValue.getDate() returns Python dict. + * API change: TimeValue.getTime() returns Python dict. + * Deprecated: exiv2.Date and exiv2.Time objects. + * Added buffer interface to PreviewImage + * Set datum value from Python object directly instead of via + string. + * Moved Position enum to BasicIo class. + * Moved CharsetId enum to CommentValue class. + * Moved XmpArrayType and XmpStruct enums to XmpValue class. + * Added enums for LogMsg.Level + * More exiv2 structs are iterable for easy conversion to Python + dict. +- Updates from 0.15.0: + * Added __version_tuple__ for easy runtime version testing. + * exiv2.testVersion() can be called from Python. + * exiv2.DataBuf can be created from Python data. + * Most data() methods return a Python memoryview. + * exiv2.DataBuf and exiv2.BasicIo have writeable Python buffer + interface. + +------------------------------------------------------------------- Old: ---- 0.14.1.tar.gz New: ---- 0.17.1.tar.gz skip_network_tests.patch BETA DEBUG BEGIN: New:- Enable tests - Add skip_network_tests.patch to mark network-requiring tests and skip them BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-exiv2.spec ++++++ --- /var/tmp/diff_new_pack.mKz1SK/_old 2024-11-28 22:44:02.785201083 +0100 +++ /var/tmp/diff_new_pack.mKz1SK/_new 2024-11-28 22:44:02.789201250 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-exiv2 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,22 @@ # +%{?sle15_python_module_pythons} Name: python-exiv2 -Version: 0.14.1 +Version: 0.17.1 Release: 0 Summary: Python3 bindings for the exiv2 library License: GPL-3.0-only Group: Development/Languages/Python -URL: https://launchpad.net/py3exiv2 +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 skip_network_tests.patch bsc#[0-9]+ mc...@suse.com +# this patch makes things totally awesome +Patch0: skip_network_tests.patch BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libboost_python3-devel @@ -48,12 +54,16 @@ %autosetup -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%check +export NONET=1 +%pyunittest_arch discover -v tests/ + %files %{python_files} %{python_sitearch}/exiv2 %{python_sitearch}/exiv2-%{version}*-info ++++++ 0.14.1.tar.gz -> 0.17.1.tar.gz ++++++ ++++ 799346 lines of diff (skipped) ++++++ skip_network_tests.patch ++++++ --- tests/test_basicio.py | 1 + 1 file changed, 1 insertion(+) --- a/tests/test_basicio.py +++ b/tests/test_basicio.py @@ -33,6 +33,7 @@ class TestBasicIoModule(unittest.TestCas cls.image_path = os.path.join(test_dir, 'image_02.jpg') cls.data = b'The quick brown fox jumps over the lazy dog' + @unittest.skipIf('NONET' in os.environ, 'Requires network access') @unittest.skipUnless(exiv2.versionInfo()['EXV_USE_CURL'], 'CurlIo not included') def test_CurlIo(self):