Loading pkgs/development/python-modules/locust-cloud/default.nix +36 −4 Original line number Diff line number Diff line { lib, buildPythonPackage, configargparse, fetchFromGitHub, gevent, hatch-vcs, hatchling, lib, platformdirs, python-engineio, python-socketio, requests, gevent-websocket, tomli, flask, requests-mock, pytestCheckHook, }: buildPythonPackage rec { pname = "locust-cloud"; version = "1.27.0"; version = "1.27.9"; pyproject = true; src = fetchFromGitHub { owner = "locustcloud"; repo = "locust-cloud"; tag = version; hash = "sha256-K69VIyQggwWQQoMld0JpzmtJRQc6HYrKAGA6E9O69MQ="; hash = "sha256-7k1IZNBVkz+E5WW/wZWpB+yl/W7ONuHlUM8wOKvu0ow="; }; build-system = [ Loading @@ -40,9 +44,37 @@ buildPythonPackage rec { tomli ]; nativeCheckInputs = [ flask gevent-websocket pytestCheckHook requests-mock ]; pythonImportsCheck = [ "locust_cloud" ]; preCheck = '' export LOCUSTCLOUD_USERNAME=dummy export LOCUSTCLOUD_PASSWORD=dummy ''; disabledTests = [ # AssertionError "test_recursive_imports" "test_from_import_file" ]; disabledTestPaths = [ # Tests require network access "tests/web_login_test.py" "tests/cloud_test.py" "tests/websocket_test.py" ]; meta = { description = "Hosted version of Locust to run distributed load tests"; homepage = "https://www.locust.cloud/"; homepage = "https://github.com/locustcloud/locust-cloud"; changelog = "https://github.com/locustcloud/locust-cloud/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ magicquark ]; }; Loading pkgs/development/python-modules/locust/default.nix +5 −2 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ locust-cloud, psutil, pyquery, pytest, pyzmq, requests, retry, Loading @@ -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 = '' Loading Loading @@ -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 = [ Loading @@ -81,6 +83,7 @@ buildPythonPackage rec { requests tomli werkzeug pytest ]; pythonImportsCheck = [ "locust" ]; Loading pkgs/development/python-modules/locust/webui.nix +1 −1 Original line number Diff line number Diff line Loading @@ -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 = [ Loading pkgs/development/python-modules/python-socketio/default.nix +10 −4 Original line number Diff line number Diff line Loading @@ -18,22 +18,25 @@ # tests msgpack, pytest7CheckHook, pytestCheckHook, simple-websocket, uvicorn, redis, valkey, pytest-asyncio, }: buildPythonPackage rec { pname = "python-socketio"; version = "5.13.0"; version = "5.14.3"; pyproject = true; src = fetchFromGitHub { owner = "miguelgrinberg"; repo = "python-socketio"; tag = "v${version}"; hash = "sha256-iOipxGALYOXLvUwn6OSjLCMZoUl7u4S5eCktUgcs/X0="; hash = "sha256-2zts0gkwAoUCC8S1UDg0PlBaFH23jTv04hgGblHSX7c="; }; build-system = [ setuptools ]; Loading @@ -53,9 +56,12 @@ buildPythonPackage rec { nativeCheckInputs = [ msgpack pytest7CheckHook pytestCheckHook uvicorn simple-websocket redis valkey pytest-asyncio ] ++ lib.flatten (lib.attrValues optional-dependencies); Loading Loading
pkgs/development/python-modules/locust-cloud/default.nix +36 −4 Original line number Diff line number Diff line { lib, buildPythonPackage, configargparse, fetchFromGitHub, gevent, hatch-vcs, hatchling, lib, platformdirs, python-engineio, python-socketio, requests, gevent-websocket, tomli, flask, requests-mock, pytestCheckHook, }: buildPythonPackage rec { pname = "locust-cloud"; version = "1.27.0"; version = "1.27.9"; pyproject = true; src = fetchFromGitHub { owner = "locustcloud"; repo = "locust-cloud"; tag = version; hash = "sha256-K69VIyQggwWQQoMld0JpzmtJRQc6HYrKAGA6E9O69MQ="; hash = "sha256-7k1IZNBVkz+E5WW/wZWpB+yl/W7ONuHlUM8wOKvu0ow="; }; build-system = [ Loading @@ -40,9 +44,37 @@ buildPythonPackage rec { tomli ]; nativeCheckInputs = [ flask gevent-websocket pytestCheckHook requests-mock ]; pythonImportsCheck = [ "locust_cloud" ]; preCheck = '' export LOCUSTCLOUD_USERNAME=dummy export LOCUSTCLOUD_PASSWORD=dummy ''; disabledTests = [ # AssertionError "test_recursive_imports" "test_from_import_file" ]; disabledTestPaths = [ # Tests require network access "tests/web_login_test.py" "tests/cloud_test.py" "tests/websocket_test.py" ]; meta = { description = "Hosted version of Locust to run distributed load tests"; homepage = "https://www.locust.cloud/"; homepage = "https://github.com/locustcloud/locust-cloud"; changelog = "https://github.com/locustcloud/locust-cloud/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ magicquark ]; }; Loading
pkgs/development/python-modules/locust/default.nix +5 −2 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ locust-cloud, psutil, pyquery, pytest, pyzmq, requests, retry, Loading @@ -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 = '' Loading Loading @@ -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 = [ Loading @@ -81,6 +83,7 @@ buildPythonPackage rec { requests tomli werkzeug pytest ]; pythonImportsCheck = [ "locust" ]; Loading
pkgs/development/python-modules/locust/webui.nix +1 −1 Original line number Diff line number Diff line Loading @@ -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 = [ Loading
pkgs/development/python-modules/python-socketio/default.nix +10 −4 Original line number Diff line number Diff line Loading @@ -18,22 +18,25 @@ # tests msgpack, pytest7CheckHook, pytestCheckHook, simple-websocket, uvicorn, redis, valkey, pytest-asyncio, }: buildPythonPackage rec { pname = "python-socketio"; version = "5.13.0"; version = "5.14.3"; pyproject = true; src = fetchFromGitHub { owner = "miguelgrinberg"; repo = "python-socketio"; tag = "v${version}"; hash = "sha256-iOipxGALYOXLvUwn6OSjLCMZoUl7u4S5eCktUgcs/X0="; hash = "sha256-2zts0gkwAoUCC8S1UDg0PlBaFH23jTv04hgGblHSX7c="; }; build-system = [ setuptools ]; Loading @@ -53,9 +56,12 @@ buildPythonPackage rec { nativeCheckInputs = [ msgpack pytest7CheckHook pytestCheckHook uvicorn simple-websocket redis valkey pytest-asyncio ] ++ lib.flatten (lib.attrValues optional-dependencies); Loading