diff -Nru beets-1.4.9/debian/changelog beets-1.4.9/debian/changelog --- beets-1.4.9/debian/changelog 2020-07-10 23:11:12.000000000 +0000 +++ beets-1.4.9/debian/changelog 2020-08-12 18:28:00.000000000 +0000 @@ -1,3 +1,16 @@ +beets (1.4.9-7) unstable; urgency=medium + + * Bump Build-Depends on python3-mutagen, to help the migration autopkgtests. + + -- Stefano Rivera Wed, 12 Aug 2020 11:28:00 -0700 + +beets (1.4.9-6) unstable; urgency=medium + + * Patch: Compatibility with Werkzeug 1.0. (Closes: #967023) + * Patch: Compatibility with Mutagen 1.45 in tests. + + -- Stefano Rivera Tue, 04 Aug 2020 21:52:05 -0700 + beets (1.4.9-5) unstable; urgency=medium * Fix ast module usage, broken by python 3.8.4~rc1-1, causing FTBFS and diff -Nru beets-1.4.9/debian/control beets-1.4.9/debian/control --- beets-1.4.9/debian/control 2020-07-10 23:11:12.000000000 +0000 +++ beets-1.4.9/debian/control 2020-08-12 18:28:00.000000000 +0000 @@ -16,7 +16,7 @@ python3-mpd, python3-munkres, python3-musicbrainzngs, - python3-mutagen, + python3-mutagen (>= 1.45), python3-pylast, python3-rarfile, python3-responses, diff -Nru beets-1.4.9/debian/patches/mutagen-1.45 beets-1.4.9/debian/patches/mutagen-1.45 --- beets-1.4.9/debian/patches/mutagen-1.45 1970-01-01 00:00:00.000000000 +0000 +++ beets-1.4.9/debian/patches/mutagen-1.45 2020-08-12 18:28:00.000000000 +0000 @@ -0,0 +1,27 @@ +From: Stefano Rivera +Date: Tue, 4 Aug 2020 21:44:56 -0700 +Subject: Don't test for WavPack bit-depth of 0 + +mutagen 1.45 will return the correct value of 16 + +Origin: upstream, https://github.com/beetbox/mediafile/commit/d2fc3b59f77c515b02dfe7ad936f89264375d2b4 +Bug-Upstream: https://github.com/beetbox/mediafile/issues/34 +Author: Adrian Sampson +Bug-Debian: https://bugs.debian.org/967023 +--- + test/test_mediafile.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/test_mediafile.py b/test/test_mediafile.py +index 8668780..8028a4f 100644 +--- a/test/test_mediafile.py ++++ b/test/test_mediafile.py +@@ -888,7 +888,7 @@ class WavpackTest(ReadWriteTestBase, unittest.TestCase): + 'bitrate': 109312, + 'format': u'WavPack', + 'samplerate': 44100, +- 'bitdepth': 0, ++ 'bitdepth': 16, + 'channels': 1, + } + diff -Nru beets-1.4.9/debian/patches/series beets-1.4.9/debian/patches/series --- beets-1.4.9/debian/patches/series 2020-07-10 23:11:12.000000000 +0000 +++ beets-1.4.9/debian/patches/series 2020-08-12 18:28:00.000000000 +0000 @@ -4,3 +4,5 @@ skip-buildd-failures mutagen-1.43 python-3.8-ast +werkzeug-1.0 +mutagen-1.45 diff -Nru beets-1.4.9/debian/patches/werkzeug-1.0 beets-1.4.9/debian/patches/werkzeug-1.0 --- beets-1.4.9/debian/patches/werkzeug-1.0 1970-01-01 00:00:00.000000000 +0000 +++ beets-1.4.9/debian/patches/werkzeug-1.0 2020-08-12 18:28:00.000000000 +0000 @@ -0,0 +1,24 @@ +From: Stefano Rivera +Date: Tue, 4 Aug 2020 21:34:27 -0700 +Subject: Compatibility with Werkzeug 1.0 + +Origin: upstream, https://github.com/beetbox/beets/commit/d43d54e21cde97f57f19486925ab56b419254cc8 +Author: Adrian Sampson +Bug-Debian: https://bugs.debian.org/967023 +--- + beetsplug/web/__init__.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/beetsplug/web/__init__.py b/beetsplug/web/__init__.py +index f53fb3a..21ff5d9 100644 +--- a/beetsplug/web/__init__.py ++++ b/beetsplug/web/__init__.py +@@ -169,7 +169,7 @@ class IdListConverter(BaseConverter): + return ids + + def to_url(self, value): +- return ','.join(value) ++ return ','.join(str(v) for v in value) + + + class QueryConverter(PathConverter):