From 4ecc2d857fcceabb237277ab5da5f3be888ff522 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 2 Jun 2020 23:59:29 -0700 Subject: [PATCH] devpi-client: 5.0.0 -> 5.2.0 --- .../tools/devpi-client/default.nix | 22 +++++-------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/pkgs/development/tools/devpi-client/default.nix b/pkgs/development/tools/devpi-client/default.nix index 50cc41cd50ff..1a0fdf403082 100644 --- a/pkgs/development/tools/devpi-client/default.nix +++ b/pkgs/development/tools/devpi-client/default.nix @@ -21,15 +21,15 @@ , wheel , git , mercurial -} : +}: buildPythonApplication rec { pname = "devpi-client"; - version = "5.0.0"; + version = "5.2.0"; src = fetchPypi { inherit pname version; - sha256 = "0hyj3xc5c6658slk5wgcr9rh7hwi5r3hzxk1p6by61sqx5r38v3q"; + sha256 = "1y8r1pjav0gyrbnyqjnc202sa962n1gasi8233xj7jc39lv3iq40"; }; buildInputs = [ glibcLocales pkginfo check-manifest ]; @@ -42,21 +42,9 @@ buildPythonApplication rec { sphinx wheel git mercurial ]; + # --fast skips tests which try to start a devpi-server improperly checkPhase = '' - export PATH=$PATH:$out/bin - export HOME=$TMPDIR # fix tests failing in sandbox due to "/homeless-shelter" - - # test_pypi_index_attributes: tries to connect to upstream pypi - # test_test: setuptools does not get propagated into the tox call (cannot import setuptools), also no detox - # test_index: hangs forever - # test_upload: fails multiple times with - # > assert args[0], args - # F AssertionError: [None, local('/build/pytest-of-nixbld/pytest-0/test_export_attributes_git_set0/repo2/setupdir/setup.py'), '--name'] - - py.test -k 'not test_pypi_index_attributes \ - and not test_test \ - and not test_index \ - and not test_upload' testing + HOME=$TMPDIR py.test --fast ''; LC_ALL = "en_US.UTF-8";