locust 2.31.8.dev12__py3-none-any.whl → 2.31.8.dev16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- locust/_version.py +2 -2
- locust/main.py +6 -1
- locust/webui/dist/assets/{index-sZjNzlO0.js → index-C1Bs-IUT.js} +1 -1
- locust/webui/dist/auth.html +1 -1
- locust/webui/dist/index.html +1 -1
- {locust-2.31.8.dev12.dist-info → locust-2.31.8.dev16.dist-info}/METADATA +1 -1
- {locust-2.31.8.dev12.dist-info → locust-2.31.8.dev16.dist-info}/RECORD +10 -10
- {locust-2.31.8.dev12.dist-info → locust-2.31.8.dev16.dist-info}/LICENSE +0 -0
- {locust-2.31.8.dev12.dist-info → locust-2.31.8.dev16.dist-info}/WHEEL +0 -0
- {locust-2.31.8.dev12.dist-info → locust-2.31.8.dev16.dist-info}/entry_points.txt +0 -0
locust/_version.py
CHANGED
@@ -14,7 +14,7 @@ __version_tuple__: VERSION_TUPLE
|
|
14
14
|
version_tuple: VERSION_TUPLE
|
15
15
|
|
16
16
|
|
17
|
-
__version__ = "2.31.8.
|
17
|
+
__version__ = "2.31.8.dev16"
|
18
18
|
version = __version__
|
19
|
-
__version_tuple__ = (2, 31, 8, "
|
19
|
+
__version_tuple__ = (2, 31, 8, "dev16")
|
20
20
|
version_tuple = __version_tuple__
|
locust/main.py
CHANGED
@@ -5,6 +5,7 @@ import locust
|
|
5
5
|
import atexit
|
6
6
|
import errno
|
7
7
|
import gc
|
8
|
+
import importlib.metadata
|
8
9
|
import inspect
|
9
10
|
import json
|
10
11
|
import logging
|
@@ -44,7 +45,10 @@ except ModuleNotFoundError as e:
|
|
44
45
|
raise
|
45
46
|
try:
|
46
47
|
import locust_cloud # pyright: ignore[reportMissingImports]
|
48
|
+
|
49
|
+
locust_cloud_version = f" (locust-cloud {importlib.metadata.version('locust-cloud')})"
|
47
50
|
except ModuleNotFoundError as e:
|
51
|
+
locust_cloud_version = ""
|
48
52
|
if e.msg != "No module named 'locust_cloud'":
|
49
53
|
raise
|
50
54
|
|
@@ -200,7 +204,8 @@ def main():
|
|
200
204
|
|
201
205
|
children = []
|
202
206
|
logger = logging.getLogger(__name__)
|
203
|
-
|
207
|
+
|
208
|
+
logger.info(f"Starting Locust {version}{locust_cloud_version}")
|
204
209
|
|
205
210
|
if options.processes:
|
206
211
|
if os.name == "nt":
|