From 893c54b4a79acba8a1885349fba5d00ae40fa913 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Wed, 7 Dec 2022 11:45:07 -0800 Subject: [PATCH] python310Packages.apache-beam: add compatibility with httplib2 0.21.0 --- pkgs/development/python-modules/apache-beam/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/apache-beam/default.nix b/pkgs/development/python-modules/apache-beam/default.nix index 612cb70d6f65..2d4adb5ddc5e 100644 --- a/pkgs/development/python-modules/apache-beam/default.nix +++ b/pkgs/development/python-modules/apache-beam/default.nix @@ -62,6 +62,13 @@ buildPythonPackage rec { hash = "sha256-iUmnzrItTFM98w3mpadzrmtI3t0fucpSujAg/6qxCGk="; stripLen = 2; }) + (fetchpatch { + # https://github.com/apache/beam/pull/24573 + name = "relax-httplib2-version.patch"; + url = "https://github.com/apache/beam/commit/4045503575ae5ccef3de8d7b868c54e37fef658b.patch"; + hash = "sha256-YqT+sHaa1R9vLQnEQN2K0lYoCdnGoPY9qduGBpXPaek="; + stripLen = 2; + }) ]; pythonRelaxDeps = [