lol

python3Packages.msgpack: be mindful of borgbackup via passthru.tests

Unfortunately, BorgBackup, a backupping software is very sensible to MsgPack versions
to the extent of pinning patch-level versions…

I believe it's not totally absurd if they do it as they seems to consider it dangerous to
do otherwise.

As a result, I would like to ensure that python3Packages.msgpack are gated with that piece
of software ; of course, in case of security updates, we can consider extracting the patches
if reasonable or just breaking all dependents.

+7
+7
pkgs/development/python-modules/msgpack/default.nix
··· 4 4 , pytestCheckHook 5 5 , pythonOlder 6 6 , setuptools 7 + , borgbackup 7 8 }: 8 9 9 10 buildPythonPackage rec { ··· 29 30 pythonImportsCheck = [ 30 31 "msgpack" 31 32 ]; 33 + 34 + passthru.tests = { 35 + # borgbackup is sensible to msgpack versions: https://github.com/borgbackup/borg/issues/3753 36 + # please be mindful before bumping versions. 37 + inherit borgbackup; 38 + }; 32 39 33 40 meta = with lib; { 34 41 description = "MessagePack serializer implementation";