devpi-client: 5.0.0 -> 5.2.0
This commit is contained in:
parent
7211e4ef7b
commit
4ecc2d857f
@ -21,15 +21,15 @@
|
|||||||
, wheel
|
, wheel
|
||||||
, git
|
, git
|
||||||
, mercurial
|
, mercurial
|
||||||
} :
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "devpi-client";
|
pname = "devpi-client";
|
||||||
version = "5.0.0";
|
version = "5.2.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0hyj3xc5c6658slk5wgcr9rh7hwi5r3hzxk1p6by61sqx5r38v3q";
|
sha256 = "1y8r1pjav0gyrbnyqjnc202sa962n1gasi8233xj7jc39lv3iq40";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ glibcLocales pkginfo check-manifest ];
|
buildInputs = [ glibcLocales pkginfo check-manifest ];
|
||||||
@ -42,21 +42,9 @@ buildPythonApplication rec {
|
|||||||
sphinx wheel git mercurial
|
sphinx wheel git mercurial
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# --fast skips tests which try to start a devpi-server improperly
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export PATH=$PATH:$out/bin
|
HOME=$TMPDIR py.test --fast
|
||||||
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
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
Loading…
Reference in New Issue
Block a user