diff options
| author | Jonathan Ringer <jonringer117@gmail.com> | 2021-11-29 15:49:33 -0800 |
|---|---|---|
| committer | Jonathan Ringer <jonringer117@gmail.com> | 2021-11-30 18:52:56 -0800 |
| commit | 19142373dbd699bbf66eb1fe36ff4db458ac5cfb (patch) | |
| tree | 41b70c8b3422d7834f05aae4f61c990110c8bf1c | |
| parent | python3Packages.rfc6555: switch to GitHub and pytestCheckHook (diff) | |
| download | nixpkgs-19142373dbd699bbf66eb1fe36ff4db458ac5cfb.tar.gz | |
python3Packages.pastescript: disable tests suite, doesn't respect PYTHONPATH
| -rw-r--r-- | pkgs/development/python-modules/pastescript/default.nix | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pastescript/default.nix b/pkgs/development/python-modules/pastescript/default.nix index bc15e5e9f2a6..244b51f3f844 100644 --- a/pkgs/development/python-modules/pastescript/default.nix +++ b/pkgs/development/python-modules/pastescript/default.nix @@ -2,6 +2,8 @@ , buildPythonPackage , fetchPypi , nose +, python +, pytestCheckHook , six , paste , pastedeploy @@ -23,10 +25,22 @@ buildPythonPackage rec { six ]; - checkInputs = [ nose ]; + # test suite seems to unset PYTHONPATH + doCheck = false; + checkInputs = [ nose pytestCheckHook ]; pythonNamespaces = [ "paste" ]; + disabledTestPaths = [ + "appsetup/testfiles" + ]; + + pythonImportsCheck = [ + "paste.script" + "paste.deploy" + "paste.util" + ]; + meta = with lib; { description = "A pluggable command-line frontend, including commands to setup package file layouts"; homepage = "https://github.com/cdent/pastescript/"; |
