From 10850709654f6321e6770906e99249e3f24e0ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 2 Feb 2021 23:36:37 +0100 Subject: [PATCH] pythonPackages.google-cloud-error: Open versionb range --- .../python-modules/google-cloud-error-reporting/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/google-cloud-error-reporting/default.nix b/pkgs/development/python-modules/google-cloud-error-reporting/default.nix index 1457c044fe54..bbd51326e0f2 100644 --- a/pkgs/development/python-modules/google-cloud-error-reporting/default.nix +++ b/pkgs/development/python-modules/google-cloud-error-reporting/default.nix @@ -19,6 +19,11 @@ buildPythonPackage rec { sha256 = "2fd6fe25343f7017c22e2733a0358c64b3171edc1669d0c8a1e1f07f86a048c4"; }; + postPatch = '' + substituteInPlace setup.py \ + --replace 'google-cloud-logging>=1.14.0, <2.1' 'google-cloud-logging>=1.14.0' + ''; + propagatedBuildInputs = [ google-cloud-logging libcst proto-plus ]; checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];