-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_embedart.py
: EmbedartCliTest.test_accept_similar_art
fails
#4836
Comments
Reported here: beetbox/beets#4836
This was introduced by an imagemagick update (NixOS/nixpkgs#240476 NixOS/nixpkgs@e033449). git bisect log# bad: [4bc72cae107788bf3f24f30db2e2f685c9298dc9] Merge pull request #240491 from r-ryantm/auto-update/gcompris # good: [50cd94e6230b7b7e2b8e7ba2be17f2931a6c82e7] Merge pull request #240428 from r-ryantm/auto-update/hcloud git bisect start 'nixos-unstable' 'nixos-unstable~100' # good: [13ab4547dc02e63589607c5cf1d3e2b18b0f5b64] Merge pull request #240384 from hraban/sbcl/2.3.6 git bisect good 13ab4547dc02e63589607c5cf1d3e2b18b0f5b64 # good: [3dadeec9a92e005ee4d0e5bbea725c250819ccaa] Merge pull request #240487 from chvp/upd/hookshot git bisect good 3dadeec9a92e005ee4d0e5bbea725c250819ccaa # bad: [aecd4e5de22dedd36c7d1544affe1e4d92d9610c] Merge pull request #240461 from aaronjheng/credential-detector git bisect bad aecd4e5de22dedd36c7d1544affe1e4d92d9610c # bad: [2d355cacaeb36af1258554496fec354f225c15a7] Merge pull request #240218 from NixOS/pr/mplhep_init git bisect bad 2d355cacaeb36af1258554496fec354f225c15a7 # good: [3791e8908eca998d9ccb805f9b473e740e4ab14e] Merge pull request #240482 from natsukium/fzf-fish/update git bisect good 3791e8908eca998d9ccb805f9b473e740e4ab14e # good: [81bdbd2525a52200af0540eb3ca01d0dd73ef120] Merge pull request #240225 from leona-ya/paperless-1-16-5 git bisect good 81bdbd2525a52200af0540eb3ca01d0dd73ef120 # good: [560a07f5070b390103fbb3eb8ae12ed1b2955bf8] python310Packages.mplhep: init at 0.3.28 git bisect good 560a07f5070b390103fbb3eb8ae12ed1b2955bf8 # bad: [0431f99716658d09864cf1b6dac7ba23a6ddfc27] Merge pull request #240476 from dotlambda/imagemagick-7.1.1-12 git bisect bad 0431f99716658d09864cf1b6dac7ba23a6ddfc27 # bad: [e0334495f78fd862cbb6985b25b41dd197bb462c] imagemagick: 7.1.1-11 -> 7.1.1-12 git bisect bad e0334495f78fd862cbb6985b25b41dd197bb462c # first bad commit: [e0334495f78fd862cbb6985b25b41dd197bb462c] imagemagick: 7.1.1-11 -> 7.1.1-12 |
Reported here: beetbox/beets#4836
Reported here: beetbox/beets#4836 (cherry picked from commit 04ae8ff)
Thanks for the detailed report! At a glance, it seems like the problem is that ImageMagick (i.e., If so, doing some debugging in the |
Yep. It looks like this is a problem with ImageMagick. I ran the comparison done by beets ( ImageMagick 7.1.1-12 Q16-HDRI x86_64 b3f8ed7a7:20230625 https://imagemagick.org ImageMagick 7.1.1-11 Q16-HDRI x86_64 f04a7eb33:20230528 https://imagemagick.org |
I have bisected this behavior in ImageMagick:
The offending commit: commit f45cb56383bda833708f08d6f8a580c833ffd1c9
Author: Cristy <[email protected]>
Date: Mon May 29 17:32:01 2023 -0400
default colorspaces are xyY and HSB
diff --git a/MagickCore/statistic.c b/MagickCore/statistic.c
index 29f5e99b5..13b1592dc 100644
--- a/MagickCore/statistic.c
+++ b/MagickCore/statistic.c
@@ -1752,7 +1752,7 @@ MagickExport ChannelPerceptualHash *GetImagePerceptualHash(const Image *image,
if (artifact != NULL)
colorspaces=AcquireString(artifact);
else
- colorspaces=AcquireString("sRGB,HCLp");
+ colorspaces=AcquireString("xyY,HSB");
perceptual_hash[0].number_colorspaces=0;
perceptual_hash[0].number_channels=0;
q=colorspaces;
Not sure if this is a bug or intended behavior. |
A potential workaround is adding |
Wow; thank you for diagnosing this! I propose we just add that flag, since I confess I don't understand the nuances that made the ImageMagick folks prefer that default, so I have no grounds to believe it will switch back. |
Great! I will prepare a PR in a moment |
Problem
Here on NixOS, we continuously rebuild all packages that their dependencies have been changed. Recently,
beets
have been failing to build because it's tests have failed:Full build log is available here:
https://hydra.nixos.org/build/226088427/nixlog/1
Setup
The text was updated successfully, but these errors were encountered: