Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-audioread for
openSUSE:Factory checked in at 2021-03-10 08:56:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-audioread (Old)
and /work/SRC/openSUSE:Factory/.python-audioread.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-audioread"
Wed Mar 10 08:56:54 2021 rev:7 rq:877828 version:2.1.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-audioread/python-audioread.changes
2019-07-31 14:36:43.901854998 +0200
+++
/work/SRC/openSUSE:Factory/.python-audioread.new.2378/python-audioread.changes
2021-03-10 08:58:28.626964652 +0100
@@ -1,0 +2,6 @@
+Mon Mar 8 22:34:21 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 2.1.9:
+ * Work correctly with GStreamer 1.18 and later (thanks to @ssssam)
+
+-------------------------------------------------------------------
Old:
----
v2.1.8.tar.gz
New:
----
v2.1.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-audioread.spec ++++++
--- /var/tmp/diff_new_pack.18S9zN/_old 2021-03-10 08:58:29.142965184 +0100
+++ /var/tmp/diff_new_pack.18S9zN/_new 2021-03-10 08:58:29.146965189 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-audioread
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-audioread
-Version: 2.1.8
+Version: 2.1.9
Release: 0
Summary: Wrapper for audio decoding via selectable backends
License: MIT
Group: Development/Languages/Python
-Url: https://github.com/sampsyo/audioread
+URL: https://github.com/sampsyo/audioread
Source0: https://github.com/beetbox/audioread/archive/v%{version}.tar.gz
BuildRequires: %{python_module base}
BuildRequires: %{python_module pytest-runner}
++++++ v2.1.8.tar.gz -> v2.1.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/audioread-2.1.8/.travis.yml
new/audioread-2.1.9/.travis.yml
--- old/audioread-2.1.8/.travis.yml 2019-05-18 04:33:08.000000000 +0200
+++ new/audioread-2.1.9/.travis.yml 2020-10-20 13:22:05.000000000 +0200
@@ -1,5 +1,7 @@
language: python
-
+arch:
+ - ppc64le
+ - amd64
python:
- "2.7"
- "3.6"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/audioread-2.1.8/MANIFEST.in
new/audioread-2.1.9/MANIFEST.in
--- old/audioread-2.1.8/MANIFEST.in 2019-05-18 04:33:08.000000000 +0200
+++ new/audioread-2.1.9/MANIFEST.in 2020-10-20 13:22:05.000000000 +0200
@@ -4,3 +4,5 @@
include decode.py
# License
include LICENSE
+# Include full test suite
+recursive-include test/ *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/audioread-2.1.8/README.rst
new/audioread-2.1.9/README.rst
--- old/audioread-2.1.8/README.rst 2019-05-18 04:33:08.000000000 +0200
+++ new/audioread-2.1.9/README.rst 2020-10-20 13:22:05.000000000 +0200
@@ -70,6 +70,9 @@
Version History
---------------
+2.1.9
+ Work correctly with GStreamer 1.18 and later (thanks to @ssssam)
+
2.1.8
Fix an unhandled ``OSError`` when FFmpeg is not installed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/audioread-2.1.8/audioread/ffdec.py
new/audioread-2.1.9/audioread/ffdec.py
--- old/audioread-2.1.8/audioread/ffdec.py 2019-05-18 04:33:08.000000000
+0200
+++ new/audioread-2.1.9/audioread/ffdec.py 2020-10-20 13:22:05.000000000
+0200
@@ -202,7 +202,7 @@
# Nothing interesting has happened for a while --
# FFmpeg is probably hanging.
raise ReadTimeoutError('ffmpeg output: {}'.format(
- ''.join(self.stderr_reader.queue.queue)
+ b''.join(self.stderr_reader.queue.queue)
))
else:
start_time = end_time
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/audioread-2.1.8/audioread/gstdec.py
new/audioread-2.1.9/audioread/gstdec.py
--- old/audioread-2.1.8/audioread/gstdec.py 2019-05-18 04:33:08.000000000
+0200
+++ new/audioread-2.1.9/audioread/gstdec.py 2020-10-20 13:22:05.000000000
+0200
@@ -321,7 +321,14 @@
mem = buf.get_all_memory()
success, info = mem.map(Gst.MapFlags.READ)
if success:
- data = info.data
+ if isinstance(info.data, memoryview):
+ # We need to copy the data as the memoryview is released
+ # when we call mem.unmap()
+ data = bytes(info.data)
+ else:
+ # GStreamer Python bindings <= 1.16 return a copy of the
+ # data as bytes()
+ data = info.data
mem.unmap(info)
self.queue.put(data)
else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/audioread-2.1.8/audioread/rawread.py
new/audioread-2.1.9/audioread/rawread.py
--- old/audioread-2.1.8/audioread/rawread.py 2019-05-18 04:33:08.000000000
+0200
+++ new/audioread-2.1.9/audioread/rawread.py 2020-10-20 13:22:05.000000000
+0200
@@ -41,7 +41,7 @@
def byteswap(s):
- """Swaps the endianness of the bytesting s, which must be an array
+ """Swaps the endianness of the bytestring s, which must be an array
of shorts (16-bit signed integers). This is probably less efficient
than it should be.
"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/audioread-2.1.8/audioread/version.py
new/audioread-2.1.9/audioread/version.py
--- old/audioread-2.1.8/audioread/version.py 2019-05-18 04:33:08.000000000
+0200
+++ new/audioread-2.1.9/audioread/version.py 2020-10-20 13:22:05.000000000
+0200
@@ -14,5 +14,5 @@
"""Version data for the audioread package."""
-version = '2.1.8'
+version = '2.1.9'
short_version = '2.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/audioread-2.1.8/setup.py new/audioread-2.1.9/setup.py
--- old/audioread-2.1.8/setup.py 2019-05-18 04:33:08.000000000 +0200
+++ new/audioread-2.1.9/setup.py 2020-10-20 13:22:05.000000000 +0200
@@ -36,11 +36,8 @@
packages=['audioread'],
- setup_requires=[
- 'pytest-runner'
- ],
-
tests_require=[
+ 'pytest-runner',
'pytest'
],