From 40b5963931874bbad53ac2878c2ff2bc20660f39 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 23 Oct 2022 10:27:39 +0200 Subject: [PATCH] python310Packages.pylitterbot: relax deepdiff constraint --- pkgs/development/python-modules/pylitterbot/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/pylitterbot/default.nix b/pkgs/development/python-modules/pylitterbot/default.nix index 5c56150e8f53..e84374e4f744 100644 --- a/pkgs/development/python-modules/pylitterbot/default.nix +++ b/pkgs/development/python-modules/pylitterbot/default.nix @@ -43,6 +43,12 @@ buildPythonPackage rec { pytestCheckHook ]; + postPatch = '' + # https://github.com/natekspencer/pylitterbot/issues/73 + substituteInPlace pyproject.toml \ + --replace 'deepdiff = "^5.8.1"' 'deepdiff = ">=5.8.1"' + ''; + pytestFlagsArray = [ "--asyncio-mode=legacy" ];