From c7706995244390ef76b5fdee72619b5f10fbd64f Mon Sep 17 00:00:00 2001 From: xeji <36407913+xeji@users.noreply.github.com> Date: Sat, 22 Sep 2018 18:07:00 +0200 Subject: [PATCH] devpi-client: 3.1.0 -> 4.1.0, fix tests (#47142) --- pkgs/development/tools/devpi-client/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/devpi-client/default.nix b/pkgs/development/tools/devpi-client/default.nix index 26d96a64126..e70971b670c 100644 --- a/pkgs/development/tools/devpi-client/default.nix +++ b/pkgs/development/tools/devpi-client/default.nix @@ -9,28 +9,28 @@ pythonPackages.buildPythonApplication rec { name = "${pname}-${version}"; pname = "devpi-client"; - version = "3.1.0"; + version = "4.1.0"; src = pythonPackages.fetchPypi { inherit pname version; - sha256 = "0w47x3lkafcg9ijlaxllmq4886nsc91w49ck1cd7vn2gafkwjkgr"; + sha256 = "0f5jkvxx9fl8v5vwbwmplqhjsdfgiib7j3zvn0zxd8krvi2s38fq"; }; checkInputs = with pythonPackages; [ - pytest webtest mock + pytest pytestflakes webtest mock devpi-server tox sphinx wheel git mercurial detox setuptools ]; checkPhase = '' export PATH=$PATH:$out/bin + export HOME=$TMPDIR # fix tests failing in sandbox due to "/homeless-shelter" # setuptools do not get propagated into the tox call (cannot import setuptools) rm testing/test_test.py # test_pypi_index_attributes tries to connect to upstream pypi - # test_download_release_error is fixed in the next release - py.test -k 'not test_pypi_index_attributes and not test_download_release_error' testing + py.test -k 'not test_pypi_index_attributes' testing ''; LC_ALL = "en_US.UTF-8";