From e0f988fc4648c308465ac60f39c364bfd3034f23 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Wed, 12 Jul 2017 12:27:15 +0200 Subject: [PATCH] pythonPackages.kombu: fix tests for python3.6 --- pkgs/top-level/python-packages.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0726bfc6f715..09cced825141 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12581,6 +12581,14 @@ in { sha256 = "18hiricdnbnlz6hx3hbaa4dni6npv8rbid4dhf7k02k16qm6zz6h"; }; + # Backport fix for python-3.6 from master (see issue https://github.com/celery/kombu/issues/675) + # TODO remove at next update + patches = [ (pkgs.fetchpatch { + url = "https://github.com/celery/kombu/commit/dc3fceff59d79ceac3f8f11a5d697beabb4b7a7f.patch"; + sha256 = "0s6gsihzjvmpffc7xrrcijw00r56yb74jg0sbjgng2v1324z1da9"; + name = "don-t-modify-dict-size-while-iterating-over-it"; + }) ]; + buildInputs = with self; [ pytest case pytz ]; propagatedBuildInputs = with self; [ amqp ];