Skip to content

Commit

Permalink
2024
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed Apr 28, 2024
1 parent b20002e commit e95978e
Show file tree
Hide file tree
Showing 30 changed files with 35 additions and 37 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/sphinx/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Work in a Virtual Environment

Install Python
^^^^^^^^^^^^^^
We need `Python 3.7+ <https://www.python.org/downloads/>`_,
We need `Python 3.9+ <https://www.python.org/downloads/>`_,
and `pipenv <https://github.com/kennethreitz/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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
6 changes: 3 additions & 3 deletions setup_bdist_msi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
]

Expand All @@ -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,
}

Expand All @@ -109,7 +109,7 @@
version=version,
author="Martin Wendt",
author_email="[email protected]",
# copyright="(c) 2020-2023 Martin Wendt",
# copyright="(c) 2020-2024 Martin Wendt",
maintainer="Martin Wendt",
maintainer_email="[email protected]",
url="https://github.com/mar10/stressor",
Expand Down
2 changes: 1 addition & 1 deletion stressor/cli_common.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion stressor/config_manager.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion stressor/context_stack.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
4 changes: 1 addition & 3 deletions stressor/convert/har_converter.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions stressor/monitor/htdocs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ <h2>

<div id="statusBar">
<a href="https://github.com/mar10/stressor">Stressor v<span id="version"></span></a>
&copy; 2020-2023 Martin Wendt
&copy; 2020-2024 Martin Wendt
</div>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion stressor/monitor/server.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion stressor/plugin_manager.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion stressor/plugins/base.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion stressor/plugins/common.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion stressor/plugins/http_activities.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion stressor/plugins/script_activities.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion stressor/run_manager.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion stressor/session_manager.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion stressor/statistic_manager.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion stressor/stressor_cli.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion stressor/util.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/mock_server.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_config_manager.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_context_stack.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_convert.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_plugin_manager.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_run_manager.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_script_activities.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_util.py
Original file line number Diff line number Diff line change
@@ -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
"""
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/util.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit e95978e

Please sign in to comment.