Hello community,

here is the log from the commit of package sacad for openSUSE:Factory checked 
in at 2020-08-03 14:17:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sacad (Old)
 and      /work/SRC/openSUSE:Factory/.sacad.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sacad"

Mon Aug  3 14:17:25 2020 rev:3 rq:823993 version:2.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/sacad/sacad.changes      2020-06-14 
18:35:47.190633210 +0200
+++ /work/SRC/openSUSE:Factory/.sacad.new.3592/sacad.changes    2020-08-03 
14:18:06.956663342 +0200
@@ -1,0 +2,6 @@
+Wed Jul 29 20:29:21 UTC 2020 - Martin Hauke <[email protected]>
+
+- Update to version 2.3.2
+  * Fix tests
+
+-------------------------------------------------------------------

Old:
----
  sacad-2.3.0.tar.gz

New:
----
  sacad-2.3.2.tar.gz

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

Other differences:
------------------
++++++ sacad.spec ++++++
--- /var/tmp/diff_new_pack.Ty3DWp/_old  2020-08-03 14:18:08.296664686 +0200
+++ /var/tmp/diff_new_pack.Ty3DWp/_new  2020-08-03 14:18:08.296664686 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           sacad
-Version:        2.3.0
+Version:        2.3.2
 Release:        0
 Summary:        Search and download music album covers
 License:        MPL-2.0

++++++ sacad-2.3.0.tar.gz -> sacad-2.3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sacad-2.3.0/sacad/__init__.py 
new/sacad-2.3.2/sacad/__init__.py
--- old/sacad-2.3.0/sacad/__init__.py   2020-06-08 01:13:37.000000000 +0200
+++ new/sacad-2.3.2/sacad/__init__.py   2020-07-25 13:44:37.000000000 +0200
@@ -2,7 +2,7 @@
 
 """ Smart Automatic Cover Art Downloader : search and download music album 
covers. """
 
-__version__ = "2.3.0"
+__version__ = "2.3.2"
 __author__ = "desbma"
 __license__ = "MPL 2.0"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sacad-2.3.0/sacad/recurse.py 
new/sacad-2.3.2/sacad/recurse.py
--- old/sacad-2.3.0/sacad/recurse.py    2020-06-08 01:13:37.000000000 +0200
+++ new/sacad-2.3.2/sacad/recurse.py    2020-07-25 13:44:37.000000000 +0200
@@ -12,7 +12,6 @@
 import logging
 import operator
 import os
-import resource
 import string
 import tempfile
 
@@ -429,12 +428,13 @@
 
   # bump nofile ulimit
   try:
+    import resource
     soft_lim, hard_lim = resource.getrlimit(resource.RLIMIT_NOFILE)
     if ((soft_lim != resource.RLIM_INFINITY) and
             ((soft_lim < hard_lim) or (hard_lim == resource.RLIM_INFINITY))):
       resource.setrlimit(resource.RLIMIT_NOFILE, (hard_lim, hard_lim))
       logging.getLogger().debug("Max open files count set from %u to %u" % 
(soft_lim, hard_lim))
-  except (AttributeError, OSError):
+  except (AttributeError, ImportError, OSError, ValueError):
     # not supported on system
     pass
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sacad-2.3.0/tests/__init__.py 
new/sacad-2.3.2/tests/__init__.py
--- old/sacad-2.3.0/tests/__init__.py   2020-06-08 01:13:37.000000000 +0200
+++ new/sacad-2.3.2/tests/__init__.py   2020-07-25 13:44:37.000000000 +0200
@@ -137,7 +137,7 @@
     self.assertFalse(sacad.CoverSourceResult.areImageSigsSimilar(img_sig[2], 
img_sig[1]))
 
     urls = 
("https://images-na.ssl-images-amazon.com/images/I/91euo%2BzpKEL._SL1500_.jpg";,
-            
"https://lastfm-img2.akamaized.net/i/u/300x300/c971ea7edb14ede6bab2f94666bb9005.png";)
+            
"https://lastfm.freetls.fastly.net/i/u/300x300/ae3c6b3e81cfd5f5fec71285955d63eb.png";)
     img_sig = {}
     for i, url in enumerate(urls):
       img_data = download(url)


Reply via email to