Commit 0cefea2f authored by Raito Bezarius's avatar Raito Bezarius
Browse files

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.
parent 90b656d6
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
, pytestCheckHook
, pythonOlder
, setuptools
, borgbackup
}:

buildPythonPackage rec {
@@ -30,6 +31,12 @@ buildPythonPackage rec {
    "msgpack"
  ];

  passthru.tests = {
    # borgbackup is sensible to msgpack versions: https://github.com/borgbackup/borg/issues/3753
    # please be mindful before bumping versions.
    inherit borgbackup;
  };

  meta = with lib;  {
    description = "MessagePack serializer implementation";
    homepage = "https://github.com/msgpack/msgpack-python";