diff --git a/pkgs/development/python-modules/locust/default.nix b/pkgs/development/python-modules/locust/default.nix index 40b5d08429ec..d59ba37d5ac9 100644 --- a/pkgs/development/python-modules/locust/default.nix +++ b/pkgs/development/python-modules/locust/default.nix @@ -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" ]; diff --git a/pkgs/development/python-modules/locust/webui.nix b/pkgs/development/python-modules/locust/webui.nix index 964329564533..8905429828ef 100644 --- a/pkgs/development/python-modules/locust/webui.nix +++ b/pkgs/development/python-modules/locust/webui.nix @@ -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 = [