devpi-server: 5.2.0 -> 5.5.0
This commit is contained in:
parent
903e0ecd2f
commit
7211e4ef7b
@ -2,11 +2,11 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "devpi-server";
|
||||
version = "5.2.0";
|
||||
version = "5.5.0";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1dapd0bis7pb4fzq5yva7spby5amcsgl1970z5nq1rlprf6qbydg";
|
||||
sha256 = "0lily4a0k13bygx07x2f2q4nkwny0fj34hpac9i6mc70ysdn1hhi";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
@ -32,12 +32,17 @@ python3Packages.buildPythonApplication rec {
|
||||
webtest
|
||||
] ++ stdenv.lib.optionals isPy27 [ mock ];
|
||||
|
||||
# test_genconfig.py needs devpi-server on PATH
|
||||
# root_passwd_hash tries to write to store
|
||||
# TestMirrorIndexThings tries to write to /var through ngnix
|
||||
# nginx tests try to write to /var
|
||||
checkPhase = ''
|
||||
PATH=$PATH:$out/bin HOME=$TMPDIR pytest \
|
||||
./test_devpi_server --slow -rfsxX \
|
||||
-k 'not root_passwd_hash_option'
|
||||
--ignore=test_devpi_server/test_nginx_replica.py \
|
||||
--ignore=test_devpi_server/test_streaming_nginx.py \
|
||||
--ignore=test_devpi_server/test_streaming_replica_nginx.py \
|
||||
-k 'not root_passwd_hash_option \
|
||||
and not TestMirrorIndexThings'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib;{
|
||||
|
Loading…
Reference in New Issue
Block a user