mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
python3Packages.pep517: disable nix incompatible tests
This commit is contained in:
parent
f1689bd490
commit
7e4264ec43
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user