pip-tools: update tests for 1.9.0 -> 1.10.1
This commit is contained in:
parent
6e02ddc926
commit
b400e36548
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, buildPythonPackage, pip, pytest, click, six, first
|
{ stdenv, fetchurl, buildPythonPackage, pip, pytest, click, six, first
|
||||||
, setuptools_scm, glibcLocales, mock }:
|
, setuptools_scm, git, glibcLocales, mock }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pip-tools";
|
pname = "pip-tools";
|
||||||
@ -12,12 +12,18 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
checkInputs = [ pytest glibcLocales mock ];
|
checkInputs = [ pytest git glibcLocales mock ];
|
||||||
propagatedBuildInputs = [ pip click six first setuptools_scm ];
|
propagatedBuildInputs = [ pip click six first setuptools_scm ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d) VIRTUAL_ENV=1
|
||||||
py.test -k "not test_realistic_complex_sub_dependencies" # requires network
|
tests_without_network_access="
|
||||||
|
not test_realistic_complex_sub_dependencies \
|
||||||
|
and not test_editable_package_vcs \
|
||||||
|
and not test_generate_hashes_all_platforms \
|
||||||
|
and not test_generate_hashes_without_interfering_with_each_other \
|
||||||
|
"
|
||||||
|
py.test -k "$tests_without_network_access"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -15114,6 +15114,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
pip-tools = callPackage ../development/python-modules/pip-tools {
|
pip-tools = callPackage ../development/python-modules/pip-tools {
|
||||||
|
git = pkgs.gitMinimal;
|
||||||
glibcLocales = pkgs.glibcLocales;
|
glibcLocales = pkgs.glibcLocales;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user