Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyssim for openSUSE:Factory checked in at 2026-04-28 11:56:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyssim (Old) and /work/SRC/openSUSE:Factory/.python-pyssim.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyssim" Tue Apr 28 11:56:24 2026 rev:7 rq:1349446 version:0.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyssim/python-pyssim.changes 2025-02-06 22:09:07.171250503 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyssim.new.11940/python-pyssim.changes 2026-04-28 12:00:18.695342799 +0200 @@ -1,0 +2,10 @@ +Sun Apr 26 21:56:05 UTC 2026 - Dirk Müller <[email protected]> + +- update to 0.7.1: + * Fix compatibility with new version of scipy. + * Update supported python versions to 3.9 through 3.13. +- Drop obsolete patches: + * Pillow-imports.patch + * use-pywavelets.patch + +------------------------------------------------------------------- Old: ---- Pillow-imports.patch pyssim-0.7.tar.gz use-pywavelets.patch New: ---- pyssim-0.7.1.tar.gz ----------(Old B)---------- Old:- Drop obsolete patches: * Pillow-imports.patch * use-pywavelets.patch Old: * Pillow-imports.patch * use-pywavelets.patch ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyssim.spec ++++++ --- /var/tmp/diff_new_pack.HZgK2b/_old 2026-04-28 12:00:19.503376742 +0200 +++ /var/tmp/diff_new_pack.HZgK2b/_new 2026-04-28 12:00:19.507376910 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyssim # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,12 @@ Name: python-pyssim -Version: 0.7 +Version: 0.7.1 Release: 0 Summary: Structured Similarity Image Metric (SSIM) License: MIT URL: https://github.com/jterrace/pyssim Source: https://files.pythonhosted.org/packages/source/p/pyssim/pyssim-%{version}.tar.gz -Patch0: Pillow-imports.patch -# PATCH-FIX-UPSTREAM Use PyWavelets rather than scipy.signal gh#jterrace/pyssim#49 -Patch1: use-pywavelets.patch BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} ++++++ pyssim-0.7.tar.gz -> pyssim-0.7.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyssim-0.7/CHANGES.md new/pyssim-0.7.1/CHANGES.md --- old/pyssim-0.7/CHANGES.md 2023-10-21 18:20:08.000000000 +0200 +++ new/pyssim-0.7.1/CHANGES.md 2025-04-12 19:18:52.000000000 +0200 @@ -1,5 +1,10 @@ # Changelog +## 0.7.1 + +* Fix compatibility with new version of scipy. +* Update supported python versions to 3.9 through 3.13. + ## 0.7 * Drop Python 3.7 support. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyssim-0.7/PKG-INFO new/pyssim-0.7.1/PKG-INFO --- old/pyssim-0.7/PKG-INFO 2023-10-21 18:53:54.042653000 +0200 +++ new/pyssim-0.7.1/PKG-INFO 2025-04-12 19:22:18.395251800 +0200 @@ -1,11 +1,11 @@ -Metadata-Version: 2.1 -Name: pyssim -Version: 0.7 -Summary: Module for computing Structured Similarity Image Metric (SSIM) in Python -Home-page: https://github.com/jterrace/pyssim -Author: Antoine Vacavant, Christopher Godfrey, Jeff Terrace -Author-email: [email protected] -License: MIT License -Platform: any -License-File: LICENSE.md -License-File: AUTHORS.md +Metadata-Version: 2.1 +Name: pyssim +Version: 0.7.1 +Summary: Module for computing Structured Similarity Image Metric (SSIM) in Python +Home-page: https://github.com/jterrace/pyssim +Author: Antoine Vacavant, Christopher Godfrey, Jeff Terrace +Author-email: [email protected] +License: MIT License +Platform: any +License-File: LICENSE.md +License-File: AUTHORS.md diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyssim-0.7/README.md new/pyssim-0.7.1/README.md --- old/pyssim-0.7/README.md 2023-10-21 18:16:41.000000000 +0200 +++ new/pyssim-0.7.1/README.md 2025-04-12 19:17:34.000000000 +0200 @@ -32,8 +32,7 @@ ## Compatibility -pyssim is known to work with Python 2.7, 3.4 and 3.5 and we test these versions -on Travis CI to make sure they keep working. +pyssim is known to work with Python 3.9 to 3.13. ## Development diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyssim-0.7/pyssim.egg-info/PKG-INFO new/pyssim-0.7.1/pyssim.egg-info/PKG-INFO --- old/pyssim-0.7/pyssim.egg-info/PKG-INFO 2023-10-21 18:53:53.000000000 +0200 +++ new/pyssim-0.7.1/pyssim.egg-info/PKG-INFO 2025-04-12 19:22:18.000000000 +0200 @@ -1,11 +1,11 @@ -Metadata-Version: 2.1 -Name: pyssim -Version: 0.7 -Summary: Module for computing Structured Similarity Image Metric (SSIM) in Python -Home-page: https://github.com/jterrace/pyssim -Author: Antoine Vacavant, Christopher Godfrey, Jeff Terrace -Author-email: [email protected] -License: MIT License -Platform: any -License-File: LICENSE.md -License-File: AUTHORS.md +Metadata-Version: 2.1 +Name: pyssim +Version: 0.7.1 +Summary: Module for computing Structured Similarity Image Metric (SSIM) in Python +Home-page: https://github.com/jterrace/pyssim +Author: Antoine Vacavant, Christopher Godfrey, Jeff Terrace +Author-email: [email protected] +License: MIT License +Platform: any +License-File: LICENSE.md +License-File: AUTHORS.md diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyssim-0.7/pyssim.egg-info/requires.txt new/pyssim-0.7.1/pyssim.egg-info/requires.txt --- old/pyssim-0.7/pyssim.egg-info/requires.txt 2023-10-21 18:53:53.000000000 +0200 +++ new/pyssim-0.7.1/pyssim.egg-info/requires.txt 2025-04-12 19:22:18.000000000 +0200 @@ -1,3 +1,4 @@ +PyWavelets numpy pillow scipy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyssim-0.7/setup.cfg new/pyssim-0.7.1/setup.cfg --- old/pyssim-0.7/setup.cfg 2023-10-21 18:53:54.042653000 +0200 +++ new/pyssim-0.7.1/setup.cfg 2025-04-12 19:22:18.395251800 +0200 @@ -1,7 +1,7 @@ -[wheel] -universal = True - -[egg_info] -tag_build = -tag_date = 0 - +[wheel] +universal = True + +[egg_info] +tag_build = +tag_date = 0 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyssim-0.7/setup.py new/pyssim-0.7.1/setup.py --- old/pyssim-0.7/setup.py 2023-10-21 18:47:51.000000000 +0200 +++ new/pyssim-0.7.1/setup.py 2025-04-12 19:19:15.000000000 +0200 @@ -5,14 +5,14 @@ setup( name='pyssim', - version='0.7', + version='0.7.1', description=('Module for computing Structured Similarity Image Metric ' '(SSIM) in Python'), author='Antoine Vacavant, Christopher Godfrey, Jeff Terrace', author_email='[email protected]', platforms=['any'], license='MIT License', - install_requires=['numpy', 'pillow', 'scipy'], + install_requires=['numpy', 'pillow', 'scipy', 'PyWavelets'], url='https://github.com/jterrace/pyssim', entry_points={ 'console_scripts': [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyssim-0.7/ssim/ssimlib.py new/pyssim-0.7.1/ssim/ssimlib.py --- old/pyssim-0.7/ssim/ssimlib.py 2023-10-21 18:16:41.000000000 +0200 +++ new/pyssim-0.7.1/ssim/ssimlib.py 2025-03-29 15:18:05.000000000 +0100 @@ -7,7 +7,7 @@ import sys import numpy as np -from scipy import signal +import pywt from ssim import compat from ssim.compat import Image, ImageOps @@ -168,8 +168,8 @@ sig2 = np.asarray(target.img_gray.getdata()) # Convolution - cwtmatr1 = signal.cwt(sig1, signal.ricker, widths) - cwtmatr2 = signal.cwt(sig2, signal.ricker, widths) + cwtmatr1, freqs1 = pywt.cwt(sig1, widths, 'mexh') + cwtmatr2, freqs2 = pywt.cwt(sig2, widths, 'mexh') # Compute the first term c1c2 = np.multiply(abs(cwtmatr1), abs(cwtmatr2))
