diff --git a/locust/main.py b/locust/main.py index c7747593de..c48d679c4c 100644 --- a/locust/main.py +++ b/locust/main.py @@ -309,6 +309,9 @@ def kill_workers(children): greenlet_exception_handler = greenlet_exception_logger(logger) + if sys.version_info < (3, 10): + logger.warning("Python 3.9 support is deprecated and will be removed soon") + if options.stop_timeout: try: options.stop_timeout = parse_timespan(options.stop_timeout)