python3Packages.locust: 2.37.14 -> 2.42.1

This commit is contained in:
Philipp Arras
2025-10-30 21:57:41 +01:00
parent 1969163519
commit 579e7cc779
2 changed files with 6 additions and 3 deletions
@@ -18,6 +18,7 @@
locust-cloud,
psutil,
pyquery,
pytest,
pyzmq,
requests,
retry,
@@ -27,14 +28,14 @@
buildPythonPackage rec {
pname = "locust";
version = "2.37.14";
version = "2.42.1";
pyproject = true;
src = fetchFromGitHub {
owner = "locustio";
repo = "locust";
tag = version;
hash = "sha256-16pMl72OIZlAi6jNx0qv0TO9RTm6O9CgiE84sndsEhc=";
hash = "sha256-yyG4HVti0BAcGWQHID799YfkCEIBmpTkUUm8QzXMivc=";
};
postPatch = ''
@@ -65,6 +66,7 @@ buildPythonPackage rec {
"flask-login"
# version 6.0.1 is listed as 0.0.1 in the dependency check and 0.0.1 is not >= 3.0.10
"flask-cors"
"requests"
];
dependencies = [
@@ -81,6 +83,7 @@ buildPythonPackage rec {
requests
tomli
werkzeug
pytest
];
pythonImportsCheck = [ "locust" ];
@@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: {
missingHashes = ./missing-hashes.json;
yarnOfflineCache = yarn-berry.fetchYarnBerryDeps {
inherit (finalAttrs) src missingHashes;
hash = "sha256-FbKaU3wezuvcn98FOcUZbmoot/iHtmeStp4n0dNwFYA=";
hash = "sha256-dxt7rRA6kh0msjy3DAUvtj7LoE7vEaf4pmP2B95HoeY=";
};
nativeBuildInputs = [