From cadda769f93f6743398bbeb88b8c3c2df0423535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= Date: Thu, 12 Jun 2025 18:51:22 -0400 Subject: benchmarks/py-locust: Upgrade to 2.37.10 * Pet portclippy/portfmt. * Add distribution file for examples and test scripts (the release file does not include them, but includes the web UI which the repository does not have). * Remove examples (they are now incompatible with the new version of Locust). * Include updated examples from the repository. * Prefer to generate pkg-plist manually instead of relying on autoplist (since the sample scripts are included manually, it is preferable to manually generate the pkg-plist). * Change distutils in favor of pep517. * Fix binding in all interfaces when --web-host is set to '*'. ChangeLog: https://github.com/locustio/locust/compare/0.11.0...2.37.10 PR: 287027 Approved by: acm (mentor) Approved by: maintainer timeout (20 days) --- benchmarks/py-locust/files/patch-locust_main.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 benchmarks/py-locust/files/patch-locust_main.py (limited to 'benchmarks/py-locust/files/patch-locust_main.py') diff --git a/benchmarks/py-locust/files/patch-locust_main.py b/benchmarks/py-locust/files/patch-locust_main.py new file mode 100644 index 000000000000..fc7fc9d27587 --- /dev/null +++ b/benchmarks/py-locust/files/patch-locust_main.py @@ -0,0 +1,11 @@ +--- locust/main.py.orig 2025-06-12 22:34:12 UTC ++++ locust/main.py +@@ -454,7 +454,7 @@ See https://github.com/locustio/locust/wiki/Installati + sys.exit(1) + if options.web_host == "*": + # special check for "*" so that we're consistent with --master-bind-host +- web_host = "" ++ web_host = "0.0.0.0" + else: + web_host = options.web_host + if web_host: -- cgit v1.2.3