diff --git a/LICENSE.txt b/LICENSE.txt index 452361b..3547e39 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 2020-2023 Martin Wendt +Copyright (c) 2020-2024 Martin Wendt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py index 2058fbe..904605e 100644 --- a/docs/sphinx/conf.py +++ b/docs/sphinx/conf.py @@ -124,7 +124,7 @@ # General information about the project. project = u'stressor' -copyright = u'2020-2023, Martin Wendt' +copyright = u'2020-2024, Martin Wendt' author = u'Martin Wendt' # The version info for the project you're documenting, acts as replacement for diff --git a/docs/sphinx/development.rst b/docs/sphinx/development.rst index 52393a0..f3382ce 100644 --- a/docs/sphinx/development.rst +++ b/docs/sphinx/development.rst @@ -27,11 +27,11 @@ Work in a Virtual Environment Install Python ^^^^^^^^^^^^^^ -We need `Python 3.7+ `_, +We need `Python 3.9+ `_, and `pipenv `_ on our system. -If you want to run tests on *all* supported platforms, install Python 3.7, -3.8, 3.9, 3.10, and 3.11. +If you want to run tests on *all* supported platforms, install Python 3.9, 3.10, +3.11, and 3.12. Create and Activate the Virtual Environment ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/setup_bdist_msi.py b/setup_bdist_msi.py index a4eb720..4c69390 100644 --- a/setup_bdist_msi.py +++ b/setup_bdist_msi.py @@ -78,7 +78,7 @@ targetName="stressor.exe", icon="docs/logo.ico", shortcutName="stressor", - copyright="(c) 2020-2023 Martin Wendt", + copyright="(c) 2020-2024 Martin Wendt", ) ] @@ -90,7 +90,7 @@ "excludes": [ "tkinter", ], - "constants": "BUILD_COPYRIGHT='(c) 2020-2023 Martin Wendt'", + "constants": "BUILD_COPYRIGHT='(c) 2020-2024 Martin Wendt'", "include_msvcr": True, } @@ -109,7 +109,7 @@ version=version, author="Martin Wendt", author_email="stressor@wwwendt.de", - # copyright="(c) 2020-2023 Martin Wendt", + # copyright="(c) 2020-2024 Martin Wendt", maintainer="Martin Wendt", maintainer_email="stressor@wwwendt.de", url="https://github.com/mar10/stressor", diff --git a/stressor/cli_common.py b/stressor/cli_common.py index 740fd74..2cc5061 100644 --- a/stressor/cli_common.py +++ b/stressor/cli_common.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/config_manager.py b/stressor/config_manager.py index eade6dc..d29210d 100644 --- a/stressor/config_manager.py +++ b/stressor/config_manager.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/context_stack.py b/stressor/context_stack.py index d53053a..0578fda 100644 --- a/stressor/context_stack.py +++ b/stressor/context_stack.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/convert/har_converter.py b/stressor/convert/har_converter.py index 4e511d6..729deca 100644 --- a/stressor/convert/har_converter.py +++ b/stressor/convert/har_converter.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ https://w3c.github.io/web-performance/specs/HAR/Overview.html @@ -25,7 +25,6 @@ logger = logging.getLogger("stressor.har") EMPTY_TUPLE = tuple() -PATTERN_TYPE = type(re.compile("foo")) # 're.Pattern' requires Python 3.7+ class HarConverter: @@ -73,7 +72,6 @@ def __init__(self, opts): for pattern in self.opts["statics_types"]: if isinstance(pattern, str): pattern = re.compile(pattern, re.IGNORECASE) - assert isinstance(pattern, PATTERN_TYPE) pl.append(pattern) self.opts["statics_types"] = pl diff --git a/stressor/monitor/htdocs/index.html b/stressor/monitor/htdocs/index.html index 7743602..ba0c6c8 100644 --- a/stressor/monitor/htdocs/index.html +++ b/stressor/monitor/htdocs/index.html @@ -165,8 +165,8 @@

