Skip to content

Commit

Permalink
pythonPackages.locustio: 0.9.0 -> 0.14.4
Browse files Browse the repository at this point in the history
disable python3.8 version, as tests hang indefinitely
  • Loading branch information
Jonathan Ringer committed Feb 24, 2020
1 parent 6d92e54 commit 193c584
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions pkgs/development/python-modules/locustio/default.nix
@@ -1,17 +1,18 @@
{ buildPythonPackage
, fetchFromGitHub
, mock
, unittest2
, msgpack
, requests
{ buildPythonPackage, fetchFromGitHub, isPy38
, flask
, gevent
, mock
, msgpack
, pyzmq
, requests
, unittest2
}:

buildPythonPackage rec {
pname = "locustio";
version = "0.9.0";
version = "0.14.4";
# tests hang on python38
disabled = isPy38;

src = fetchFromGitHub {
owner = "locustio";
Expand All @@ -21,10 +22,14 @@ buildPythonPackage rec {
};

propagatedBuildInputs = [ msgpack requests flask gevent pyzmq ];
buildInputs = [ mock unittest2 ];
checkInputs = [ mock unittest2 ];
# remove file which attempts to do GET request
preCheck = ''
rm locust/test/test_stats.py
'';

meta = {
homepage = https://locust.io/;
homepage = "https://locust.io/";
description = "A load testing tool";
};
}

0 comments on commit 193c584

Please sign in to comment.