locust 2.36.3.dev5__py3-none-any.whl → 2.36.3.dev9__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/argument_parser.py +7 -2
- locust/main.py +11 -1
- {locust-2.36.3.dev5.dist-info → locust-2.36.3.dev9.dist-info}/METADATA +1 -1
- {locust-2.36.3.dev5.dist-info → locust-2.36.3.dev9.dist-info}/RECORD +8 -8
- {locust-2.36.3.dev5.dist-info → locust-2.36.3.dev9.dist-info}/WHEEL +0 -0
- {locust-2.36.3.dev5.dist-info → locust-2.36.3.dev9.dist-info}/entry_points.txt +0 -0
- {locust-2.36.3.dev5.dist-info → locust-2.36.3.dev9.dist-info}/licenses/LICENSE +0 -0
locust/_version.py
CHANGED
@@ -17,5 +17,5 @@ __version__: str
|
|
17
17
|
__version_tuple__: VERSION_TUPLE
|
18
18
|
version_tuple: VERSION_TUPLE
|
19
19
|
|
20
|
-
__version__ = version = '2.36.3.
|
21
|
-
__version_tuple__ = version_tuple = (2, 36, 3, '
|
20
|
+
__version__ = version = '2.36.3.dev9'
|
21
|
+
__version_tuple__ = version_tuple = (2, 36, 3, 'dev9')
|
locust/argument_parser.py
CHANGED
@@ -18,8 +18,6 @@ from typing import Any, NamedTuple
|
|
18
18
|
from urllib.parse import urlparse
|
19
19
|
from uuid import uuid4
|
20
20
|
|
21
|
-
from locust_cloud.args import add_locust_cloud_argparse
|
22
|
-
|
23
21
|
if sys.version_info >= (3, 11):
|
24
22
|
import tomllib
|
25
23
|
else:
|
@@ -38,6 +36,13 @@ version = locust.__version__
|
|
38
36
|
|
39
37
|
DEFAULT_CONFIG_FILES = ("~/.locust.conf", "locust.conf", "pyproject.toml")
|
40
38
|
|
39
|
+
try:
|
40
|
+
from locust_cloud.args import add_locust_cloud_argparse
|
41
|
+
except ModuleNotFoundError as e:
|
42
|
+
add_locust_cloud_argparse = lambda _: None
|
43
|
+
if e.msg != "No module named 'locust_cloud'":
|
44
|
+
raise
|
45
|
+
|
41
46
|
|
42
47
|
# Clean up downloaded locustfile on exit
|
43
48
|
def exit_handler(filename) -> None:
|
locust/main.py
CHANGED
@@ -35,6 +35,7 @@ except ModuleNotFoundError as e:
|
|
35
35
|
if e.msg != "No module named 'locust_plugins'":
|
36
36
|
raise
|
37
37
|
try:
|
38
|
+
# remove in future release
|
38
39
|
import locust_cloud # pyright: ignore[reportMissingImports] # noqa: F401
|
39
40
|
|
40
41
|
locust_cloud_version = f" (locust-cloud {importlib.metadata.version('locust-cloud')})"
|
@@ -43,6 +44,15 @@ except ModuleNotFoundError as e:
|
|
43
44
|
locust_cloud = None
|
44
45
|
if e.msg != "No module named 'locust_cloud'":
|
45
46
|
raise
|
47
|
+
try:
|
48
|
+
import locust_exporter # pyright: ignore[reportMissingImports] # noqa: F401
|
49
|
+
|
50
|
+
locust_exporter_version = f" (locust_exporter {importlib.metadata.version('locust-exporter')})"
|
51
|
+
except ModuleNotFoundError as e:
|
52
|
+
locust_exporter_version = ""
|
53
|
+
locust_exporter = None
|
54
|
+
if e.msg != "No module named 'locust_exporter'":
|
55
|
+
raise
|
46
56
|
|
47
57
|
if TYPE_CHECKING:
|
48
58
|
from collections.abc import Callable
|
@@ -178,7 +188,7 @@ def main():
|
|
178
188
|
children = []
|
179
189
|
logger = logging.getLogger(__name__)
|
180
190
|
|
181
|
-
logger.info(f"Starting Locust {version}{
|
191
|
+
logger.info(f"Starting Locust {version}{locust_exporter_version}")
|
182
192
|
|
183
193
|
if options.processes:
|
184
194
|
if os.name == "nt":
|
@@ -1,7 +1,7 @@
|
|
1
1
|
locust/__init__.py,sha256=aWeuBPUxONjwNm1xp4v8L4BO14SuYLjscIiwJVX1Ui4,1746
|
2
2
|
locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
|
3
|
-
locust/_version.py,sha256=
|
4
|
-
locust/argument_parser.py,sha256=
|
3
|
+
locust/_version.py,sha256=T8XFOzMBMRdTU8U0eNY4jpt-OfcgFRcG_NKJYe0fsbQ,526
|
4
|
+
locust/argument_parser.py,sha256=JDZftZ1sGknDXzYy-UrGndX7mGJUMhEjvruRjQjbNM4,33190
|
5
5
|
locust/clients.py,sha256=o-277lWQdpmPnoRTdf3IQVNPQT8LMFDtPtuxbLHQIIs,19286
|
6
6
|
locust/debug.py,sha256=7CCm8bIg44uGH2wqBlo1rXBzV2VzwPicLxLewz8r5CQ,5099
|
7
7
|
locust/dispatch.py,sha256=prdwtb9EoN4A9klgiKgWuwQmvFB8hEuFHOK6ot62AJI,16202
|
@@ -11,7 +11,7 @@ locust/exception.py,sha256=jGgJ32ubuf4pWdlaVOkbh2Y0LlG0_DHi-lv3ib8ppOE,1791
|
|
11
11
|
locust/html.py,sha256=VjoAEZEolJ8il4HLACBlVA81Qk36fBwlDj_7ojAEFss,4132
|
12
12
|
locust/input_events.py,sha256=lqLDB2Ax-OQ7-vtYNkGjySjfaWVobBzqf0GxRwjcLcQ,3323
|
13
13
|
locust/log.py,sha256=5E2ZUOa3V4sfCqa-470Gle1Ik9L5nxYitsjEB9tRwE0,3455
|
14
|
-
locust/main.py,sha256=
|
14
|
+
locust/main.py,sha256=wY0FexiakPzK1oR4VbSzCQn3ARPsKZHWmhrObR9JWSI,28174
|
15
15
|
locust/py.typed,sha256=gkWLl8yD4mIZnNYYAIRM8g9VarLvWmTAFeUfEbxJLBw,65
|
16
16
|
locust/runners.py,sha256=niYmGsfOpxMfVmTXGod4MYTefpaZ2wirFlhqxRw5mq4,70617
|
17
17
|
locust/shape.py,sha256=t-lwBS8LOjWcKXNL7j2U3zroIXJ1b0fazUwpRYQOKXw,1973
|
@@ -51,8 +51,8 @@ locust/webui/dist/assets/graphs-light.png,sha256=7L6pOehXqCojQclzeP91l-LskFQAw_n
|
|
51
51
|
locust/webui/dist/assets/index-OsbNSvrF.js,sha256=7HLGlI9Pmknt3Nqf2hfZG7drC0jyMPi9Z5-x21F_4e8,1721633
|
52
52
|
locust/webui/dist/assets/testruns-dark.png,sha256=np6MvpgJ2gkKQ66SOmukLtjsMtHqTSr5dNfza-2XtCo,267621
|
53
53
|
locust/webui/dist/assets/testruns-light.png,sha256=iLAxBZh3kRsfGkcB1-1KSAbFgGji43IqiUrYuJlUoPk,276839
|
54
|
-
locust-2.36.3.
|
55
|
-
locust-2.36.3.
|
56
|
-
locust-2.36.3.
|
57
|
-
locust-2.36.3.
|
58
|
-
locust-2.36.3.
|
54
|
+
locust-2.36.3.dev9.dist-info/METADATA,sha256=bUMFm_U-M_6EtsanxzBBPRGuUUxHZFjRbqb2U1GAlCk,9403
|
55
|
+
locust-2.36.3.dev9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
56
|
+
locust-2.36.3.dev9.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
|
57
|
+
locust-2.36.3.dev9.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
|
58
|
+
locust-2.36.3.dev9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|