locust 2.34.1.dev1__py3-none-any.whl → 2.34.1.dev7__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/clients.py +4 -6
- locust/env.py +2 -1
- locust/input_events.py +1 -1
- locust/main.py +0 -3
- locust/runners.py +2 -2
- locust/stats.py +2 -2
- locust/user/task.py +1 -1
- locust/user/users.py +2 -1
- {locust-2.34.1.dev1.dist-info → locust-2.34.1.dev7.dist-info}/METADATA +2 -3
- {locust-2.34.1.dev1.dist-info → locust-2.34.1.dev7.dist-info}/RECORD +14 -14
- {locust-2.34.1.dev1.dist-info → locust-2.34.1.dev7.dist-info}/WHEEL +0 -0
- {locust-2.34.1.dev1.dist-info → locust-2.34.1.dev7.dist-info}/entry_points.txt +0 -0
- {locust-2.34.1.dev1.dist-info → locust-2.34.1.dev7.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.34.1.
|
21
|
-
__version_tuple__ = version_tuple = (2, 34, 1, '
|
20
|
+
__version__ = version = '2.34.1.dev7'
|
21
|
+
__version_tuple__ = version_tuple = (2, 34, 1, 'dev7')
|
locust/clients.py
CHANGED
@@ -373,12 +373,10 @@ class ResponseContextManager(LocustResponse):
|
|
373
373
|
while (
|
374
374
|
isinstance(
|
375
375
|
e,
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
requests.packages.urllib3.exceptions.NewConnectionError,
|
381
|
-
),
|
376
|
+
requests.exceptions.ConnectionError
|
377
|
+
| requests.packages.urllib3.exceptions.ProtocolError
|
378
|
+
| requests.packages.urllib3.exceptions.MaxRetryError
|
379
|
+
| requests.packages.urllib3.exceptions.NewConnectionError,
|
382
380
|
)
|
383
381
|
and e.__context__ # Not sure if the above exceptions can ever be the lowest level, but it is good to be sure
|
384
382
|
):
|
locust/env.py
CHANGED
locust/input_events.py
CHANGED
locust/main.py
CHANGED
@@ -287,9 +287,6 @@ def main():
|
|
287
287
|
|
288
288
|
greenlet_exception_handler = greenlet_exception_logger(logger)
|
289
289
|
|
290
|
-
if sys.version_info < (3, 10):
|
291
|
-
logger.warning("Python 3.9 support is deprecated and will be removed soon")
|
292
|
-
|
293
290
|
if options.list_commands:
|
294
291
|
print("Available Users:")
|
295
292
|
for name in user_classes:
|
locust/runners.py
CHANGED
@@ -14,10 +14,10 @@ import time
|
|
14
14
|
import traceback
|
15
15
|
from abc import abstractmethod
|
16
16
|
from collections import defaultdict
|
17
|
-
from collections.abc import Iterator, MutableMapping, ValuesView
|
17
|
+
from collections.abc import Callable, Iterator, MutableMapping, ValuesView
|
18
18
|
from operator import itemgetter, methodcaller
|
19
19
|
from types import TracebackType
|
20
|
-
from typing import TYPE_CHECKING, Any,
|
20
|
+
from typing import TYPE_CHECKING, Any, NoReturn, TypedDict, cast
|
21
21
|
from uuid import uuid4
|
22
22
|
|
23
23
|
import gevent
|
locust/stats.py
CHANGED
@@ -9,12 +9,12 @@ import signal
|
|
9
9
|
import time
|
10
10
|
from abc import abstractmethod
|
11
11
|
from collections import OrderedDict, defaultdict, namedtuple
|
12
|
-
from collections.abc import Iterable
|
12
|
+
from collections.abc import Callable, Iterable
|
13
13
|
from copy import copy
|
14
14
|
from html import escape
|
15
15
|
from itertools import chain
|
16
16
|
from types import FrameType
|
17
|
-
from typing import TYPE_CHECKING, Any,
|
17
|
+
from typing import TYPE_CHECKING, Any, NoReturn, Protocol, TypedDict, TypeVar, cast
|
18
18
|
|
19
19
|
import gevent
|
20
20
|
|
locust/user/task.py
CHANGED
locust/user/users.py
CHANGED
@@ -16,7 +16,8 @@ from locust.util import deprecation
|
|
16
16
|
import logging
|
17
17
|
import time
|
18
18
|
import traceback
|
19
|
-
from
|
19
|
+
from collections.abc import Callable
|
20
|
+
from typing import final
|
20
21
|
|
21
22
|
from gevent import GreenletExit, greenlet
|
22
23
|
from gevent.pool import Group
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: locust
|
3
|
-
Version: 2.34.1.
|
3
|
+
Version: 2.34.1.dev7
|
4
4
|
Summary: Developer-friendly load testing framework
|
5
5
|
Project-URL: homepage, https://locust.io/
|
6
6
|
Project-URL: repository, https://github.com/locustio/locust
|
@@ -16,7 +16,6 @@ Classifier: License :: OSI Approved :: MIT License
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
17
17
|
Classifier: Programming Language :: Python
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
19
|
-
Classifier: Programming Language :: Python :: 3.9
|
20
19
|
Classifier: Programming Language :: Python :: 3.10
|
21
20
|
Classifier: Programming Language :: Python :: 3.11
|
22
21
|
Classifier: Programming Language :: Python :: 3.12
|
@@ -24,7 +23,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
24
23
|
Classifier: Topic :: Software Development :: Testing
|
25
24
|
Classifier: Topic :: Software Development :: Testing :: Traffic Generation
|
26
25
|
Classifier: Topic :: System :: Distributed Computing
|
27
|
-
Requires-Python: >=3.
|
26
|
+
Requires-Python: >=3.10
|
28
27
|
Requires-Dist: configargparse>=1.5.5
|
29
28
|
Requires-Dist: flask-cors>=3.0.10
|
30
29
|
Requires-Dist: flask-login>=0.6.3
|
@@ -1,21 +1,21 @@
|
|
1
1
|
locust/__init__.py,sha256=aWeuBPUxONjwNm1xp4v8L4BO14SuYLjscIiwJVX1Ui4,1746
|
2
2
|
locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
|
3
|
-
locust/_version.py,sha256=
|
3
|
+
locust/_version.py,sha256=PadaBp6xoxswHVyhCZG3b24_A9jkmpaYb6GkKOi-bLU,526
|
4
4
|
locust/argument_parser.py,sha256=ruSJcY4ouERwVopHvHDK-obQD6nlRKDqjLLwje2SH9k,32806
|
5
|
-
locust/clients.py,sha256=
|
5
|
+
locust/clients.py,sha256=o-277lWQdpmPnoRTdf3IQVNPQT8LMFDtPtuxbLHQIIs,19286
|
6
6
|
locust/debug.py,sha256=7CCm8bIg44uGH2wqBlo1rXBzV2VzwPicLxLewz8r5CQ,5099
|
7
7
|
locust/dispatch.py,sha256=prdwtb9EoN4A9klgiKgWuwQmvFB8hEuFHOK6ot62AJI,16202
|
8
|
-
locust/env.py,sha256=
|
8
|
+
locust/env.py,sha256=wFHwdCdhW_xlEdccfkYVTQDqGFc9Jn5Tn6jeLc6ay4U,13092
|
9
9
|
locust/event.py,sha256=AWoeG2q11Vpupv1eW9Rf2N0EI4dDDAldKe6zY1ajC7I,8717
|
10
10
|
locust/exception.py,sha256=jGgJ32ubuf4pWdlaVOkbh2Y0LlG0_DHi-lv3ib8ppOE,1791
|
11
11
|
locust/html.py,sha256=4g0LxqwU6phtu4WpmqvZROsz3LTvSWaq5oYIbrs7Rls,4011
|
12
|
-
locust/input_events.py,sha256=
|
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=4PbxU8l415OI0cke6oWsLWn5NHpuOEpndFfEguDMPZM,27790
|
15
15
|
locust/py.typed,sha256=gkWLl8yD4mIZnNYYAIRM8g9VarLvWmTAFeUfEbxJLBw,65
|
16
|
-
locust/runners.py,sha256=
|
16
|
+
locust/runners.py,sha256=niYmGsfOpxMfVmTXGod4MYTefpaZ2wirFlhqxRw5mq4,70617
|
17
17
|
locust/shape.py,sha256=t-lwBS8LOjWcKXNL7j2U3zroIXJ1b0fazUwpRYQOKXw,1973
|
18
|
-
locust/stats.py,sha256=
|
18
|
+
locust/stats.py,sha256=zUZaz3fZstG0kEkJzr7tBcnwssjhKbQb6Z2FirPIBbI,46023
|
19
19
|
locust/web.py,sha256=pXAGdixk7gzYLQKRWUbthuapasSrSiF1oCpqIVM14LA,30244
|
20
20
|
locust/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
21
|
locust/contrib/fasthttp.py,sha256=BCuKG0qpBIhXdejjPSbAMSaSd6piJtuLdx96_LWbIgI,29349
|
@@ -28,8 +28,8 @@ locust/rpc/zmqrpc.py,sha256=tMeLQiLII8QP29lAHGZsj5Pf5FsTL-X4wM0DrtR3ALw,3214
|
|
28
28
|
locust/user/__init__.py,sha256=RgdRCflP2dIDcvwVMdhPQHAMhWVwQarQ9wWjF9HKk0w,151
|
29
29
|
locust/user/inspectuser.py,sha256=KgrWHyE5jhK6or58R7soLRf-_st42AaQrR72qbiXw9E,2641
|
30
30
|
locust/user/sequential_taskset.py,sha256=SbrrGU9HV2nEWe6zQVtjymn8NgPISP7QSNoVdyoXjYg,2687
|
31
|
-
locust/user/task.py,sha256=
|
32
|
-
locust/user/users.py,sha256=
|
31
|
+
locust/user/task.py,sha256=tVooUkBTb2BXmO21zKI9Fq5v2GxsZE5-za-y97SMhZg,16753
|
32
|
+
locust/user/users.py,sha256=c3Dtldg5ypA0rAE4eBn1mCzFtJ-Nq9BPblqM67wEjSY,10016
|
33
33
|
locust/user/wait_time.py,sha256=bGRKMVx4lom75sX3POYJUa1CPeME2bEAXG6CEgxSO5U,2675
|
34
34
|
locust/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
35
35
|
locust/util/cache.py,sha256=IxbpGawl0-hoWKvCrtksxjSLf2GbBBTVns06F7mFBkM,1062
|
@@ -51,8 +51,8 @@ locust/webui/dist/assets/graphs-light.png,sha256=7L6pOehXqCojQclzeP91l-LskFQAw_n
|
|
51
51
|
locust/webui/dist/assets/index-B5kHPwXy.js,sha256=g35lOMutKX6jyY_oKztpXs8XYmeB9jt1OPG0PEPjQgQ,1687466
|
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.34.1.
|
55
|
-
locust-2.34.1.
|
56
|
-
locust-2.34.1.
|
57
|
-
locust-2.34.1.
|
58
|
-
locust-2.34.1.
|
54
|
+
locust-2.34.1.dev7.dist-info/METADATA,sha256=FaXcP4o3T34X_6a5GjRVOf_-Ua9k3QHmR5CRdFmDDIY,9588
|
55
|
+
locust-2.34.1.dev7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
56
|
+
locust-2.34.1.dev7.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
|
57
|
+
locust-2.34.1.dev7.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
|
58
|
+
locust-2.34.1.dev7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|