mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
pythonPackages.locustio: 0.9.0 -> 0.14.4
disable python3.8 version, as tests hang indefinitely
This commit is contained in:
parent
6d92e54174
commit
193c58489e
|
@ -1,17 +1,18 @@
|
||||||
{ buildPythonPackage
|
{ buildPythonPackage, fetchFromGitHub, isPy38
|
||||||
, fetchFromGitHub
|
|
||||||
, mock
|
|
||||||
, unittest2
|
|
||||||
, msgpack
|
|
||||||
, requests
|
|
||||||
, flask
|
, flask
|
||||||
, gevent
|
, gevent
|
||||||
|
, mock
|
||||||
|
, msgpack
|
||||||
, pyzmq
|
, pyzmq
|
||||||
|
, requests
|
||||||
|
, unittest2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "locustio";
|
pname = "locustio";
|
||||||
version = "0.9.0";
|
version = "0.14.4";
|
||||||
|
# tests hang on python38
|
||||||
|
disabled = isPy38;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "locustio";
|
owner = "locustio";
|
||||||
|
@ -21,10 +22,14 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ msgpack requests flask gevent pyzmq ];
|
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 = {
|
meta = {
|
||||||
homepage = https://locust.io/;
|
homepage = "https://locust.io/";
|
||||||
description = "A load testing tool";
|
description = "A load testing tool";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue