Skip to content

Commit

Permalink
devpi-client: 5.0.0 -> 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer committed Jun 3, 2020
1 parent 7211e4e commit 4ecc2d8
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions pkgs/development/tools/devpi-client/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand All @@ -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";
Expand Down

0 comments on commit 4ecc2d8

Please sign in to comment.