locust 2.31.4.dev47__py3-none-any.whl → 2.31.5__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 +1 -1
- locust/main.py +6 -4
- locust/webui/dist/assets/{index-K5xg1SLs.js → index-DQd3Odi5.js} +2 -2
- locust/webui/dist/auth.html +1 -1
- locust/webui/dist/index.html +1 -1
- locust/webui/dist/report.html +2 -2
- {locust-2.31.4.dev47.dist-info → locust-2.31.5.dist-info}/METADATA +1 -1
- {locust-2.31.4.dev47.dist-info → locust-2.31.5.dist-info}/RECORD +13 -12
- locust-2.31.5.dist-info/WHEEL +4 -0
- poetry.lock +2406 -0
- locust-2.31.4.dev47.dist-info/WHEEL +0 -4
- {locust-2.31.4.dev47.dist-info → locust-2.31.5.dist-info}/LICENSE +0 -0
- {locust-2.31.4.dev47.dist-info → locust-2.31.5.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.
|
17
|
+
__version__ = "2.31.5"
|
18
18
|
version = __version__
|
19
|
-
__version_tuple__ = (2, 31,
|
19
|
+
__version_tuple__ = (2, 31, 5)
|
20
20
|
version_tuple = __version_tuple__
|
locust/argument_parser.py
CHANGED
@@ -715,7 +715,7 @@ Typically ONLY these options (and --locustfile) need to be specified on workers,
|
|
715
715
|
"-V",
|
716
716
|
action="version",
|
717
717
|
help="Show program's version number and exit",
|
718
|
-
version=f"locust {version} from {os.path.dirname(__file__)} (Python {platform.python_version()}
|
718
|
+
version=f"locust {version} from {os.path.dirname(__file__)} (Python {platform.python_version()})",
|
719
719
|
)
|
720
720
|
other_group.add_argument(
|
721
721
|
"--exit-code-on-error",
|
locust/main.py
CHANGED
@@ -39,12 +39,14 @@ from .util.timespan import parse_timespan
|
|
39
39
|
# import external plugins if installed to allow for registering custom arguments etc
|
40
40
|
try:
|
41
41
|
import locust_plugins # pyright: ignore[reportMissingImports]
|
42
|
-
except ModuleNotFoundError:
|
43
|
-
|
42
|
+
except ModuleNotFoundError as e:
|
43
|
+
if e.msg != "No module named 'locust_plugins'":
|
44
|
+
raise
|
44
45
|
try:
|
45
46
|
import locust_cloud # pyright: ignore[reportMissingImports]
|
46
|
-
except ModuleNotFoundError:
|
47
|
-
|
47
|
+
except ModuleNotFoundError as e:
|
48
|
+
if e.msg != "No module named 'locust_cloud'":
|
49
|
+
raise
|
48
50
|
|
49
51
|
version = locust.__version__
|
50
52
|
|