From 21c43f6e7530563534b34bce0eb723c9cbcca8b0 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 2 Jun 2020 17:50:33 -0700 Subject: [PATCH] python3Packages.azure-servicebus: add imports check --- pkgs/development/python-modules/azure-servicebus/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/azure-servicebus/default.nix b/pkgs/development/python-modules/azure-servicebus/default.nix index e58577577974..2a3552d1fb5f 100644 --- a/pkgs/development/python-modules/azure-servicebus/default.nix +++ b/pkgs/development/python-modules/azure-servicebus/default.nix @@ -29,6 +29,9 @@ buildPythonPackage rec { # has no tests doCheck = false; + # python2 will fail due to pep 420 + pythonImportsCheck = lib.optionals isPy3k [ "azure.servicebus" ]; + meta = with lib; { description = "This is the Microsoft Azure Service Bus Client Library"; homepage = "https://github.com/Azure/azure-sdk-for-python";