Package: beets / 2.2.0-3

Metadata

Package Version Patches format
beets 2.2.0-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
skip broken test | (download)

test/test_ui.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 skip test_command_line_option_relative_to_working_dir

Bug-Upstream: https://github.com/beetbox/beets/issues/2400

skip unreliable tests | (download)

test/test_library.py | 1 1 + 0 - 0 !
test/test_plugins.py | 2 2 + 0 - 0 !
2 files changed, 3 insertions(+)

 skip unreliable tests

Some tests sometimes fail (e.g. under autopkgtests)

test rsrc | (download)

beets/test/_common.py | 16 9 + 7 - 0 !
1 file changed, 9 insertions(+), 7 deletions(-)

 allow overriding the path to test resources

They aren't installed in the binary package.

2025 future | (download)

test/plugins/test_bucket.py | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 future proof bucketplugintest.test_year_single_year_last_folder

2025 won't be in the future, forever.

Fixes: https://bugs.debian.org/1091495
Bug-Debian: https://bugs.debian.org/1091495
fix ubuntu s390x | (download)

beetsplug/thumbnails.py | 2 1 + 1 - 0 !
test/plugins/test_thumbnails.py | 5 4 + 1 - 0 !
2 files changed, 5 insertions(+), 2 deletions(-)

 plugins/thumbnails: fix ffi with gio on s390x

Using the correct function signature for g_file_new_for_path fixes the
tests on s390x.
I do not have the full story on why this failed consistently only on
s390x, but I guess the big endian might have something to play with
this.

Here is how the tests were failing:
```
169s ___________________________ ThumbnailsTest.test_uri ____________________________
169s
169s self = <test.plugins.test_thumbnails.ThumbnailsTest testMethod=test_uri>
169s
169s     def test_uri(self):
169s         gio = GioURI()
169s         if not gio.available:
169s             self.skipTest("GIO library not found")
169s
169s >       assert gio.uri("/foo") == "file:///"  # silent fail
169s E       AssertionError: assert '' == 'file:///'
169s E
169s E         - file:///
169s
169s test/plugins/test_thumbnails.py:268: AssertionError
```
You can see a full log here [1] and a history of consistent failure
here [2]. Both links are bound to expire at some point, sorry future
archeologist .

[1]: https://autopkgtest.ubuntu.com/results/autopkgtest-plucky/plucky/s390x/b/beets/20250403_162414_5d1da@/log.gz#S5
[2]: https://autopkgtest.ubuntu.com/packages/beets/plucky/s390x