From 40fb898673b427fbfc2c4a0ebeb821d5aa3531be Mon Sep 17 00:00:00 2001 From: Dan Callahan Date: Thu, 25 Jun 2020 00:11:06 +0100 Subject: [PATCH] typeguard: fix tests Broken by 9993c38682d2889b784c845145d7b00c1fb126ec Traceback: tests/test_typeguard_py36.py:7: in from typing_extensions import Literal E ModuleNotFoundError: No module named 'typing_extensions' Resolved by adding typing-extensions to checkInputs --- pkgs/development/python-modules/typeguard/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/typeguard/default.nix b/pkgs/development/python-modules/typeguard/default.nix index da75b7f18dc..7541d717e8a 100644 --- a/pkgs/development/python-modules/typeguard/default.nix +++ b/pkgs/development/python-modules/typeguard/default.nix @@ -4,6 +4,7 @@ , stdenv , setuptools_scm , pytest +, typing-extensions , glibcLocales }: @@ -25,7 +26,7 @@ buildPythonPackage rec { substituteInPlace setup.cfg --replace " --cov" "" ''; - checkInputs = [ pytest ]; + checkInputs = [ pytest typing-extensions ]; checkPhase = '' py.test .