Stressor v - © 2020-2023 Martin Wendt + © 2020-2024 Martin Wendt
- \ No newline at end of file + diff --git a/stressor/monitor/server.py b/stressor/monitor/server.py index 86680c2..25a246e 100644 --- a/stressor/monitor/server.py +++ b/stressor/monitor/server.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/plugin_manager.py b/stressor/plugin_manager.py index cab3cb0..cba904f 100644 --- a/stressor/plugin_manager.py +++ b/stressor/plugin_manager.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/yabs +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/yabs # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/plugins/base.py b/stressor/plugins/base.py index c53db8b..504c265 100644 --- a/stressor/plugins/base.py +++ b/stressor/plugins/base.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/plugins/common.py b/stressor/plugins/common.py index ac37bfd..366f4b8 100644 --- a/stressor/plugins/common.py +++ b/stressor/plugins/common.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/plugins/http_activities.py b/stressor/plugins/http_activities.py index f5ad480..5907d8a 100644 --- a/stressor/plugins/http_activities.py +++ b/stressor/plugins/http_activities.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/plugins/script_activities.py b/stressor/plugins/script_activities.py index 88b86bd..017d1d8 100644 --- a/stressor/plugins/script_activities.py +++ b/stressor/plugins/script_activities.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/run_manager.py b/stressor/run_manager.py index bd7682d..1025a2f 100644 --- a/stressor/run_manager.py +++ b/stressor/run_manager.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/session_manager.py b/stressor/session_manager.py index c6602dd..e939e83 100644 --- a/stressor/session_manager.py +++ b/stressor/session_manager.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/statistic_manager.py b/stressor/statistic_manager.py index 11ba94a..cb0f0c5 100644 --- a/stressor/statistic_manager.py +++ b/stressor/statistic_manager.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/stressor/stressor_cli.py b/stressor/stressor_cli.py index eeb62fc..a4b42b6 100644 --- a/stressor/stressor_cli.py +++ b/stressor/stressor_cli.py @@ -1,7 +1,7 @@ """ Stress-test your web app. -(c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +(c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php Usage examples: diff --git a/stressor/util.py b/stressor/util.py index 49950f9..b5fec96 100644 --- a/stressor/util.py +++ b/stressor/util.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/tests/conftest.py b/tests/conftest.py index b93795b..e85bfae 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/tests/mock_server.py b/tests/mock_server.py index 1eced0e..89b5812 100644 --- a/tests/mock_server.py +++ b/tests/mock_server.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ Test helpers. diff --git a/tests/test_config_manager.py b/tests/test_config_manager.py index 45af350..07ca279 100644 --- a/tests/test_config_manager.py +++ b/tests/test_config_manager.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/tests/test_context_stack.py b/tests/test_context_stack.py index 5383754..1560d7e 100644 --- a/tests/test_context_stack.py +++ b/tests/test_context_stack.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/tests/test_convert.py b/tests/test_convert.py index 193884b..099d672 100644 --- a/tests/test_convert.py +++ b/tests/test_convert.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/tests/test_plugin_manager.py b/tests/test_plugin_manager.py index 15046ee..6bc913f 100644 --- a/tests/test_plugin_manager.py +++ b/tests/test_plugin_manager.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/tests/test_run_manager.py b/tests/test_run_manager.py index f227a2f..e6e45dc 100644 --- a/tests/test_run_manager.py +++ b/tests/test_run_manager.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/tests/test_script_activities.py b/tests/test_script_activities.py index 4fc7a16..3aa7236 100644 --- a/tests/test_script_activities.py +++ b/tests/test_script_activities.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/tests/test_util.py b/tests/test_util.py index c3a92e0..a0fd6e0 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ """ diff --git a/tests/util.py b/tests/util.py index 881abc6..9a6b1e3 100644 --- a/tests/util.py +++ b/tests/util.py @@ -1,4 +1,4 @@ -# (c) 2020-2023 Martin Wendt and contributors; see https://github.com/mar10/stressor +# (c) 2020-2024 Martin Wendt and contributors; see https://github.com/mar10/stressor # Licensed under the MIT license: https://www.opensource.org/licenses/mit-license.php """ Test helpers.