From 475e2a7e33ca5b3a8197e3dff7ce655bc31b959f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 12 Oct 2021 21:48:20 +0200 Subject: [PATCH] python3Packages.python-telegram-bot: relax cachetools constraint --- .../python-modules/python-telegram-bot/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/python-telegram-bot/default.nix b/pkgs/development/python-modules/python-telegram-bot/default.nix index 6ddc4543d3d0..e188a3ef8686 100644 --- a/pkgs/development/python-modules/python-telegram-bot/default.nix +++ b/pkgs/development/python-modules/python-telegram-bot/default.nix @@ -36,13 +36,15 @@ buildPythonPackage rec { rm -r telegram/vendor substituteInPlace requirements.txt \ - --replace 'APScheduler==3.6.3' 'APScheduler' + --replace "APScheduler==3.6.3" "APScheduler" \ + --replace "cachetools==4.2.2" "cachetools" ''; setupPyGlobalFlags = "--with-upstream-urllib3"; # tests not included with release doCheck = false; + pythonImportsCheck = [ "telegram" ]; meta = with lib; {