Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-easy-thumbnails for 
openSUSE:Factory checked in at 2023-01-14 00:03:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-easy-thumbnails (Old)
 and      /work/SRC/openSUSE:Factory/.python-easy-thumbnails.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-easy-thumbnails"

Sat Jan 14 00:03:11 2023 rev:5 rq:1058179 version:2.8.5

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-easy-thumbnails/python-easy-thumbnails.changes
    2023-01-04 20:18:38.961649169 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-easy-thumbnails.new.32243/python-easy-thumbnails.changes
 2023-01-14 00:04:01.441992690 +0100
@@ -1,0 +2,7 @@
+Fri Jan 13 09:50:12 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 2.8.5:
+  * Fix regression introduced in version 2.8.4. Argument ``quality`` is not
+    removed for images of type ``.webp``.
+
+-------------------------------------------------------------------

Old:
----
  easy-thumbnails-2.8.4.tar.gz

New:
----
  easy-thumbnails-2.8.5.tar.gz

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

Other differences:
------------------
++++++ python-easy-thumbnails.spec ++++++
--- /var/tmp/diff_new_pack.FbEKUA/_old  2023-01-14 00:04:02.025996091 +0100
+++ /var/tmp/diff_new_pack.FbEKUA/_new  2023-01-14 00:04:02.033996138 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-easy-thumbnails
-Version:        2.8.4
+Version:        2.8.5
 Release:        0
 Summary:        Easy thumbnails for Django
 License:        BSD-2-Clause

++++++ easy-thumbnails-2.8.4.tar.gz -> easy-thumbnails-2.8.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/easy-thumbnails-2.8.4/CHANGES.rst 
new/easy-thumbnails-2.8.5/CHANGES.rst
--- old/easy-thumbnails-2.8.4/CHANGES.rst       2022-12-19 14:17:20.000000000 
+0100
+++ new/easy-thumbnails-2.8.5/CHANGES.rst       2023-01-09 11:56:57.000000000 
+0100
@@ -1,6 +1,12 @@
 Changes
 =======
 
+2.8.5 (2023-01-09)
+------------------
+* Fix regression introduced in version 2.8.4. Argument ``quality`` is not 
removed for images
+  of type ``.webp``.
+
+
 2.8.4 (2022-12-19)
 ------------------
 * Fix problem when thumbnailing images of type TIFF. PIL's ``TiffImagePlugin`` 
doesn't
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/easy-thumbnails-2.8.4/PKG-INFO 
new/easy-thumbnails-2.8.5/PKG-INFO
--- old/easy-thumbnails-2.8.4/PKG-INFO  2022-12-19 14:17:32.885956300 +0100
+++ new/easy-thumbnails-2.8.5/PKG-INFO  2023-01-09 11:57:08.778035400 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: easy-thumbnails
-Version: 2.8.4
+Version: 2.8.5
 Summary: Easy thumbnails for Django
 Home-page: http://github.com/SmileyChris/easy-thumbnails
 Author: Chris Beaven
@@ -225,6 +225,12 @@
 Changes
 =======
 
+2.8.5 (2023-01-09)
+------------------
+* Fix regression introduced in version 2.8.4. Argument ``quality`` is not 
removed for images
+  of type ``.webp``.
+
+
 2.8.4 (2022-12-19)
 ------------------
 * Fix problem when thumbnailing images of type TIFF. PIL's ``TiffImagePlugin`` 
doesn't
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/easy-thumbnails-2.8.4/easy_thumbnails/__init__.py 
new/easy-thumbnails-2.8.5/easy_thumbnails/__init__.py
--- old/easy-thumbnails-2.8.4/easy_thumbnails/__init__.py       2022-12-19 
14:17:20.000000000 +0100
+++ new/easy-thumbnails-2.8.5/easy_thumbnails/__init__.py       2023-01-09 
11:56:57.000000000 +0100
@@ -1,8 +1,8 @@
-VERSION = (2, 8, 4, 'final', 0)
+VERSION = (2, 8, 5, 'final', 0)
 
 
 def get_version(*args, **kwargs):
     # Don't litter django/__init__.py with all the get_version stuff.
     # Only import if it's actually called.
