locust (2.47.0-1) unstable; urgency=medium * New upstream release * debian/patches/geventhttpclient-2.6-max-redirect-test.patch, debian/patches/PR3541-percent-encode-request-target.patch, debian/patches/PR3549-report-malformed-response-as-failure.patch, debian/patches/PR3569-test-pytest-locustfile-local-server.patch - drop, merged upstream * debian/patches/relax-configargparse-requirement.patch - drop, configargparse 1.9.0 is now in Debian * debian/patches/test-lru-cache-clear-dead-weakref.patch - check type() instead of isinstance() when clearing the lru caches between tests: pymongo, now in b-d, leaves dead weak proxies behind, and every LocustTestCase after test_mongodb failed in tearDown with ReferenceError * debian/control - bump configargparse b-d to 1.7.1, upstream's minimum, no longer relaxed - bump gevent b-d to 24.11.1, the new upstream minimum - add pymongo to b-d, needed by the new MongoDB tests * debian/rules - exclude test_client_pool_concurrency and test_stop_timeout_with_interrupt_no_reschedule from the build too: a loaded amd64 builder also misses their timing tolerances * debian/python3-locust.NEWS - the web UI endpoints /stop and /stats/reset now accept only POST -- Sandro Tosi Wed, 11 Nov 2026 00:30:52 -0500 locust (2.46.7-6) unstable; urgency=medium * debian/patches/PR3569-test-pytest-locustfile-local-server.patch - run test_pytest_locustfile against a local server instead of www.locust.io, patch from upstream: its tests also pass without network, but on loong64, where tests needing the internet are not run, a garbled response failed test_fasthttp_catch_response and test_regular hung until the timeout; to be removed with 2.47.0, which has it; Closes: #1153145 -- Sandro Tosi Fri, 06 Nov 2026 11:36:47 -0500 locust (2.46.7-5) unstable; urgency=medium * debian/rules - exclude the remaining timing dependent tests from the autopkgtest, except on amd64 and i386: the armhf one of 2.46.7-4 failed test_cpu_warning, test_stop_event and test_user_count_in_csv_history_stats, and going through the test code found 51 more of the same kind; test_runners, test_stats, test_web, test_dispatch, test_log, test_debugging and test_zmqrpc, where nearly all of them are, go as whole files, so that new tests there need no entry; the build, arch all, still runs them -- Sandro Tosi Wed, 04 Nov 2026 01:31:01 -0500 locust (2.46.7-4) unstable; urgency=medium * debian/rules - exclude the process integration tests of test_main everywhere: they stop locust with SIGINT, whose KeyboardInterrupt some greenlets swallow and others print as a traceback; this failed the arch:all build of 2.46.7-3 on amd64, with workers left behind by one test breaking three more - exclude the tests with fixed timeouts, sleeps or elapsed time tolerances from the autopkgtest, except on amd64 and i386: they keep failing on the slower riscv64, arm64, ppc64el and s390x workers; the build, arch all, still runs them - remove the test tree of the previous interpreter before setting up the autopkgtest for the next one: they share the build directory, and with python3.15 supported next to python3.14, the second one failed on "cp: cannot create symbolic link ...: File exists" - drop LOCUST_TEST_TIMEOUT_FACTOR, the riscv64 exclusion of test_distributed_rebalanced_integration_run, and the exclusions of the test_main tests, covered by the above * debian/patches/test-timeout-factor.patch - remove, the tests it scales now run only in the build and on amd64 and i386, where the factor was 1 * debian/patches/increase-subprocess-timeout.patch, debian/patches/processes-autodetect-cpu-count.patch - remove, they only change the excluded test_main tests -- Sandro Tosi Tue, 03 Nov 2026 09:10:26 -0500 locust (2.46.7-3) unstable; urgency=medium * debian/patches/test-timeout-factor.patch - scale the remaining timeouts, waits and timing tolerances of the tests: the riscv64 autopkgtest still failed 26 tests on the unscaled ones, and the arm64 and ppc64el ones failed test_kill_locusts_with_stop_timeout * debian/rules - set LOCUST_TEST_TIMEOUT_FACTOR to 20 on riscv64, and to 10 on arm64 and ppc64el - skip test_distributed_rebalanced_integration_run on riscv64: a worker can be left with the wrong user count after a rebalance, failing the test however long it waits -- Sandro Tosi Mon, 02 Nov 2026 19:37:36 -0500 locust (2.46.7-2) unstable; urgency=medium * debian/patches/test-timeout-factor.patch - scale the timing limits of the tests by LOCUST_TEST_TIMEOUT_FACTOR; starting locust took longer than the tests wait for it in the riscv64 autopkgtest, which failed 73 tests on timeouts * debian/patches/processes-autodetect-cpu-count.patch - run test_processes_autodetect with 4 workers instead of one per CPU: with 16 and 20, some of them did not quit within the 0.5 seconds the master waits, failing the ppc64el and s390x autopkgtest * debian/rules - set LOCUST_TEST_TIMEOUT_FACTOR to 10 on riscv64 -- Sandro Tosi Sun, 01 Nov 2026 18:05:46 -0500 locust (2.46.7-1) unstable; urgency=medium * New upstream release * debian/control - bump geventhttpclient b-d to 2.6.1, needed by the updated test_max_redirect_setting - bump requests b-d to 2.33.1, the new upstream minimum * debian/patches/PR3526-geventhttpclient-2.5.patch - drop, merged upstream * debian/patches/geventhttpclient-2.6-max-redirect-test.patch - expect the 302 response in test_max_redirect_setting, as geventhttpclient 2.6 no longer follows redirects when max_redirects is 0; from upstream, patch by Lars Holmberg * debian/patches/PR3541-percent-encode-request-target.patch - percent-encode the request target in FastHttpUser: geventhttpclient 2.6 rejects a target with spaces, and the request was missing from the statistics; from upstream PR #3541, patch by Suliman Abdulrazzaq * debian/patches/PR3549-report-malformed-response-as-failure.patch - report a response geventhttpclient cannot parse as a failed request in FastHttpUser, instead of raising out of the request and leaving it out of the statistics; from upstream PR #3549, patch by Suliman Abdulrazzaq * debian/patches/increase-subprocess-timeout.patch - also raise the join timeout of test_processes_separate_worker from 3 to 10 seconds; it made the arch:all build of 2.46.6-3 fail on the buildd -- Sandro Tosi Sat, 17 Oct 2026 18:29:16 -0400 locust (2.46.6-3) unstable; urgency=medium * debian/patches/PR3526-geventhttpclient-2.5.patch - fix allow_redirects=False being ignored by FastHttpUser with geventhttpclient 2.5, which renamed the attribute locust clears to disable redirects; from upstream PR #3526, patch by Sai Yaswanth -- Sandro Tosi Sun, 04 Oct 2026 02:06:15 -0400 locust (2.46.6-2) unstable; urgency=medium * debian/rules - remove locust_output.json, left by a failing test, in clean; Closes: #1048334 - drop --with python3, replaced by dh-sequence-python3 - make test failures fatal; skip the tests needing network access, one expecting localhost to resolve to IPv6 and two with a racy shutdown - share the test exclusions with the autopkgtest, and run it on symlinks to the installed package, as the tests are not installed - generate a manpage with help2man * debian/control - bump debhelper compat to 14; add dh-sequence-python3 and dh-sequence-single-binary to b-d - drop the substvars, now applied automatically - use upstream's synopsis, "Developer-friendly" - bump Standards-Version to 4.7.4.1 (no further changes needed) - add Testsuite: autopkgtest-pkg-pybuild - add help2man to b-d; drop from the b-d imported by locust --help, needed to generate the manpage * debian/python3-locust.manpages - install the generated manpage * debian/python3-locust.lintian-overrides - override image-file-in-usr-lib, the web UI assets are served by Flask from the package directory * debian/upstream/metadata - add upstream metadata * debian/source/options - remove, egg-info is no longer generated since the switch to hatchling -- Sandro Tosi Fri, 02 Oct 2026 02:16:51 -0400 locust (2.46.6-1) unstable; urgency=medium * New upstream release * debian/watch - upgrade to version 5 - add webui component, the prebuilt web UI from the PyPI sdist, as upstream no longer ships it in git * debian/copyright - reduce the webui component to locust/webui/dist - update upstream copyright; document the web UI files and the libraries bundled in them; drop the stanzas for the removed locust/static files * debian/gbp.conf - add webui component * debian/control - add hatchling and hatch-vcs to b-d, the new upstream build system - drop setuptools and roundrobin from b-d, no longer needed - add engineio, flask, gevent, opentelemetry, socketio and werkzeug to b-d, needed by tests - bump versioned b-d to the upstream minimum versions - drop Priority, optional is now the default - bump Standards-Version to 4.7.4 (no changes needed) - suggest the packages needed by the dns, mqtt and otel extras, and websocket for the socket.io websocket transport * debian/rules - include pkg-info.mk, so the upstream version is actually passed to hatch-vcs; Closes: #1069850 - install the prebuilt web UI from the webui component - remove the Azure Load Testing advertisement from the web UI start page, via the new debian/remove-azure-ad.py - remove the CSV files left by tests in clean; Closes: #1048334 - run TestMasterWorkerRunners again, it no longer times out; skip tests needing network access and a timing sensitive one * debian/patches - add a DEP-3 header to increase-subprocess-timeout.patch - wheel-anchor-include-patterns.patch: keep the web UI sources, tests and the webui component out of the installed package - relax-configargparse-requirement.patch: accept configargparse 1.7 * debian/locust - add a shebang, tests now execute it directly * debian/python3-locust.docs - drop README, removed upstream * add lintian overrides for the prebuilt web UI * remove debian/missing-sources, the files it covered are gone -- Sandro Tosi Thu, 24 Sep 2026 13:57:02 -0400 locust (2.24.0-1) unstable; urgency=medium * New upstream release * drop patches, no longer needed * debian/control - replace flask-basicauth with flask-login - bump versioned b-d on configargparse to >= 1.5.5 -- Sandro Tosi Wed, 13 Mar 2024 00:41:31 -0400 locust (2.12.1-2) unstable; urgency=medium * drop DPT -- Sandro Tosi Sat, 02 Mar 2024 13:55:31 -0500 locust (2.12.1-1) unstable; urgency=medium * New upstream release; Closes: #1020842 * debian/watch - track github tags rather than PyPI releases * debian/rules - feed the debian version to setuptools-scm - remove _version.py in clean target, as generated by setuptools-scm - setup the version file before building the documentation - exclude examples/test_data_management.py from pytest, network access - create the locust version file before build, so it's available for test and gets installed too - adjust how we run tests: disable fake http(s)_proxy, set PATH to use `debian/locust`, exclude TestMasterWorkerRunners * refresh patches * debian/control - tests b-d: bump geventhttpclient to >= 2.0.8 - doc b-d: add typing-extensions, add flask-cors, add sphinx-prompt - bump b-d on pyquery to >= 1.4.3 - add retry, roundrobing and typing-extensions to b-d, needed by tests - bump Standard-Versions to 4.6.2.0 (no changes needed) - build using pybuild-plugin-pyproject * stop building the -doc package * debian/locust - add a straightforward binary needed to pretend it's `/usr/bin/locust` during tests * debian/copyright - extend packaging copyright years -- Sandro Tosi Sat, 24 Dec 2022 01:00:17 -0500 locust (1.4.3-3) unstable; urgency=medium * debian/rules - make the build reproducible by removing .pyc files from examples; patch by Chris Lamb; Closes: #1001227 -- Sandro Tosi Tue, 07 Dec 2021 01:35:07 -0500 locust (1.4.3-2) unstable; urgency=medium * source-only upload -- Sandro Tosi Mon, 06 Dec 2021 00:53:06 -0500 locust (1.4.3-1) unstable; urgency=low * Initial release; Closes: #982508 -- Sandro Tosi Sun, 14 Feb 2021 03:33:38 -0500