locust 2.34.0__tar.gz → 2.34.1__tar.gz
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-2.34.0 → locust-2.34.1}/PKG-INFO +2 -3
- {locust-2.34.0 → locust-2.34.1}/locust/_version.py +2 -2
- {locust-2.34.0 → locust-2.34.1}/locust/clients.py +4 -6
- {locust-2.34.0 → locust-2.34.1}/locust/env.py +2 -1
- {locust-2.34.0 → locust-2.34.1}/locust/input_events.py +1 -1
- {locust-2.34.0 → locust-2.34.1}/locust/main.py +0 -3
- {locust-2.34.0 → locust-2.34.1}/locust/runners.py +2 -2
- {locust-2.34.0 → locust-2.34.1}/locust/stats.py +2 -2
- {locust-2.34.0 → locust-2.34.1}/locust/user/task.py +1 -1
- {locust-2.34.0 → locust-2.34.1}/locust/user/users.py +2 -1
- {locust-2.34.0 → locust-2.34.1}/pyproject.toml +4 -5
- {locust-2.34.0 → locust-2.34.1}/.gitignore +0 -0
- {locust-2.34.0 → locust-2.34.1}/LICENSE +0 -0
- {locust-2.34.0 → locust-2.34.1}/README.md +0 -0
- {locust-2.34.0 → locust-2.34.1}/hatch_build.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/__init__.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/__main__.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/argument_parser.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/contrib/__init__.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/contrib/fasthttp.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/contrib/mongodb.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/contrib/oai.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/contrib/postgres.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/debug.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/dispatch.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/event.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/exception.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/html.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/log.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/py.typed +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/rpc/__init__.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/rpc/protocol.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/rpc/zmqrpc.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/shape.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/user/__init__.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/user/inspectuser.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/user/sequential_taskset.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/user/wait_time.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/util/__init__.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/util/cache.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/util/date.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/util/deprecation.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/util/directory.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/util/exception_handler.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/util/load_locustfile.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/util/rounding.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/util/timespan.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/util/url.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/web.py +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/favicon-dark.png +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/favicon-light.png +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/graphs-dark.png +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/graphs-light.png +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/index-B5kHPwXy.js +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/testruns-dark.png +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/testruns-light.png +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/auth.html +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/index.html +0 -0
- {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/report.html +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: locust
|
3
|
-
Version: 2.34.
|
3
|
+
Version: 2.34.1
|
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
|
@@ -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
|
):
|
@@ -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:
|
@@ -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
|
@@ -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
|
|
@@ -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
|
@@ -8,7 +8,7 @@ description = "Developer-friendly load testing framework"
|
|
8
8
|
license = { text = "MIT" }
|
9
9
|
dynamic = ["version"]
|
10
10
|
readme = "README.md"
|
11
|
-
requires-python = ">=3.
|
11
|
+
requires-python = ">=3.10"
|
12
12
|
authors = [{ name = "Jonatan Heyman" }, { name = "Lars Holmberg" }]
|
13
13
|
maintainers = [
|
14
14
|
{ name = "Lars Holmberg" },
|
@@ -23,7 +23,6 @@ classifiers = [
|
|
23
23
|
"Operating System :: OS Independent",
|
24
24
|
"Programming Language :: Python",
|
25
25
|
"Programming Language :: Python :: 3",
|
26
|
-
"Programming Language :: Python :: 3.9",
|
27
26
|
"Programming Language :: Python :: 3.10",
|
28
27
|
"Programming Language :: Python :: 3.11",
|
29
28
|
"Programming Language :: Python :: 3.12",
|
@@ -125,7 +124,7 @@ local_scheme = "no-local-version"
|
|
125
124
|
[tool.hatch.build.targets.BuildFrontend.hooks.custom]
|
126
125
|
|
127
126
|
[tool.ruff]
|
128
|
-
target-version = "
|
127
|
+
target-version = "py310"
|
129
128
|
line-length = 120
|
130
129
|
extend-exclude = [
|
131
130
|
"build",
|
@@ -156,7 +155,7 @@ locust = ["locust"]
|
|
156
155
|
[tool.mypy]
|
157
156
|
# missing type stubs
|
158
157
|
ignore_missing_imports = true
|
159
|
-
python_version = "3.
|
158
|
+
python_version = "3.10"
|
160
159
|
|
161
160
|
[tool.pyright]
|
162
161
|
exclude = ["locust/test"]
|
@@ -199,7 +198,7 @@ run = [
|
|
199
198
|
template = "hatch-test"
|
200
199
|
|
201
200
|
[[tool.hatch.envs.test.matrix]]
|
202
|
-
python = ["3.
|
201
|
+
python = ["3.10", "3.11", "3.12", "3.13"]
|
203
202
|
|
204
203
|
|
205
204
|
## Run all unit tests and advanced debugging
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|