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.
Files changed (59) hide show
  1. {locust-2.34.0 → locust-2.34.1}/PKG-INFO +2 -3
  2. {locust-2.34.0 → locust-2.34.1}/locust/_version.py +2 -2
  3. {locust-2.34.0 → locust-2.34.1}/locust/clients.py +4 -6
  4. {locust-2.34.0 → locust-2.34.1}/locust/env.py +2 -1
  5. {locust-2.34.0 → locust-2.34.1}/locust/input_events.py +1 -1
  6. {locust-2.34.0 → locust-2.34.1}/locust/main.py +0 -3
  7. {locust-2.34.0 → locust-2.34.1}/locust/runners.py +2 -2
  8. {locust-2.34.0 → locust-2.34.1}/locust/stats.py +2 -2
  9. {locust-2.34.0 → locust-2.34.1}/locust/user/task.py +1 -1
  10. {locust-2.34.0 → locust-2.34.1}/locust/user/users.py +2 -1
  11. {locust-2.34.0 → locust-2.34.1}/pyproject.toml +4 -5
  12. {locust-2.34.0 → locust-2.34.1}/.gitignore +0 -0
  13. {locust-2.34.0 → locust-2.34.1}/LICENSE +0 -0
  14. {locust-2.34.0 → locust-2.34.1}/README.md +0 -0
  15. {locust-2.34.0 → locust-2.34.1}/hatch_build.py +0 -0
  16. {locust-2.34.0 → locust-2.34.1}/locust/__init__.py +0 -0
  17. {locust-2.34.0 → locust-2.34.1}/locust/__main__.py +0 -0
  18. {locust-2.34.0 → locust-2.34.1}/locust/argument_parser.py +0 -0
  19. {locust-2.34.0 → locust-2.34.1}/locust/contrib/__init__.py +0 -0
  20. {locust-2.34.0 → locust-2.34.1}/locust/contrib/fasthttp.py +0 -0
  21. {locust-2.34.0 → locust-2.34.1}/locust/contrib/mongodb.py +0 -0
  22. {locust-2.34.0 → locust-2.34.1}/locust/contrib/oai.py +0 -0
  23. {locust-2.34.0 → locust-2.34.1}/locust/contrib/postgres.py +0 -0
  24. {locust-2.34.0 → locust-2.34.1}/locust/debug.py +0 -0
  25. {locust-2.34.0 → locust-2.34.1}/locust/dispatch.py +0 -0
  26. {locust-2.34.0 → locust-2.34.1}/locust/event.py +0 -0
  27. {locust-2.34.0 → locust-2.34.1}/locust/exception.py +0 -0
  28. {locust-2.34.0 → locust-2.34.1}/locust/html.py +0 -0
  29. {locust-2.34.0 → locust-2.34.1}/locust/log.py +0 -0
  30. {locust-2.34.0 → locust-2.34.1}/locust/py.typed +0 -0
  31. {locust-2.34.0 → locust-2.34.1}/locust/rpc/__init__.py +0 -0
  32. {locust-2.34.0 → locust-2.34.1}/locust/rpc/protocol.py +0 -0
  33. {locust-2.34.0 → locust-2.34.1}/locust/rpc/zmqrpc.py +0 -0
  34. {locust-2.34.0 → locust-2.34.1}/locust/shape.py +0 -0
  35. {locust-2.34.0 → locust-2.34.1}/locust/user/__init__.py +0 -0
  36. {locust-2.34.0 → locust-2.34.1}/locust/user/inspectuser.py +0 -0
  37. {locust-2.34.0 → locust-2.34.1}/locust/user/sequential_taskset.py +0 -0
  38. {locust-2.34.0 → locust-2.34.1}/locust/user/wait_time.py +0 -0
  39. {locust-2.34.0 → locust-2.34.1}/locust/util/__init__.py +0 -0
  40. {locust-2.34.0 → locust-2.34.1}/locust/util/cache.py +0 -0
  41. {locust-2.34.0 → locust-2.34.1}/locust/util/date.py +0 -0
  42. {locust-2.34.0 → locust-2.34.1}/locust/util/deprecation.py +0 -0
  43. {locust-2.34.0 → locust-2.34.1}/locust/util/directory.py +0 -0
  44. {locust-2.34.0 → locust-2.34.1}/locust/util/exception_handler.py +0 -0
  45. {locust-2.34.0 → locust-2.34.1}/locust/util/load_locustfile.py +0 -0
  46. {locust-2.34.0 → locust-2.34.1}/locust/util/rounding.py +0 -0
  47. {locust-2.34.0 → locust-2.34.1}/locust/util/timespan.py +0 -0
  48. {locust-2.34.0 → locust-2.34.1}/locust/util/url.py +0 -0
  49. {locust-2.34.0 → locust-2.34.1}/locust/web.py +0 -0
  50. {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/favicon-dark.png +0 -0
  51. {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/favicon-light.png +0 -0
  52. {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/graphs-dark.png +0 -0
  53. {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/graphs-light.png +0 -0
  54. {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/index-B5kHPwXy.js +0 -0
  55. {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/testruns-dark.png +0 -0
  56. {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/assets/testruns-light.png +0 -0
  57. {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/auth.html +0 -0
  58. {locust-2.34.0 → locust-2.34.1}/locust/webui/dist/index.html +0 -0
  59. {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.0
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.9
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
@@ -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.0'
21
- __version_tuple__ = version_tuple = (2, 34, 0)
20
+ __version__ = version = '2.34.1'
21
+ __version_tuple__ = version_tuple = (2, 34, 1)
@@ -373,12 +373,10 @@ class ResponseContextManager(LocustResponse):
373
373
  while (
374
374
  isinstance(
375
375
  e,
376
- (
377
- requests.exceptions.ConnectionError,
378
- requests.packages.urllib3.exceptions.ProtocolError,
379
- requests.packages.urllib3.exceptions.MaxRetryError,
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
  ):
@@ -1,7 +1,8 @@
1
1
  from __future__ import annotations
2
2
 
3
+ from collections.abc import Callable
3
4
  from operator import methodcaller
4
- from typing import Callable, TypeVar
5
+ from typing import TypeVar
5
6
 
6
7
  from configargparse import Namespace
7
8
 
@@ -4,7 +4,7 @@ import collections
4
4
  import logging
5
5
  import os
6
6
  import sys
7
- from typing import Callable
7
+ from collections.abc import Callable
8
8
 
9
9
  import gevent
10
10
 
@@ -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, Callable, NoReturn, TypedDict, cast
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, Callable, NoReturn, Protocol, TypedDict, TypeVar, cast
17
+ from typing import TYPE_CHECKING, Any, NoReturn, Protocol, TypedDict, TypeVar, cast
18
18
 
19
19
  import gevent
20
20
 
@@ -6,10 +6,10 @@ import logging
6
6
  import random
7
7
  import traceback
8
8
  from collections import deque
9
+ from collections.abc import Callable
9
10
  from time import time
10
11
  from typing import (
11
12
  TYPE_CHECKING,
12
- Callable,
13
13
  Protocol,
14
14
  TypeVar,
15
15
  final,
@@ -16,7 +16,8 @@ from locust.util import deprecation
16
16
  import logging
17
17
  import time
18
18
  import traceback
19
- from typing import Callable, final
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.9"
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 = "py39"
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.9"
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.9", "3.10", "3.11", "3.12", "3.13"]
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