diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-01-13 23:02:02 -0800 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-23 01:09:29 +0100 |
commit | 7e4264ec435eb1453efa05912082bf128952b967 (patch) | |
tree | 35825dac8636c7452742184ad2d110c39399ccf2 /pkgs/development/python-modules/pep517 | |
parent | f1689bd490619ed3d96a96bb2d688eedd6079e79 (diff) |
python3Packages.pep517: disable nix incompatible tests
Diffstat (limited to 'pkgs/development/python-modules/pep517')
-rw-r--r-- | pkgs/development/python-modules/pep517/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pep517/default.nix b/pkgs/development/python-modules/pep517/default.nix index b14fb47dd11ec..ad58cdb72d4d1 100644 --- a/pkgs/development/python-modules/pep517/default.nix +++ b/pkgs/development/python-modules/pep517/default.nix @@ -2,11 +2,12 @@ , buildPythonPackage , fetchPypi , flit-core -, toml +, tomli , pythonOlder , importlib-metadata , zipp , pytestCheckHook +, setuptools , testpath , mock , pip @@ -27,18 +28,24 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - toml + tomli ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata zipp ]; checkInputs = [ pytestCheckHook + setuptools testpath mock pip ]; + disabledTests = [ + "test_setup_py" + "test_issue_104" + ]; + preCheck = '' rm pytest.ini # wants flake8 rm tests/test_meta.py # wants to run pip |