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 2023-12-08 22:31:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-audioread (Old) and /work/SRC/openSUSE:Factory/.python-audioread.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-audioread" Fri Dec 8 22:31:48 2023 rev:10 rq:1131695 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-audioread/python-audioread.changes 2022-09-25 15:35:09.695602487 +0200 +++ /work/SRC/openSUSE:Factory/.python-audioread.new.25432/python-audioread.changes 2023-12-08 22:31:59.767873380 +0100 @@ -1,0 +2,7 @@ +Thu Dec 7 20:53:21 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 3.0.1: + * Fix a possible deadlock when FFmpeg's version output produces too + much data. + +------------------------------------------------------------------- Old: ---- v3.0.0.tar.gz New: ---- v3.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-audioread.spec ++++++ --- /var/tmp/diff_new_pack.wxqA7t/_old 2023-12-08 22:32:00.279892220 +0100 +++ /var/tmp/diff_new_pack.wxqA7t/_new 2023-12-08 22:32:00.279892220 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-audioread # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-audioread -Version: 3.0.0 +Version: 3.0.1 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/beetbox/audioread Source0: https://github.com/beetbox/audioread/archive/v%{version}.tar.gz BuildRequires: %{python_module base} +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: ffmpeg BuildRequires: python-rpm-macros @@ -51,14 +53,12 @@ %prep %setup -q -n audioread-%{version} -# https://github.com/beetbox/audioread/issues/118 -sed -i 's:pytest-runner::' setup.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %check %pytest ++++++ v3.0.0.tar.gz -> v3.0.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/audioread-3.0.0/.github/workflows/main.yml new/audioread-3.0.1/.github/workflows/main.yml --- old/audioread-3.0.0/.github/workflows/main.yml 2022-08-12 22:23:20.000000000 +0200 +++ new/audioread-3.0.1/.github/workflows/main.yml 2023-08-17 19:52:43.000000000 +0200 @@ -8,7 +8,7 @@ runs-on: ubuntu-latest strategy: matrix: - python: ["3.6", "3.7", "3.8", "3.9"] + python: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/audioread-3.0.0/.gitignore new/audioread-3.0.1/.gitignore --- old/audioread-3.0.0/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/audioread-3.0.1/.gitignore 2023-08-17 19:52:43.000000000 +0200 @@ -0,0 +1 @@ +dist/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/audioread-3.0.0/MANIFEST.in new/audioread-3.0.1/MANIFEST.in --- old/audioread-3.0.0/MANIFEST.in 2022-08-12 22:23:20.000000000 +0200 +++ new/audioread-3.0.1/MANIFEST.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ -# Documentation. -include README.rst -# Example script. -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-3.0.0/README.rst new/audioread-3.0.1/README.rst --- old/audioread-3.0.0/README.rst 2022-08-12 22:23:20.000000000 +0200 +++ new/audioread-3.0.1/README.rst 2023-08-17 19:52:43.000000000 +0200 @@ -1,9 +1,6 @@ audioread ========= -.. image:: https://secure.travis-ci.org/beetbox/audioread.png - :target: https://travis-ci.org/beetbox/audioread/ - Decode audio files using whichever backend is available. The library currently supports: @@ -58,7 +55,7 @@ ``available_backends`` function to get a list backends that are usable on the current system. -Audioread supports Python 3 (3.6+). +Audioread supports Python 3 (3.8+). Example ------- @@ -66,9 +63,22 @@ The included ``decode.py`` script demonstrates using this package to convert compressed audio files to WAV files. +Troubleshooting +--------------- + +A ``NoBackendError`` exception means that the library could not find one of +the libraries or tools it needs to decode audio. This could mean, for example, +that you have a broken installation of `FFmpeg`_. To check, try typing +``ffmpeg -version`` in your shell. If that gives you an error, try installing +FFmpeg with your OS's package manager (e.g., apt or yum) or `using Conda +<https://anaconda.org/conda-forge/ffmpeg>`_. + Version History --------------- +3.0.1 + Fix a possible deadlock when FFmpeg's version output produces too much data. + 3.0.0 Drop support for Python 2 and older versions of Python 3. The library now requires Python 3.6+. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/audioread-3.0.0/audioread/__init__.py new/audioread-3.0.1/audioread/__init__.py --- old/audioread-3.0.0/audioread/__init__.py 2022-08-12 22:23:20.000000000 +0200 +++ new/audioread-3.0.1/audioread/__init__.py 2023-08-17 19:52:43.000000000 +0200 @@ -12,7 +12,7 @@ # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. -"""Decode audio files.""" +"""Multi-library, cross-platform audio decoding.""" from . import ffdec from .exceptions import DecodeError, NoBackendError diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/audioread-3.0.0/audioread/ffdec.py new/audioread-3.0.1/audioread/ffdec.py --- old/audioread-3.0.0/audioread/ffdec.py 2022-08-12 22:23:20.000000000 +0200 +++ new/audioread-3.0.1/audioread/ffdec.py 2023-08-17 19:52:43.000000000 +0200 @@ -110,7 +110,7 @@ except OSError: return False else: - proc.wait() + proc.communicate() return proc.returncode == 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/audioread-3.0.0/audioread/version.py new/audioread-3.0.1/audioread/version.py --- old/audioread-3.0.0/audioread/version.py 2022-08-12 22:23:20.000000000 +0200 +++ new/audioread-3.0.1/audioread/version.py 2023-08-17 19:52:43.000000000 +0200 @@ -14,5 +14,5 @@ """Version data for the audioread package.""" -version = '3.0.0' +version = '3.0.1' short_version = '3.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/audioread-3.0.0/pyproject.toml new/audioread-3.0.1/pyproject.toml --- old/audioread-3.0.0/pyproject.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/audioread-3.0.1/pyproject.toml 2023-08-17 19:52:43.000000000 +0200 @@ -0,0 +1,27 @@ +[build-system] +requires = ["flit_core >=3.2,<4"] +build-backend = "flit_core.buildapi" + +[project] +name = "audioread" +authors = [ + {name = "Adrian Sampson", email = "adr...@radbox.org"} +] +readme = "README.rst" +requires-python = ">=3.6" +dynamic = ["version", "description"] +urls.Home = "https://github.com/beetbox/audioread" +classifiers = [ + 'Topic :: Multimedia :: Sound/Audio :: Conversion', + 'Intended Audience :: Developers', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', +] + +[project.optional-dependencies] +test = [ + "tox" +] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/audioread-3.0.0/setup.py new/audioread-3.0.1/setup.py --- old/audioread-3.0.0/setup.py 2022-08-12 22:23:20.000000000 +0200 +++ new/audioread-3.0.1/setup.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,50 +0,0 @@ -# This file is part of audioread. -# Copyright 2013, Adrian Sampson. -# -# Permission is hereby granted, free of charge, to any person obtaining -# a copy of this software and associated documentation files (the -# "Software"), to deal in the Software without restriction, including -# without limitation the rights to use, copy, modify, merge, publish, -# distribute, sublicense, and/or sell copies of the Software, and to -# permit persons to whom the Software is furnished to do so, subject to -# the following conditions: -# -# The above copyright notice and this permission notice shall be -# included in all copies or substantial portions of the Software. - -import os -from setuptools import setup -import imp - -version = imp.load_source('audioread.version', 'audioread/version.py') - - -def _read(fn): - path = os.path.join(os.path.dirname(__file__), fn) - return open(path).read() - - -setup(name='audioread', - version=version.version, - description='multi-library, cross-platform audio decoding', - author='Adrian Sampson', - author_email='adr...@radbox.org', - url='https://github.com/sampsyo/audioread', - license='MIT', - platforms='ALL', - long_description=_read('README.rst'), - - packages=['audioread'], - - classifiers=[ - 'Topic :: Multimedia :: Sound/Audio :: Conversion', - 'Intended Audience :: Developers', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - ], - python_requires='>=3.6', -) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/audioread-3.0.0/tox.ini new/audioread-3.0.1/tox.ini --- old/audioread-3.0.0/tox.ini 2022-08-12 22:23:20.000000000 +0200 +++ new/audioread-3.0.1/tox.ini 2023-08-17 19:52:43.000000000 +0200 @@ -1,5 +1,6 @@ [tox] envlist = py36,py37,py38,py39,py310 +isolated_build = True [testenv] deps = pytest