Skip to content

Commit

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

0 comments on commit 7211e4e

Please sign in to comment.