devpi-client: 3.1.0 -> 4.1.0, fix tests (#47142)
This commit is contained in:
parent
4eebe205fe
commit
c770699524
@ -9,28 +9,28 @@
|
|||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "devpi-client";
|
pname = "devpi-client";
|
||||||
version = "3.1.0";
|
version = "4.1.0";
|
||||||
|
|
||||||
src = pythonPackages.fetchPypi {
|
src = pythonPackages.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0w47x3lkafcg9ijlaxllmq4886nsc91w49ck1cd7vn2gafkwjkgr";
|
sha256 = "0f5jkvxx9fl8v5vwbwmplqhjsdfgiib7j3zvn0zxd8krvi2s38fq";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = with pythonPackages; [
|
checkInputs = with pythonPackages; [
|
||||||
pytest webtest mock
|
pytest pytestflakes webtest mock
|
||||||
devpi-server tox
|
devpi-server tox
|
||||||
sphinx wheel git mercurial detox
|
sphinx wheel git mercurial detox
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export PATH=$PATH:$out/bin
|
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)
|
# setuptools do not get propagated into the tox call (cannot import setuptools)
|
||||||
rm testing/test_test.py
|
rm testing/test_test.py
|
||||||
|
|
||||||
# test_pypi_index_attributes tries to connect to upstream pypi
|
# 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' testing
|
||||||
py.test -k 'not test_pypi_index_attributes and not test_download_release_error' testing
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
Loading…
Reference in New Issue
Block a user