Debian Patches

Status for locust/2.47.0-1

Patch Description Author Forwarded Bugs Origin Last update
wheel-anchor-include-patterns.patch anchor wheel include/exclude patterns to the project root The unanchored "locust" include also matches the webui/locust/ directory
unpacked from the webui component tarball, and the wheel would ship the web
UI sources, node tooling and tests. Anchor the patterns and exclude what
upstream's own sdist excludes, so the wheel matches the one on PyPI.
Sandro Tosi <morph@debian.org> not-needed 2026-09-24
test-lru-cache-clear-dead-weakref.patch don't trip over dead weak proxies when clearing the lru caches clear_all_functools_lru_cache(), called by the tearDown of every
LocustTestCase, runs isinstance() on every object gc.get_objects() returns.
isinstance() also reads __class__, which raises ReferenceError on a
weakref.proxy whose referent is gone. pymongo's server monitors (Monitor,
_RttMonitor) still hold two such proxies after the MongoDBClient of
test_mongodb is closed, so with pymongo installed, every LocustTestCase that
runs after it fails in tearDown: all of test_parser here. Check type()
instead, which doesn't go through the proxy.
Sandro Tosi <morph@debian.org> no 2026-11-10

All known versions for source package 'locust'

Links