-    from .get_version import get_version
+    from .version_utils import get_version
     return get_version(*args, **kwargs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/easy-thumbnails-2.8.4/easy_thumbnails/engine.py 
new/easy-thumbnails-2.8.5/easy_thumbnails/engine.py
--- old/easy-thumbnails-2.8.4/easy_thumbnails/engine.py 2022-12-19 
14:17:20.000000000 +0100
+++ new/easy-thumbnails-2.8.5/easy_thumbnails/engine.py 2023-01-09 
11:56:57.000000000 +0100
@@ -68,7 +68,7 @@
             # of pillow avoid the MAXBLOCK limitation.
             pass
     else:
-        if 'quality' in options:
+        if format != 'WEBP' and 'quality' in options:
             options.pop('quality')
     if not saved:
         image.save(destination, format=format, **options)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/easy-thumbnails-2.8.4/easy_thumbnails/get_version.py 
new/easy-thumbnails-2.8.5/easy_thumbnails/get_version.py
--- old/easy-thumbnails-2.8.4/easy_thumbnails/get_version.py    2022-12-19 
14:17:20.000000000 +0100
+++ new/easy-thumbnails-2.8.5/easy_thumbnails/get_version.py    1970-01-01 
01:00:00.000000000 +0100
@@ -1,56 +0,0 @@
-import datetime
-import os
-import subprocess
-
-
-def get_version(version=None):
-    "Returns a PEP 386-compliant version number from VERSION."
-    if version is None:
-        from easy_thumbnails import VERSION as version
-    else:
-        assert len(version) == 5
-        assert version[3] in ('alpha', 'beta', 'rc', 'final')
-
-    # Now build the two parts of the version number:
-    # main = X.Y[.Z]
-    # sub = .devN - for pre-alpha releases
-    #     | {a|b|c}N - for alpha, beta and rc releases
-
-    parts = 2 if version[2] == 0 else 3
-    main = '.'.join(str(x) for x in version[:parts])
-
-    sub = ''
-    if version[3] == 'post':
-        sub_v = version[4] or get_git_changeset()
-        sub = '.post%s' % sub_v
-
-    elif version[3] == 'alpha' and version[4] == 0:
-        git_changeset = get_git_changeset()
-        if git_changeset:
-            sub = '.dev%s' % git_changeset
-
-    elif version[3] != 'final':
-        mapping = {'alpha': '.a', 'beta': '.b', 'rc': '.rc'}
-        sub = mapping[version[3]] + str(version[4])
-
-    return str(main + sub)
-
-
-def get_git_changeset():
-    """Returns a numeric identifier of the latest git changeset.
-
-    The result is the UTC timestamp of the changeset in YYYYMMDDHHMMSS format.
-    This value isn't guaranteed to be unique, but collisions are very unlikely,
-    so it's sufficient for generating the development version numbers.
-    """
-    repo_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
-    git_log = subprocess.Popen(
-        'git log --pretty=format:%ct --quiet -1 HEAD',
-        stdout=subprocess.PIPE, stderr=subprocess.PIPE,
-        shell=True, cwd=repo_dir, universal_newlines=True)
-    timestamp = git_log.communicate()[0]
-    try:
-        timestamp = datetime.datetime.utcfromtimestamp(int(timestamp))
-    except ValueError:
-        return None
-    return timestamp.strftime('%Y%m%d%H%M%S')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/easy-thumbnails-2.8.4/easy_thumbnails/version_utils.py 
new/easy-thumbnails-2.8.5/easy_thumbnails/version_utils.py
--- old/easy-thumbnails-2.8.4/easy_thumbnails/version_utils.py  1970-01-01 
01:00:00.000000000 +0100
+++ new/easy-thumbnails-2.8.5/easy_thumbnails/version_utils.py  2023-01-09 
11:56:57.000000000 +0100
@@ -0,0 +1,56 @@
+import datetime
+import os
+import subprocess
+
+
+def get_version(version=None):
+    "Returns a PEP 386-compliant version number from VERSION."
+    if version is None:
+        from easy_thumbnails import VERSION as version
+    else:
+        assert len(version) == 5
+        assert version[3] in ('alpha', 'beta', 'rc', 'final')
+
+    # Now build the two parts of the version number:
+    # main = X.Y[.Z]
+    # sub = .devN - for pre-alpha releases
+    #     | {a|b|c}N - for alpha, beta and rc releases
+
+    parts = 2 if version[2] == 0 else 3
+    main = '.'.join(str(x) for x in version[:parts])
+
+    sub = ''
+    if version[3] == 'post':
+        sub_v = version[4] or get_git_changeset()
+        sub = '.post%s' % sub_v
+
+    elif version[3] == 'alpha' and version[4] == 0:
+        git_changeset = get_git_changeset()
+        if git_changeset:
+            sub = '.dev%s' % git_changeset
+
+    elif version[3] != 'final':
+        mapping = {'alpha': '.a', 'beta': '.b', 'rc': '.rc'}
+        sub = mapping[version[3]] + str(version[4])
+
+    return str(main + sub)
+
+
+def get_git_changeset():
+    """Returns a numeric identifier of the latest git changeset.
+
+    The result is the UTC timestamp of the changeset in YYYYMMDDHHMMSS format.
+    This value isn't guaranteed to be unique, but collisions are very unlikely,
+    so it's sufficient for generating the development version numbers.
+    """
+    repo_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+    git_log = subprocess.Popen(
+        'git log --pretty=format:%ct --quiet -1 HEAD',
+        stdout=subprocess.PIPE, stderr=subprocess.PIPE,
+        shell=True, cwd=repo_dir, universal_newlines=True)
+    timestamp = git_log.communicate()[0]
+    try:
+        timestamp = datetime.datetime.utcfromtimestamp(int(timestamp))
+    except ValueError:
+        return None
+    return timestamp.strftime('%Y%m%d%H%M%S')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/easy-thumbnails-2.8.4/easy_thumbnails.egg-info/PKG-INFO 
new/easy-thumbnails-2.8.5/easy_thumbnails.egg-info/PKG-INFO
--- old/easy-thumbnails-2.8.4/easy_thumbnails.egg-info/PKG-INFO 2022-12-19 
14:17:32.000000000 +0100
+++ new/easy-thumbnails-2.8.5/easy_thumbnails.egg-info/PKG-INFO 2023-01-09 
11:57:08.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: easy-thumbnails
-Version: 2.8.4
+Version: 2.8.5
 Summary: Easy thumbnails for Django
 Home-page: http://github.com/SmileyChris/easy-thumbnails
 Author: Chris Beaven
@@ -225,6 +225,12 @@
 Changes
 =======
 
+2.8.5 (2023-01-09)
+------------------
+* Fix regression introduced in version 2.8.4. Argument ``quality`` is not 
removed for images
+  of type ``.webp``.
+
+
 2.8.4 (2022-12-19)
 ------------------
 * Fix problem when thumbnailing images of type TIFF. PIL's ``TiffImagePlugin`` 
doesn't
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/easy-thumbnails-2.8.4/easy_thumbnails.egg-info/SOURCES.txt 
new/easy-thumbnails-2.8.5/easy_thumbnails.egg-info/SOURCES.txt
--- old/easy-thumbnails-2.8.4/easy_thumbnails.egg-info/SOURCES.txt      
2022-12-19 14:17:32.000000000 +0100
+++ new/easy-thumbnails-2.8.5/easy_thumbnails.egg-info/SOURCES.txt      
2023-01-09 11:57:08.000000000 +0100
@@ -26,7 +26,6 @@
 easy_thumbnails/exceptions.py
 easy_thumbnails/fields.py
 easy_thumbnails/files.py
-easy_thumbnails/get_version.py
 easy_thumbnails/models.py
 easy_thumbnails/namers.py
 easy_thumbnails/options.py
@@ -36,6 +35,7 @@
 easy_thumbnails/source_generators.py
 easy_thumbnails/storage.py
 easy_thumbnails/utils.py
+easy_thumbnails/version_utils.py
 easy_thumbnails/widgets.py
 easy_thumbnails.egg-info/PKG-INFO
 easy_thumbnails.egg-info/SOURCES.txt

Reply via email to