Revert "python3Packages.virtualenv: enable tests"
This reverts commit c030d1b85b
.
This commit is contained in:
parent
da25268ca2
commit
135a14fa45
1 changed files with 8 additions and 39 deletions
|
@ -1,26 +1,18 @@
|
||||||
{ buildPythonPackage
|
{ buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, lib
|
||||||
|
, stdenv
|
||||||
|
, pythonOlder
|
||||||
|
, isPy27
|
||||||
, appdirs
|
, appdirs
|
||||||
, contextlib2
|
, contextlib2
|
||||||
, cython
|
|
||||||
, distlib
|
, distlib
|
||||||
, fetchPypi
|
|
||||||
, filelock
|
, filelock
|
||||||
, fish
|
|
||||||
, flaky
|
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
, importlib-resources
|
, importlib-resources
|
||||||
, isPy27
|
|
||||||
, lib
|
|
||||||
, pathlib2
|
, pathlib2
|
||||||
, pytest-freezegun
|
|
||||||
, pytest-mock
|
|
||||||
, pytest-timeout
|
|
||||||
, pytestCheckHook
|
|
||||||
, pythonOlder
|
|
||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
, six
|
, six
|
||||||
, stdenv
|
|
||||||
, xonsh
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -55,33 +47,10 @@ buildPythonPackage rec {
|
||||||
./0001-Check-base_prefix-and-base_exec_prefix-for-Python-2.patch
|
./0001-Check-base_prefix-and-base_exec_prefix-for-Python-2.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
meta = {
|
||||||
cython
|
|
||||||
fish
|
|
||||||
flaky
|
|
||||||
pytest-freezegun
|
|
||||||
pytest-mock
|
|
||||||
pytest-timeout
|
|
||||||
pytestCheckHook
|
|
||||||
] ++ lib.optionals (pythonOlder "3.9") [
|
|
||||||
xonsh
|
|
||||||
];
|
|
||||||
|
|
||||||
preCheck = "export HOME=$(mktemp -d)";
|
|
||||||
|
|
||||||
# Ignore tests which requires network access
|
|
||||||
pytestFlagsArray = [
|
|
||||||
"--ignore tests/unit/create/test_creator.py"
|
|
||||||
"--ignore tests/unit/seed/embed/test_bootstrap_link_via_app_data.py"
|
|
||||||
];
|
|
||||||
|
|
||||||
disabledTests = [ "test_can_build_c_extensions" ];
|
|
||||||
pythonImportsCheck = [ "virtualenv" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "A tool to create isolated Python environments";
|
description = "A tool to create isolated Python environments";
|
||||||
homepage = "http://www.virtualenv.org";
|
homepage = "http://www.virtualenv.org";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ goibhniu ];
|
maintainers = with lib.maintainers; [ goibhniu ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue