mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
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.
This commit is contained in:
parent
90b656d6db
commit
0cefea2fb3
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user