From 8075f841f7c02f1b608773d657b0f2b363d60945 Mon Sep 17 00:00:00 2001 From: Artem Rys Date: Tue, 30 Jan 2024 15:14:16 +0100 Subject: [PATCH 1/7] chore(release): v4.12.0 (#346) Preparing for the release. --------- Co-authored-by: sgoral-splunk <138458044+sgoral-splunk@users.noreply.github.com> --- .pre-commit-config.yaml | 4 ++ solnlib/log.py | 23 +++++++++ tests/integration/_search.py | 5 +- .../bin/solnlib_demo_collector.py | 2 +- tests/integration/test__kvstore.py | 5 +- tests/integration/test_acl.py | 5 +- tests/integration/test_conf_manager.py | 7 ++- tests/integration/test_credentials.py | 6 +-- tests/integration/test_hec_config.py | 6 +-- tests/integration/test_hec_event_writer.py | 5 +- tests/integration/test_logger.py | 4 +- tests/integration/test_splunkenv.py | 2 +- tests/integration/test_time_parser.py | 6 +-- tests/integration/test_user_access.py | 6 +-- tests/unit/test_acl.py | 38 ++++++++++++--- tests/unit/test_log.py | 33 +++++++++++++ tests/unit/test_modular_input.py | 41 +++++++++++----- tests/unit/test_modular_input_event.py | 48 ++++++++++++++----- tests/unit/test_modular_input_event_writer.py | 12 +++-- tests/unit/test_server_info.py | 8 +++- tests/unit/test_user_access.py | 8 ++-- 21 files changed, 205 insertions(+), 69 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c9acf0b1..3224e995 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,3 +13,7 @@ repos: hooks: - id: docformatter args: [--in-place] +- repo: https://github.com/PyCQA/flake8 + rev: 5.0.4 + hooks: + - id: flake8 diff --git a/solnlib/log.py b/solnlib/log.py index ecb23a5a..0d624c9b 100644 --- a/solnlib/log.py +++ b/solnlib/log.py @@ -19,6 +19,7 @@ import logging import logging.handlers import os.path as op +import traceback from threading import Lock from typing import Dict, Any @@ -263,3 +264,25 @@ def events_ingested( "n_events": n_events, }, ) + + +def log_exception( + logger: logging.Logger, + e: Exception, + full_msg: bool = True, + msg_before: str = None, + msg_after: str = None, + log_level: int = logging.ERROR, +): + """General function to log exceptions.""" + exc_type, exc_value, exc_traceback = type(e), e, e.__traceback__ + if full_msg: + error = traceback.format_exception(exc_type, exc_value, exc_traceback) + else: + error = traceback.format_exception_only(exc_type, exc_value) + + msg_start = msg_before if msg_before is not None else "" + msg_mid = "".join(error) + msg_end = msg_after if msg_after is not None else "" + msg = f"{msg_start}\n{msg_mid}\n{msg_end}" + logger.log(log_level, msg) diff --git a/tests/integration/_search.py b/tests/integration/_search.py index ac6c88f4..9e9abe63 100644 --- a/tests/integration/_search.py +++ b/tests/integration/_search.py @@ -13,15 +13,16 @@ # See the License for the specific language governing permissions and # limitations under the License. # +import context import os.path as op import sys import time -sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) -import context from splunklib import client from splunklib import results as splunklib_results +sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) + def search(session_key, query): service = client.connect(host=context.host, token=session_key) diff --git a/tests/integration/data/solnlib_demo/bin/solnlib_demo_collector.py b/tests/integration/data/solnlib_demo/bin/solnlib_demo_collector.py index fbe00127..ff61ca72 100644 --- a/tests/integration/data/solnlib_demo/bin/solnlib_demo_collector.py +++ b/tests/integration/data/solnlib_demo/bin/solnlib_demo_collector.py @@ -2,7 +2,7 @@ import uuid from solnlib import log -from solnlib.modular_input import * +from solnlib.modular_input import ModularInput, Argument # Set log context log.Logs.set_context(namespace="solnlib_demo", root_logger_log_file="collector") diff --git a/tests/integration/test__kvstore.py b/tests/integration/test__kvstore.py index 540fc343..da93a34d 100644 --- a/tests/integration/test__kvstore.py +++ b/tests/integration/test__kvstore.py @@ -14,6 +14,7 @@ # limitations under the License. # +import context import json import os.path as op import sys @@ -22,11 +23,11 @@ import pytest -sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) -import context from splunklib import binding, client from splunklib.binding import HTTPError +sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) + def test_kvstore(): session_key = context.get_session_key() diff --git a/tests/integration/test_acl.py b/tests/integration/test_acl.py index 3ba29ea8..5acfc43f 100644 --- a/tests/integration/test_acl.py +++ b/tests/integration/test_acl.py @@ -14,13 +14,12 @@ # limitations under the License. # +import context import os.path as op import sys +from solnlib import acl sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) -import context - -from solnlib import acl def test_acl_manager(): diff --git a/tests/integration/test_conf_manager.py b/tests/integration/test_conf_manager.py index ad116e45..ae28fe7e 100644 --- a/tests/integration/test_conf_manager.py +++ b/tests/integration/test_conf_manager.py @@ -14,16 +14,15 @@ # limitations under the License. # +import context import os.path as op import sys +import pytest +from solnlib import conf_manager from unittest import mock -import pytest sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) -import context - -from solnlib import conf_manager def _build_conf_manager(session_key: str) -> conf_manager.ConfManager: diff --git a/tests/integration/test_credentials.py b/tests/integration/test_credentials.py index 09de4a02..e6999ec0 100644 --- a/tests/integration/test_credentials.py +++ b/tests/integration/test_credentials.py @@ -14,16 +14,14 @@ # limitations under the License. # +import context import os.path as op import sys from typing import Optional - import pytest +from solnlib import credentials sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) -import context - -from solnlib import credentials def _build_credential_manager( diff --git a/tests/integration/test_hec_config.py b/tests/integration/test_hec_config.py index 001fc796..38159e60 100644 --- a/tests/integration/test_hec_config.py +++ b/tests/integration/test_hec_config.py @@ -14,14 +14,14 @@ # limitations under the License. # +import context import os.path as op import sys -sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) -import context - from solnlib import hec_config +sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) + def test_hec_config(): session_key = context.get_session_key() diff --git a/tests/integration/test_hec_event_writer.py b/tests/integration/test_hec_event_writer.py index 6530095b..3a19ef74 100644 --- a/tests/integration/test_hec_event_writer.py +++ b/tests/integration/test_hec_event_writer.py @@ -13,16 +13,17 @@ # See the License for the specific language governing permissions and # limitations under the License. # +import context import os.path as op import sys import time -sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) -import context from _search import search from solnlib.modular_input import event_writer as hew +sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) + def test_hec_event_writer(): session_key = context.get_session_key() diff --git a/tests/integration/test_logger.py b/tests/integration/test_logger.py index 4829dd00..cd834a72 100644 --- a/tests/integration/test_logger.py +++ b/tests/integration/test_logger.py @@ -13,13 +13,13 @@ # See the License for the specific language governing permissions and # limitations under the License. # +import context import os.path as op import sys import time +from _search import search sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) -import context -from _search import search def test_CVE_2023_32712(): diff --git a/tests/integration/test_splunkenv.py b/tests/integration/test_splunkenv.py index a53b1afb..d9a0c47f 100644 --- a/tests/integration/test_splunkenv.py +++ b/tests/integration/test_splunkenv.py @@ -17,9 +17,9 @@ import os import os.path as op import sys +from solnlib import splunkenv sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) -from solnlib import splunkenv def test_splunkenv(): diff --git a/tests/integration/test_time_parser.py b/tests/integration/test_time_parser.py index c696337c..e21b0a67 100644 --- a/tests/integration/test_time_parser.py +++ b/tests/integration/test_time_parser.py @@ -14,16 +14,14 @@ # limitations under the License. # +import context import datetime import os.path as op import sys - import pytest +from solnlib import time_parser sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) -import context - -from solnlib import time_parser def test_time_parser(): diff --git a/tests/integration/test_user_access.py b/tests/integration/test_user_access.py index 2ba6272b..62a8cfe0 100644 --- a/tests/integration/test_user_access.py +++ b/tests/integration/test_user_access.py @@ -14,16 +14,16 @@ # limitations under the License. # +import context import os.path as op import sys import pytest -sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) -import context - from solnlib import user_access +sys.path.insert(0, op.dirname(op.dirname(op.abspath(__file__)))) + def test_object_acl_manager(): session_key = context.get_session_key() diff --git a/tests/unit/test_acl.py b/tests/unit/test_acl.py index 1aac9527..95490533 100644 --- a/tests/unit/test_acl.py +++ b/tests/unit/test_acl.py @@ -22,13 +22,37 @@ from solnlib import acl -_old_acl = '{"entry": [{"author": "nobody", "name": "transforms", "acl": {"sharing": "global", "perms": {"read": ["*"], "write": ["*"]}, "app": "unittest", "modifiable": true, "owner": "nobody", "can_change_perms": true, "can_share_global": true, "can_list": true, "can_share_user": false, "can_share_app": true, "removable": false, "can_write": true}}]}' - -_new_acl1 = '{"entry": [{"author": "nobody", "name": "transforms", "acl": {"sharing": "global", "perms": {"read": ["admin"], "write": ["admin"]}, "app": "unittest", "modifiable": true, "owner": "nobody", "can_change_perms": true, "can_share_global": true, "can_list": true, "can_share_user": false, "can_share_app": true, "removable": false, "can_write": true}}]}' - -_new_acl2 = '{"entry": [{"author": "nobody", "name": "transforms", "acl": {"sharing": "global", "perms": {"read": ["admin"], "write": ["*"]}, "app": "unittest", "modifiable": true, "owner": "nobody", "can_change_perms": true, "can_share_global": true, "can_list": true, "can_share_user": false, "can_share_app": true, "removable": false, "can_write": true}}]}' - -_new_acl3 = '{"entry": [{"author": "nobody", "name": "transforms", "acl": {"sharing": "global", "perms": {"read": ["*"], "write": ["admin"]}, "app": "unittest", "modifiable": true, "owner": "nobody", "can_change_perms": true, "can_share_global": true, "can_list": true, "can_share_user": false, "can_share_app": true, "removable": false, "can_write": true}}]}' +_old_acl = ( + '{"entry": [{"author": "nobody", "name": "transforms", ' + '"acl": {"sharing": "global", "perms": {"read": ["*"], "write": ["*"]}, ' + '"app": "unittest", "modifiable": true, "owner": "nobody", "can_change_perms": true, ' + '"can_share_global": true, "can_list": true, "can_share_user": false, "can_share_app": true, ' + '"removable": false, "can_write": true}}]}' +) + +_new_acl1 = ( + '{"entry": [{"author": "nobody", "name": "transforms", ' + '"acl": {"sharing": "global", "perms": {"read": ["admin"], "write": ["admin"]}, ' + '"app": "unittest", "modifiable": true, "owner": "nobody", "can_change_perms": true, ' + '"can_share_global": true, "can_list": true, "can_share_user": false, "can_share_app": true, ' + '"removable": false, "can_write": true}}]}' +) + +_new_acl2 = ( + '{"entry": [{"author": "nobody", "name": "transforms", ' + '"acl": {"sharing": "global", "perms": {"read": ["admin"], "write": ["*"]}, ' + '"app": "unittest", "modifiable": true, "owner": "nobody", "can_change_perms": true, ' + '"can_share_global": true, "can_list": true, "can_share_user": false, "can_share_app": true, ' + '"removable": false, "can_write": true}}]}' +) + +_new_acl3 = ( + '{"entry": [{"author": "nobody", "name": "transforms", ' + '"acl": {"sharing": "global", "perms": {"read": ["*"], "write": ["admin"]}, ' + '"app": "unittest", "modifiable": true, "owner": "nobody", "can_change_perms": true, ' + '"can_share_global": true, "can_list": true, "can_share_user": false, "can_share_app": true, ' + '"removable": false, "can_write": true}}]}' +) def _mock_get(self, path_segment, owner=None, app=None, sharing=None, **query): diff --git a/tests/unit/test_log.py b/tests/unit/test_log.py index 93fa5de2..d19a14f0 100644 --- a/tests/unit/test_log.py +++ b/tests/unit/test_log.py @@ -15,10 +15,12 @@ # import logging +import json import multiprocessing import os import shutil import threading +import traceback import time from unittest import mock @@ -197,3 +199,34 @@ def test_events_ingested(): logging.INFO, "action=events_ingested modular_input_name=modular_input_name sourcetype_ingested=sourcetype n_events=5", ) + + +def test_log_exceptions_full_msg(): + start_msg = "some msg before exception" + with mock.patch("logging.Logger") as mock_logger: + try: + test_jsons = "{'a': 'aa'" + json.loads(test_jsons) + except Exception as e: + log.log_exception(mock_logger, e, msg_before=start_msg) + mock_logger.log.assert_called_with( + logging.ERROR, f"{start_msg}\n{traceback.format_exc()}\n" + ) + + +def test_log_exceptions_partial_msg(): + start_msg = "some msg before exception" + end_msg = "some msg after exception" + with mock.patch("logging.Logger") as mock_logger: + try: + test_jsons = "{'a': 'aa'" + json.loads(test_jsons) + except Exception as e: + log.log_exception( + mock_logger, e, full_msg=False, msg_before=start_msg, msg_after=end_msg + ) + mock_logger.log.assert_called_with( + logging.ERROR, + "some msg before exception\njson.decoder.JSONDecodeError: Expecting property name enclosed in double " + "quotes: line 1 column 2 (char 1)\n\nsome msg after exception", + ) diff --git a/tests/unit/test_modular_input.py b/tests/unit/test_modular_input.py index 3eb29736..1af95a6d 100644 --- a/tests/unit/test_modular_input.py +++ b/tests/unit/test_modular_input.py @@ -149,13 +149,22 @@ def flush(self): md.execute() assert ( sys.stdout.read() - == 'unittest app collectorUnittest app collectortruefalsexmlUnittest app collector statestringfalsetrue' + == "unittest app collectorUnittest app collector" + "truefalse" + 'xml' + "Unittest app collector statestring" + "falsetrue" + "" ) sys.argv = [None, "--validate-arguments"] - validate_arugments_input = 'lli-mbpr.localhttps://127.0.0.1:8089{session_key}{checkpoint_dir}success'.format( - session_key=common.SESSION_KEY, checkpoint_dir=checkpoint_dir - ) + validate_arugments_input = ( + "lli-mbpr.local" + "https://127.0.0.1:8089" + "{session_key}" + '{checkpoint_dir}' + 'success' + ).format(session_key=common.SESSION_KEY, checkpoint_dir=checkpoint_dir) with open(".validate-arguments.xml", "w") as fp: fp.write(validate_arugments_input) mock_stdin = open(".validate-arguments.xml", "rb") @@ -165,9 +174,13 @@ def flush(self): os.remove(".validate-arguments.xml") sys.argv = [None, "--validate-arguments"] - validate_arugments_input = 'lli-mbpr.localhttps://127.0.0.1:8089{session_key}{checkpoint_dir}fail'.format( - session_key=common.SESSION_KEY, checkpoint_dir=checkpoint_dir - ) + validate_arugments_input = ( + "lli-mbpr.local" + "https://127.0.0.1:8089" + "{session_key}" + "{checkpoint_dir}" + 'fail' + ).format(session_key=common.SESSION_KEY, checkpoint_dir=checkpoint_dir) with open(".validate-arguments.xml", "w") as fp: fp.write(validate_arugments_input) mock_stdin = open(".validate-arguments.xml", "rb") @@ -178,9 +191,12 @@ def flush(self): os.remove(".validate-arguments.xml") sys.argv = [None] - run_input = 'lli-mbpr.localhttps://127.0.0.1:8089{session_key}{checkpoint_dir}success'.format( - session_key=common.SESSION_KEY, checkpoint_dir=checkpoint_dir - ) + run_input = ( + "lli-mbpr.localhttps://127.0.0.1:8089" + "{session_key}{checkpoint_dir}" + 'success' + "" + ).format(session_key=common.SESSION_KEY, checkpoint_dir=checkpoint_dir) with open(".run.xml", "w") as fp: fp.write(run_input) mock_stdin = open(".run.xml", "rb") @@ -188,7 +204,10 @@ def flush(self): md.execute() assert ( sys.stdout.read() - == 'unittestappunittestapp{"id": 12345, "time": 1461394857.301}unittestappunittestapp12345' + == "unittestapp" + 'unittestapp{"id": 12345, "time": 1461394857.301}' + "unittestappunittestapp" + "12345" ) mock_stdin.close() os.remove(".run.xml") diff --git a/tests/unit/test_modular_input_event.py b/tests/unit/test_modular_input_event.py index d4c22c90..b08f1d41 100644 --- a/tests/unit/test_modular_input_event.py +++ b/tests/unit/test_modular_input_event.py @@ -73,26 +73,41 @@ def setup_class(cls): def test_str(self, monkeypatch): assert ( to_sorted_json_string(self.xe1) - == '{"data": "This is a test data1.", "done": false, "host": "localhost", "index": "main", "source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", "time": 1372274622.493, "unbroken": true}' + == '{"data": "This is a test data1.", "done": false, "host": "localhost", "index": "main", ' + '"source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", ' + '"time": 1372274622.493, "unbroken": true}' ) assert ( to_sorted_json_string(self.xe2) - == '{"data": "This is a test data2.", "done": true, "host": "localhost", "index": "main", "source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", "time": 1372274622.493, "unbroken": true}' + == '{"data": "This is a test data2.", "done": true, "host": "localhost", "index": "main", ' + '"source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", ' + '"time": 1372274622.493, "unbroken": true}' ) assert ( to_sorted_json_string(self.xe3) - == '{"data": "This is a test data3.", "done": false, "host": "localhost", "index": "main", "source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", "time": 1372274622.493, "unbroken": false}' + == '{"data": "This is a test data3.", "done": false, "host": "localhost", "index": "main", ' + '"source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", ' + '"time": 1372274622.493, "unbroken": false}' ) def test_format_events(self, monkeypatch): assert XMLEvent.format_events([self.xe1, self.xe2]) == [ - 'mainlocalhostSplunkmiscThis is a test data1.mainlocalhostSplunkmiscThis is a test data2.' + '' + "mainlocalhostSplunk" + "miscThis is a test data1." + '' + "mainlocalhostSplunkmisc" + "This is a test data2." ] assert XMLEvent.format_events([self.xe3]) == [ - 'mainlocalhostSplunkmiscThis is a test data3.' + '' + "mainlocalhostSplunkmisc" + "This is a test data3." ] assert XMLEvent.format_events([self.xe4]) == [ - 'mainlocalhostSplunkmiscThis is utf-8 \u2603 data4.' + '' + "mainlocalhostSplunkmisc" + "This is utf-8 \u2603 data4." ] @@ -136,15 +151,21 @@ def setup_class(cls): def test_str(self, monkeypatch): assert ( to_sorted_json_string(self.he1) - == '{"data": "This is a test data1.", "done": false, "host": "localhost", "index": "main", "source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", "time": 1372274622.493, "unbroken": true}' + == '{"data": "This is a test data1.", "done": false, "host": "localhost", "index": "main", ' + '"source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", ' + '"time": 1372274622.493, "unbroken": true}' ) assert ( to_sorted_json_string(self.he2) - == '{"data": "This is a test data2.", "done": true, "host": "localhost", "index": "main", "source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", "time": 1372274622.493, "unbroken": true}' + == '{"data": "This is a test data2.", "done": true, "host": "localhost", "index": "main", ' + '"source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", ' + '"time": 1372274622.493, "unbroken": true}' ) assert ( to_sorted_json_string(self.he3) - == '{"data": "This is a test data3.", "done": false, "host": "localhost", "index": "main", "source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", "time": 1372274622.493, "unbroken": false}' + == '{"data": "This is a test data3.", "done": false, "host": "localhost", "index": "main", ' + '"source": "Splunk", "sourcetype": "misc", "stanza": "test_scheme://test", ' + '"time": 1372274622.493, "unbroken": false}' ) def test_format_events(self, monkeypatch): @@ -157,11 +178,13 @@ def test_format_events(self, monkeypatch): assert len(event_strings) == 2 assert ( event_strings[0] - == '{"event": "This is a test data1.", "host": "localhost", "index": "main", "source": "Splunk", "sourcetype": "misc", "time": 1372274622.493}' + == '{"event": "This is a test data1.", "host": "localhost", "index": "main", ' + '"source": "Splunk", "sourcetype": "misc", "time": 1372274622.493}' ) assert ( event_strings[1] - == '{"event": "This is a test data2.", "host": "localhost", "index": "main", "source": "Splunk", "sourcetype": "misc", "time": 1372274622.493}' + == '{"event": "This is a test data2.", "host": "localhost", "index": "main", ' + '"source": "Splunk", "sourcetype": "misc", "time": 1372274622.493}' ) formatted_events = HECEvent.format_events([self.he3]) @@ -173,5 +196,6 @@ def test_format_events(self, monkeypatch): assert len(event_strings) == 1 assert ( event_strings[0] - == '{"event": "This is a test data3.", "host": "localhost", "index": "main", "source": "Splunk", "sourcetype": "misc", "time": 1372274622.493}' + == '{"event": "This is a test data3.", "host": "localhost", "index": "main", ' + '"source": "Splunk", "sourcetype": "misc", "time": 1372274622.493}' ) diff --git a/tests/unit/test_modular_input_event_writer.py b/tests/unit/test_modular_input_event_writer.py index e0e8cf87..1bfcdabf 100644 --- a/tests/unit/test_modular_input_event_writer.py +++ b/tests/unit/test_modular_input_event_writer.py @@ -76,7 +76,11 @@ def flush(self): assert ( mock_stdout.read() - == 'mainlocalhostSplunkmiscThis is a test data1.mainlocalhostSplunkmiscThis is a test data2.' + == 'main' + "localhostSplunkmisc" + 'This is a test data1.mainlocalhostSplunkmisc" + "This is a test data2." ) assert mock_stdout.write_count == 1 @@ -102,11 +106,13 @@ def mock_post( assert ( event_strings[0] - == '{"event": "This is a test data1.", "host": "localhost", "index": "main", "source": "Splunk", "sourcetype": "misc", "time": 1372274622.493}' + == '{"event": "This is a test data1.", "host": "localhost", "index": "main", ' + '"source": "Splunk", "sourcetype": "misc", "time": 1372274622.493}' ) assert ( event_strings[1] - == '{"event": "This is a test data2.", "host": "localhost", "index": "main", "source": "Splunk", "sourcetype": "misc", "time": 1372274622.493}' + == '{"event": "This is a test data2.", "host": "localhost", "index": "main", ' + '"source": "Splunk", "sourcetype": "misc", "time": 1372274622.493}' ) def mock_get_hec_config( diff --git a/tests/unit/test_server_info.py b/tests/unit/test_server_info.py index 0b0d13c3..f312baad 100644 --- a/tests/unit/test_server_info.py +++ b/tests/unit/test_server_info.py @@ -35,7 +35,13 @@ class TestServerInfo: def test_get_shc_members(self, monkeypatch): def _mock_get(self, path_segment, owner=None, app=None, sharing=None, **query): return common.make_response_record( - '{"entry": [{"name": "5B4A53C7-B824-4103-B8CC-C22E1EC6480F", "content": {"peer_scheme_host_port": "https://192.168.1.85:8089", "label": "SHC01_SearchHead02_1_85"}}, {"name": "D7E3BA03-85CE-449A-9736-38F2DA58236B", "content": {"peer_scheme_host_port": "https://192.168.1.86:8089", "label": "SHC01_SearchHead03_1_86"}}, {"name": "DA72938A-72C4-46F3-86BE-2E200EC56C76", "content": {"peer_scheme_host_port": "https://192.168.1.84:8089", "label": "SHC01_SearchHead01_1_84"}}]}' + '{"entry": [{"name": "5B4A53C7-B824-4103-B8CC-C22E1EC6480F", ' + '"content": ' + '{"peer_scheme_host_port": "https://192.168.1.85:8089", "label": "SHC01_SearchHead02_1_85"}}, ' + '{"name": "D7E3BA03-85CE-449A-9736-38F2DA58236B", "content": ' + '{"peer_scheme_host_port": "https://192.168.1.86:8089", "label": "SHC01_SearchHead03_1_86"}}, ' + '{"name": "DA72938A-72C4-46F3-86BE-2E200EC56C76", "content": {"peer_scheme_host_port": ' + '"https://192.168.1.84:8089", "label": "SHC01_SearchHead01_1_84"}}]}' ) common.mock_splunkhome(monkeypatch) diff --git a/tests/unit/test_user_access.py b/tests/unit/test_user_access.py index b5cdbefa..6124421d 100644 --- a/tests/unit/test_user_access.py +++ b/tests/unit/test_user_access.py @@ -52,7 +52,7 @@ def mock_kvstore_collection_data_batch_save(self, *documents): def mock_kvstore_collection_data_query_by_id(self, id): try: return object_acls[id] - except: + except Exception: raise binding.HTTPError(common.make_response_record("", status=404)) def mock_kvstore_collection_data_query(self, **query): @@ -68,7 +68,7 @@ def mock_kvstore_collection_data_query(self, **query): def mock_kvstore_collection_data_delete_by_id(self, id): try: del object_acls[id] - except: + except Exception: raise binding.HTTPError(common.make_response_record("", status=404)) def mock_kvstore_collection_data_delete(self, query=None): @@ -210,13 +210,13 @@ def mock_kvstore_collection_data_batch_save(self, *documents): def mock_kvstore_collection_data_query_by_id(self, id): try: return app_capabilities[id] - except: + except Exception: raise binding.HTTPError(common.make_response_record("", status=404)) def mock_kvstore_collection_data_delete_by_id(self, id): try: del app_capabilities[id] - except: + except Exception: raise binding.HTTPError(None, status=404) common.mock_splunkhome(monkeypatch) From 309f29cd9a5867d60e36bcb4825467a1a983d10a Mon Sep 17 00:00:00 2001 From: Artem Rys Date: Tue, 30 Jan 2024 15:53:45 +0100 Subject: [PATCH 2/7] feat: actually release previous changes (#347) Fix release: https://github.com/splunk/addonfactory-solutions-library-python/actions/runs/7712486609/job/21020305061#step:6:462 --- .github/workflows/build-test-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index bc1c04b1..5dd38724 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -138,7 +138,7 @@ jobs: SPLUNK_HOME=/opt/splunk/ poetry run pytest --junitxml=test-results/results.xml -v tests/integration - uses: actions/upload-artifact@v4 with: - name: test-splunk-${{ matrix.splunk.version }}-${{ matrix.python-version }} + name: test-splunk-${{ matrix.splunk.version }} path: test-results publish: From 5a863ff119e36a8fab5ba15fe74f234a5495ce37 Mon Sep 17 00:00:00 2001 From: Artem Rys Date: Tue, 30 Jan 2024 16:25:04 +0100 Subject: [PATCH 3/7] ci: fix regex to capture only necessary version update (#348) --- .releaserc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.releaserc b/.releaserc index 64fa1f8b..e936f184 100644 --- a/.releaserc +++ b/.releaserc @@ -28,7 +28,7 @@ }, { "files": ["pyproject.toml"], - "from": "version ?=.*", + "from": "version = \".*\"", "to": "version = \"${nextRelease.version}\"", "results": [ { From 121e06c72ede134cddb3b5fbfb68e6df6bc64c55 Mon Sep 17 00:00:00 2001 From: srv-rr-github-token <94607705+srv-rr-github-token@users.noreply.github.com> Date: Tue, 30 Jan 2024 15:29:36 +0000 Subject: [PATCH 4/7] chore(release): 4.12.0 # [4.12.0](https://github.com/splunk/addonfactory-solutions-library-python/compare/v4.11.2...v4.12.0) (2024-01-30) ### Features * actually release previous changes ([#347](https://github.com/splunk/addonfactory-solutions-library-python/issues/347)) ([309f29c](https://github.com/splunk/addonfactory-solutions-library-python/commit/309f29cd9a5867d60e36bcb4825467a1a983d10a)) [ci skip] --- pyproject.toml | 2 +- solnlib/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f96138a2..18c0c0ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ [tool.poetry] name = "solnlib" -version = "4.11.2" +version = "4.12.0" description = "The Splunk Software Development Kit for Splunk Solutions" authors = ["Splunk "] license = "Apache-2.0" diff --git a/solnlib/__init__.py b/solnlib/__init__.py index a8b07224..686c127b 100644 --- a/solnlib/__init__.py +++ b/solnlib/__init__.py @@ -54,4 +54,4 @@ "utils", ] -__version__ = "4.11.2" +__version__ = "4.12.0" From bb21be6c197bdfde02811d932ed61d1e5ad951a4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 17:09:27 +0100 Subject: [PATCH 5/7] chore(deps): update all dependencies (#340) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [mkdocs-material](https://togithub.com/squidfunk/mkdocs-material) | `9.2.7` -> `9.5.8` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/mkdocs-material/9.5.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/mkdocs-material/9.5.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/mkdocs-material/9.2.7/9.5.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mkdocs-material/9.2.7/9.5.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dev | minor | | [mkdocstrings](https://togithub.com/mkdocstrings/mkdocstrings) ([changelog](https://mkdocstrings.github.io/changelog)) | `0.22.0` -> `0.24.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/mkdocstrings/0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/mkdocstrings/0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/mkdocstrings/0.22.0/0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mkdocstrings/0.22.0/0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dev | minor | | [pre-commit/action](https://togithub.com/pre-commit/action) | `v3.0.0` -> `v3.0.1` | [![age](https://developer.mend.io/api/mc/badges/age/github-tags/pre-commit%2faction/v3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/pre-commit%2faction/v3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/pre-commit%2faction/v3.0.0/v3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/pre-commit%2faction/v3.0.0/v3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | action | patch | | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `7.4.4` -> `8.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest/7.4.4/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest/7.4.4/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dev | major | --- ### Release Notes
squidfunk/mkdocs-material (mkdocs-material) ### [`v9.5.8`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.8): mkdocs-material-9.5.8 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.7...9.5.8) - Added Tamil translations - Updated Esperanto translations - Fixed relative images not being resolved for instant navigation ### [`v9.5.7`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.7): mkdocs-material-9.5.7 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.6...9.5.7) - Fixed [#​6731](https://togithub.com/squidfunk/mkdocs-material/issues/6731): Small images in figures are not centered - Fixed [#​6719](https://togithub.com/squidfunk/mkdocs-material/issues/6719): Instant navigation breaks table of contents (9.5.5 regression) ### [`v9.5.6`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.6): mkdocs-material-9.5.6 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.5...9.5.6) - Fixed [#​6700](https://togithub.com/squidfunk/mkdocs-material/issues/6700): Missing styles for Mermaid.js labels with Markdown ### [`v9.5.5`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.5): mkdocs-material-9.5.5 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.4...9.5.5) - Updated Tagalog translations - Updated Pillow to 10.2 to mitigate security vulnerabilities - Improved resilience of instant navigation - Fixed [#​6687](https://togithub.com/squidfunk/mkdocs-material/issues/6687): Updated Mermaid.js to version 10.7.0 (latest) - Fixed [#​6652](https://togithub.com/squidfunk/mkdocs-material/issues/6652): Keyboard events in custom elements captured - Fixed [#​6582](https://togithub.com/squidfunk/mkdocs-material/issues/6582): Instant navigation doesn't correctly handle alternate URLs - Fixed [#​6565](https://togithub.com/squidfunk/mkdocs-material/issues/6565): Instant navigation doesn't allow for `onclick` handlers - Fixed [#​6345](https://togithub.com/squidfunk/mkdocs-material/issues/6345): Instant navigation sometimes breaks browser back button - Fixed [#​6334](https://togithub.com/squidfunk/mkdocs-material/issues/6334): Instant navigation doesn't correctly position anchors (Safari) - Fixed [#​6275](https://togithub.com/squidfunk/mkdocs-material/issues/6275): Instant navigation doesn't correctly resolve after 404 - Fixed [#​6102](https://togithub.com/squidfunk/mkdocs-material/issues/6102): Instant navigation reloads page on same link navigation ### [`v9.5.4`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.4): mkdocs-material-9.5.4 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.3...9.5.4) - Fixed [#​6645](https://togithub.com/squidfunk/mkdocs-material/issues/6645): Local storage with invalid value can break site - Fixed [#​6635](https://togithub.com/squidfunk/mkdocs-material/issues/6635): Tags icons before default ignored if default is set ### [`v9.5.3`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.3): mkdocs-material-9.5.3 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.2...9.5.3) - Limited version range of MkDocs to < 1.6 - Updated Macedonian translations - Fixed [#​6520](https://togithub.com/squidfunk/mkdocs-material/issues/6520): Group plugin crashes when using mike - Fixed [#​6494](https://togithub.com/squidfunk/mkdocs-material/issues/6494): Hide author's email address if disabled in git-authors plugin ### [`v9.5.2`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.2): mkdocs-material-9.5.2 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.1...9.5.2) - Fixed types for `slugify` settings in blog plugin config - Fixed [#​6469](https://togithub.com/squidfunk/mkdocs-material/issues/6469): Horizontal scrollbars on MathJax containers ### [`v9.5.1`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.1): mkdocs-material-9.5.1 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.0...9.5.1) - Updated Greek translations - Fixed [#​6464](https://togithub.com/squidfunk/mkdocs-material/issues/6464): Privacy plugin cannot be enabled - Fixed [#​6461](https://togithub.com/squidfunk/mkdocs-material/issues/6461): Sorting blog posts ignores time component in date ### [`v9.5.0`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.0): mkdocs-material-9.5.0 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.14...9.5.0) Merged Insiders features of 'Goat's Horn' funding goal - Added privacy plugin: automatic downloading of external assets - Added support for card grids and grid layouts - Added support for improved tooltips - Added support for content tabs anchor links (deep linking) - Added support for automatic dark/light mode - Added support for document contributors ### [`v9.4.14`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.14): mkdocs-material-9.4.14 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.13...9.4.14) - Added support for linking authors in blog posts ### [`v9.4.13`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.13): mkdocs-material-9.4.13 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.12...9.4.13) - Fixed [#​6365](https://togithub.com/squidfunk/mkdocs-material/issues/6365): Blog plugin pagination links to previous pages broken - Fixed [#​5758](https://togithub.com/squidfunk/mkdocs-material/issues/5758): Updated Mermaid.js to version 10.6.1 (latest) ### [`v9.4.12`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.12): mkdocs-material-9.4.12 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.11...9.4.12) - Improved blog plugin to generate Unicode-aware slugs by default - Fixed non-deterministic order of categories in blog plugin ### [`v9.4.11`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.11): mkdocs-material-9.4.11 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.10...9.4.11) - Fixed [#​6364](https://togithub.com/squidfunk/mkdocs-material/issues/6364): Search plugin crashing when enabling theme while serving - Fixed blog plugin crashing when disabling pagination ### [`v9.4.10`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.10): mkdocs-material-9.4.10 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.9...9.4.10) - Fixed [#​6356](https://togithub.com/squidfunk/mkdocs-material/issues/6356): Version selector can't be disabled via mike's configuration - Fixed [#​6281](https://togithub.com/squidfunk/mkdocs-material/issues/6281): Navigation not rendering due to Safari bug (9.4.2 regression) - Fixed [#​6261](https://togithub.com/squidfunk/mkdocs-material/issues/6261): Navigation expansion animates on first load (9.4.2 regression) ### [`v9.4.9`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.9): mkdocs-material-9.4.9 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.8...9.4.9) - Fixed [#​6344](https://togithub.com/squidfunk/mkdocs-material/issues/6344): Long entries cutoff in table of contents - Fixed [#​6336](https://togithub.com/squidfunk/mkdocs-material/issues/6336): Custom template for glob archive not working with pagination - Fixed [#​6328](https://togithub.com/squidfunk/mkdocs-material/issues/6328): Blog plugin crashes for locales with dashes, e.g. `pt-BR` - Fixed [#​6327](https://togithub.com/squidfunk/mkdocs-material/issues/6327): Copy-to-clipboard button doesn't trim trailing line feed - Fixed [#​6302](https://togithub.com/squidfunk/mkdocs-material/issues/6302): Version strings not matched when using mike, only aliases - Fixed instant navigation progress indicator for gzipped content in Chrome - Fixed rendering bug on details marker rotation in Firefox ### [`v9.4.8`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.8): mkdocs-material-9.4.8 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.7...9.4.8) - Fixed invalid local address replacement when using instant loading - Fixed [#​6275](https://togithub.com/squidfunk/mkdocs-material/issues/6275): Crash after navigation caused 404 when using instant loading ### [`v9.4.7`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.7): mkdocs-material-9.4.7 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.6...9.4.7) - Added Azerbaijani translations ### [`v9.4.6`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.6): mkdocs-material-9.4.6 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.5...9.4.6) - Updated Danish and Norwegian (Nynorsk) translations - Fixed [#​6169](https://togithub.com/squidfunk/mkdocs-material/issues/6169): Blog post metadata layout overflows on small screens ### [`v9.4.5`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.5): mkdocs-material-9.4.5 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.4...9.4.5) - Fixed sidebar auto-positioning (9.4.2 regression) - Fixed [#​6166](https://togithub.com/squidfunk/mkdocs-material/issues/6166): Improve group plugin compatibility with Python < 3.10 - Fixed [#​6157](https://togithub.com/squidfunk/mkdocs-material/issues/6157): Hiding tags does not work (9.4.3 regression) ### [`v9.4.4`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.4): mkdocs-material-9.4.4 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.3...9.4.4) - Added support for overriding text to be copied for code blocks - Fixed broken layout in some browsers at breakpoints when using zoom - Fixed [#​6132](https://togithub.com/squidfunk/mkdocs-material/issues/6132): Incomplete search highlighting for code blocks in titles ### [`v9.4.3`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.3): mkdocs-material-9.4.3 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.2...9.4.3) - Added support for instant navigation progress indicator - Improved spacing and alignment of tags - Moved back-to-top button into separate partial - Fixed [#​6104](https://togithub.com/squidfunk/mkdocs-material/issues/6104): Indentation for some code blocks lost in search - Fixed [#​6094](https://togithub.com/squidfunk/mkdocs-material/issues/6094): Blog post metadata overlaps with footer on small screens - Fixed [#​6069](https://togithub.com/squidfunk/mkdocs-material/issues/6069): Blog plugin crashes for categories with non-ASCII names **Updated templates** ([diff](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.2...9.4.3)) - `base.html` ### [`v9.4.2`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.2): mkdocs-material-9.4.2 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.1...9.4.2) - Updated Slovenian translations - Added animation to sidebar navigation expansion and collapse - Added support for auto-replacement of document head for instant navigation - Improved compatibility of new emoji extension with Python < 3.10 - Switched regex dependency to use minimal version - Refactored alignment and spacing of sidebar navigation - Fixed expansion button not focusable via keyboard in sidebar navigation - Fixed viewport offset restoration on first load when using instant navigation - Fixed accidental highlight of non-clickable elements in blog plugin sidebar - Fixed [#​6041](https://togithub.com/squidfunk/mkdocs-material/issues/6041): Blog plugin crashes when `nav` is defined and blog not included - Fixed [#​5972](https://togithub.com/squidfunk/mkdocs-material/issues/5972): Blog plugin ignores section index pages in paginated views - Fixed [#​5954](https://togithub.com/squidfunk/mkdocs-material/issues/5954): Repeated click on anchor ignored when using instant navigation - Fixed [#​5742](https://togithub.com/squidfunk/mkdocs-material/issues/5742): Keyboard navigation broken when using instant navigation **Updated templates** ([diff](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.1...9.4.2)) - `partials/nav-item.html` - `blog-post.html` ### [`v9.4.1`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.1): mkdocs-material-9.4.1 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.4.0...9.4.1) - Improved colors and contrast in dark mode - Improved admonition borders to match font weight - Switched content tabs to neutral color ### [`v9.4.0`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.4.0): mkdocs-material-9.4.0 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.3.2...9.4.0) - Added Belarusian translations - Added version info to entrypoint of package - Added emoji extension as a replacement for `materialx` - Improved slate color scheme (dark mode) - now even darker - Restructured project to improve development experience - Updated MkDocs to 1.5.3 - Fixed [#​3890](https://togithub.com/squidfunk/mkdocs-material/issues/3890): Development mode crash on Linux ### [`v9.3.2`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.3.2): mkdocs-material-9.3.2 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.3.1...9.3.2) - Updated Slovenian translations - Updated Python dependencies in requirements to use minimum versions - Fixed [#​6017](https://togithub.com/squidfunk/mkdocs-material/issues/6017): Code highlighting inconsistent in Community and Insiders edition - Fixed [#​6001](https://togithub.com/squidfunk/mkdocs-material/issues/6001): Contributor avatars display incorrectly in Firefox - Fixed [#​6000](https://togithub.com/squidfunk/mkdocs-material/issues/6000): Blog post drafts are included in navigation ### [`v9.3.1`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.3.1): mkdocs-material-9.3.1 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.3.0...9.3.1) - Fixed crash of group plugin when used together with hooks ### [`v9.3.0`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.3.0): mkdocs-material-9.3.0 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.2.8...9.3.0) - Improved configuration sharing between community and Insiders edition - Added experimental built-in group plugin for enabling plugins conditionally - Added new settings in tags plugin for enabling/disabling - Dropped support for Python 3.7 (EOL) ### [`v9.2.8`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.2.8): mkdocs-material-9.2.8 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.2.7...9.2.8) - Updated Italian and Russian translations - Fixed [#​5952](https://togithub.com/squidfunk/mkdocs-material/issues/5952): Combining blog and tags plugin leads to wrong links - Fixed [#​5951](https://togithub.com/squidfunk/mkdocs-material/issues/5951): Blog plugin ignores post title in metadata - Fixed [#​5949](https://togithub.com/squidfunk/mkdocs-material/issues/5949): Blog plugin ignores post linked in nav
mkdocstrings/mkdocstrings (mkdocstrings) ### [`v0.24.0`](https://togithub.com/mkdocstrings/mkdocstrings/blob/HEAD/CHANGELOG.md#0240---2023-11-14) [Compare Source](https://togithub.com/mkdocstrings/mkdocstrings/compare/0.23.0...0.24.0) [Compare with 0.23.0](https://togithub.com/mkdocstrings/mkdocstrings/compare/0.23.0...0.24.0) ##### Features - Cache downloaded inventories as local file ([ce84dd5](https://togithub.com/mkdocstrings/mkdocstrings/commit/ce84dd57dc5cd3bf3f4be9623ddaa73e1c1868f0) by Oleh Prypin). [PR #​632](https://togithub.com/mkdocstrings/mkdocstrings/pull/632) ##### Bug Fixes - Make `custom_templates` relative to the config file ([370a61d](https://togithub.com/mkdocstrings/mkdocstrings/commit/370a61d12b33f3fb61f6bddb3939eb8ff6018620) by Waylan Limberg). [Issue #​477](https://togithub.com/mkdocstrings/mkdocstrings/issues/477), [PR #​627](https://togithub.com/mkdocstrings/mkdocstrings/pull/627) - Remove duplicated headings for docstrings nested in tabs/admonitions ([e2123a9](https://togithub.com/mkdocstrings/mkdocstrings/commit/e2123a935edea0abdc1b439e2c2b76e002c76e2b) by Perceval Wajsburt, [f4a94f7](https://togithub.com/mkdocstrings/mkdocstrings/commit/f4a94f7d8b8eb1ac01d65bb7237f0077e320ddac) by Oleh Prypin). [Issue #​609](https://togithub.com/mkdocstrings/mkdocstrings/issues/609), [PR #​610](https://togithub.com/mkdocstrings/mkdocstrings/pull/610), [PR #​613](https://togithub.com/mkdocstrings/mkdocstrings/pull/613) ##### Code Refactoring - Drop support for MkDocs < 1.4, modernize usages ([b61d4d1](https://togithub.com/mkdocstrings/mkdocstrings/commit/b61d4d15258c66b14266aa04b456f191f101b2c6) by Oleh Prypin). [PR #​629](https://togithub.com/mkdocstrings/mkdocstrings/pull/629) ### [`v0.23.0`](https://togithub.com/mkdocstrings/mkdocstrings/blob/HEAD/CHANGELOG.md#0230---2023-08-28) [Compare Source](https://togithub.com/mkdocstrings/mkdocstrings/compare/0.22.0...0.23.0) [Compare with 0.22.0](https://togithub.com/mkdocstrings/mkdocstrings/compare/0.22.0...0.23.0) ##### Breaking Changes - Removed `BaseCollector` and `BaseRenderer` classes: they were merged into the `BaseHandler` class. - Removed the watch feature, as MkDocs now provides it natively. - Removed support for `selection` and `rendering` keys in YAML blocks: use `options` instead. - Removed support for loading handlers from the `mkdocstrings.handler` namespace. Handlers must now be packaged under the `mkdocstrings_handlers` namespace. ##### Features - Register all anchors for each object in the inventory ([228fb73](https://togithub.com/mkdocstrings/mkdocstrings/commit/228fb737caca4e20e600053bf59cbfa3e9c73906) by Timothée Mazzucotelli). ##### Bug Fixes - Don't add `codehilite` CSS class to inline code ([7690d41](https://togithub.com/mkdocstrings/mkdocstrings/commit/7690d41e2871997464367e673023585c4fb05e26) by Timothée Mazzucotelli). - Support cross-references for API docs rendered in top-level index page ([b194452](https://togithub.com/mkdocstrings/mkdocstrings/commit/b194452be93aee33b3c28a468762b4d96c501f4f) by Timothée Mazzucotelli). ##### Code Refactoring - Sort inventories before writing them to disk ([9371e9f](https://togithub.com/mkdocstrings/mkdocstrings/commit/9371e9fc7dd68506b73aa1580a12c5f5cd779aba) by Timothée Mazzucotelli). - Stop accepting sets as return value of `get_anchors` (only tuples), to preserve order ([2e10374](https://togithub.com/mkdocstrings/mkdocstrings/commit/2e10374be258e9713b26f73dd06d0c2520ec07a5) by Timothée Mazzucotelli). - Remove deprecated parts ([0a90a47](https://togithub.com/mkdocstrings/mkdocstrings/commit/0a90a474c8dcbd95821700d7dab63f03e392c40f) by Timothée Mazzucotelli). - Use proper parameters in `Inventory.register` method ([433c6e0](https://togithub.com/mkdocstrings/mkdocstrings/commit/433c6e01aab9333589f755e483f124db0836f143) by Timothée Mazzucotelli).
pre-commit/action (pre-commit/action) ### [`v3.0.1`](https://togithub.com/pre-commit/action/releases/tag/v3.0.1): pre-commit/action@v3.0.1 [Compare Source](https://togithub.com/pre-commit/action/compare/v3.0.0...v3.0.1) ##### Misc - Update actions/cache to v4 - [#​190](https://togithub.com/pre-commit/action/issues/190) PR by [@​SukiCZ](https://togithub.com/SukiCZ). - [#​189](https://togithub.com/pre-commit/action/issues/189) issue by [@​bakerkj](https://togithub.com/bakerkj).
pytest-dev/pytest (pytest) ### [`v8.0.0`](https://togithub.com/pytest-dev/pytest/compare/7.4.4...8.0.0) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.4...8.0.0)
--- ### Configuration 📅 **Schedule**: Branch creation - "every 2 weeks on Sunday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/splunk/addonfactory-solutions-library-python). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/build-test-release.yml | 2 +- poetry.lock | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index 5dd38724..81cbe2c5 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -56,7 +56,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.7" - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 semgrep: runs-on: ubuntu-latest diff --git a/poetry.lock b/poetry.lock index 8c71f679..ee140731 100644 --- a/poetry.lock +++ b/poetry.lock @@ -676,6 +676,7 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, From 540b0e7281db0b14f9fe0950348448e03e8eea19 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 10:33:39 +0100 Subject: [PATCH 6/7] chore(deps): lock file maintenance (#349) --- poetry.lock | 140 ++++++++++++++++++++++++++-------------------------- 1 file changed, 70 insertions(+), 70 deletions(-) diff --git a/poetry.lock b/poetry.lock index ee140731..78a36399 100644 --- a/poetry.lock +++ b/poetry.lock @@ -30,13 +30,13 @@ files = [ [[package]] name = "certifi" -version = "2023.11.17" +version = "2024.2.2" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" files = [ - {file = "certifi-2023.11.17-py3-none-any.whl", hash = "sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474"}, - {file = "certifi-2023.11.17.tar.gz", hash = "sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1"}, + {file = "certifi-2024.2.2-py3-none-any.whl", hash = "sha256:dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1"}, + {file = "certifi-2024.2.2.tar.gz", hash = "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f"}, ] [[package]] @@ -265,13 +265,13 @@ files = [ [[package]] name = "jinja2" -version = "3.1.2" +version = "3.1.3" description = "A very fast and expressive template engine." optional = false python-versions = ">=3.7" files = [ - {file = "Jinja2-3.1.2-py3-none-any.whl", hash = "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"}, - {file = "Jinja2-3.1.2.tar.gz", hash = "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852"}, + {file = "Jinja2-3.1.3-py3-none-any.whl", hash = "sha256:7d6d50dd97d52cbc355597bd845fabfbac3f551e1f99619e39a35ce8c370b5fa"}, + {file = "Jinja2-3.1.3.tar.gz", hash = "sha256:ac8bd6544d4bb2c9792bf3a159e80bba8fda7f07e81bc3aed565432d5925ba90"}, ] [package.dependencies] @@ -300,71 +300,71 @@ testing = ["coverage", "pyyaml"] [[package]] name = "markupsafe" -version = "2.1.3" +version = "2.1.5" description = "Safely add untrusted strings to HTML/XML markup." optional = false python-versions = ">=3.7" files = [ - {file = "MarkupSafe-2.1.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:cd0f502fe016460680cd20aaa5a76d241d6f35a1c3350c474bac1273803893fa"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e09031c87a1e51556fdcb46e5bd4f59dfb743061cf93c4d6831bf894f125eb57"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:68e78619a61ecf91e76aa3e6e8e33fc4894a2bebe93410754bd28fce0a8a4f9f"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:65c1a9bcdadc6c28eecee2c119465aebff8f7a584dd719facdd9e825ec61ab52"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:525808b8019e36eb524b8c68acdd63a37e75714eac50e988180b169d64480a00"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:962f82a3086483f5e5f64dbad880d31038b698494799b097bc59c2edf392fce6"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:aa7bd130efab1c280bed0f45501b7c8795f9fdbeb02e965371bbef3523627779"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c9c804664ebe8f83a211cace637506669e7890fec1b4195b505c214e50dd4eb7"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-win32.whl", hash = "sha256:10bbfe99883db80bdbaff2dcf681dfc6533a614f700da1287707e8a5d78a8431"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-win_amd64.whl", hash = "sha256:1577735524cdad32f9f694208aa75e422adba74f1baee7551620e43a3141f559"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ad9e82fb8f09ade1c3e1b996a6337afac2b8b9e365f926f5a61aacc71adc5b3c"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3c0fae6c3be832a0a0473ac912810b2877c8cb9d76ca48de1ed31e1c68386575"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b076b6226fb84157e3f7c971a47ff3a679d837cf338547532ab866c57930dbee"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bfce63a9e7834b12b87c64d6b155fdd9b3b96191b6bd334bf37db7ff1fe457f2"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:338ae27d6b8745585f87218a3f23f1512dbf52c26c28e322dbe54bcede54ccb9"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e4dd52d80b8c83fdce44e12478ad2e85c64ea965e75d66dbeafb0a3e77308fcc"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:df0be2b576a7abbf737b1575f048c23fb1d769f267ec4358296f31c2479db8f9"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:5bbe06f8eeafd38e5d0a4894ffec89378b6c6a625ff57e3028921f8ff59318ac"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-win32.whl", hash = "sha256:dd15ff04ffd7e05ffcb7fe79f1b98041b8ea30ae9234aed2a9168b5797c3effb"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-win_amd64.whl", hash = "sha256:134da1eca9ec0ae528110ccc9e48041e0828d79f24121a1a146161103c76e686"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:f698de3fd0c4e6972b92290a45bd9b1536bffe8c6759c62471efaa8acb4c37bc"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:aa57bd9cf8ae831a362185ee444e15a93ecb2e344c8e52e4d721ea3ab6ef1823"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ffcc3f7c66b5f5b7931a5aa68fc9cecc51e685ef90282f4a82f0f5e9b704ad11"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47d4f1c5f80fc62fdd7777d0d40a2e9dda0a05883ab11374334f6c4de38adffd"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1f67c7038d560d92149c060157d623c542173016c4babc0c1913cca0564b9939"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:9aad3c1755095ce347e26488214ef77e0485a3c34a50c5a5e2471dff60b9dd9c"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:14ff806850827afd6b07a5f32bd917fb7f45b046ba40c57abdb636674a8b559c"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8f9293864fe09b8149f0cc42ce56e3f0e54de883a9de90cd427f191c346eb2e1"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-win32.whl", hash = "sha256:715d3562f79d540f251b99ebd6d8baa547118974341db04f5ad06d5ea3eb8007"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-win_amd64.whl", hash = "sha256:1b8dd8c3fd14349433c79fa8abeb573a55fc0fdd769133baac1f5e07abf54aeb"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:8e254ae696c88d98da6555f5ace2279cf7cd5b3f52be2b5cf97feafe883b58d2"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cb0932dc158471523c9637e807d9bfb93e06a95cbf010f1a38b98623b929ef2b"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9402b03f1a1b4dc4c19845e5c749e3ab82d5078d16a2a4c2cd2df62d57bb0707"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ca379055a47383d02a5400cb0d110cef0a776fc644cda797db0c5696cfd7e18e"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:b7ff0f54cb4ff66dd38bebd335a38e2c22c41a8ee45aa608efc890ac3e3931bc"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c011a4149cfbcf9f03994ec2edffcb8b1dc2d2aede7ca243746df97a5d41ce48"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:56d9f2ecac662ca1611d183feb03a3fa4406469dafe241673d521dd5ae92a155"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-win32.whl", hash = "sha256:8758846a7e80910096950b67071243da3e5a20ed2546e6392603c096778d48e0"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-win_amd64.whl", hash = "sha256:787003c0ddb00500e49a10f2844fac87aa6ce977b90b0feaaf9de23c22508b24"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:2ef12179d3a291be237280175b542c07a36e7f60718296278d8593d21ca937d4"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2c1b19b3aaacc6e57b7e25710ff571c24d6c3613a45e905b1fde04d691b98ee0"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8afafd99945ead6e075b973fefa56379c5b5c53fd8937dad92c662da5d8fd5ee"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8c41976a29d078bb235fea9b2ecd3da465df42a562910f9022f1a03107bd02be"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d080e0a5eb2529460b30190fcfcc4199bd7f827663f858a226a81bc27beaa97e"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:69c0f17e9f5a7afdf2cc9fb2d1ce6aabdb3bafb7f38017c0b77862bcec2bbad8"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:504b320cd4b7eff6f968eddf81127112db685e81f7e36e75f9f84f0df46041c3"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:42de32b22b6b804f42c5d98be4f7e5e977ecdd9ee9b660fda1a3edf03b11792d"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-win32.whl", hash = "sha256:ceb01949af7121f9fc39f7d27f91be8546f3fb112c608bc4029aef0bab86a2a5"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-win_amd64.whl", hash = "sha256:1b40069d487e7edb2676d3fbdb2b0829ffa2cd63a2ec26c4938b2d34391b4ecc"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:8023faf4e01efadfa183e863fefde0046de576c6f14659e8782065bcece22198"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6b2b56950d93e41f33b4223ead100ea0fe11f8e6ee5f641eb753ce4b77a7042b"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9dcdfd0eaf283af041973bff14a2e143b8bd64e069f4c383416ecd79a81aab58"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:05fb21170423db021895e1ea1e1f3ab3adb85d1c2333cbc2310f2a26bc77272e"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:282c2cb35b5b673bbcadb33a585408104df04f14b2d9b01d4c345a3b92861c2c"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ab4a0df41e7c16a1392727727e7998a467472d0ad65f3ad5e6e765015df08636"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:7ef3cb2ebbf91e330e3bb937efada0edd9003683db6b57bb108c4001f37a02ea"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:0a4e4a1aff6c7ac4cd55792abf96c915634c2b97e3cc1c7129578aa68ebd754e"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-win32.whl", hash = "sha256:fec21693218efe39aa7f8599346e90c705afa52c5b31ae019b2e57e8f6542bb2"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-win_amd64.whl", hash = "sha256:3fd4abcb888d15a94f32b75d8fd18ee162ca0c064f35b11134be77050296d6ba"}, - {file = "MarkupSafe-2.1.3.tar.gz", hash = "sha256:af598ed32d6ae86f1b747b82783958b1a4ab8f617b06fe68795c7f026abbdcad"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a17a92de5231666cfbe003f0e4b9b3a7ae3afb1ec2845aadc2bacc93ff85febc"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:72b6be590cc35924b02c78ef34b467da4ba07e4e0f0454a2c5907f473fc50ce5"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e61659ba32cf2cf1481e575d0462554625196a1f2fc06a1c777d3f48e8865d46"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2174c595a0d73a3080ca3257b40096db99799265e1c27cc5a610743acd86d62f"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ae2ad8ae6ebee9d2d94b17fb62763125f3f374c25618198f40cbb8b525411900"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:075202fa5b72c86ad32dc7d0b56024ebdbcf2048c0ba09f1cde31bfdd57bcfff"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:598e3276b64aff0e7b3451b72e94fa3c238d452e7ddcd893c3ab324717456bad"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fce659a462a1be54d2ffcacea5e3ba2d74daa74f30f5f143fe0c58636e355fdd"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-win32.whl", hash = "sha256:d9fad5155d72433c921b782e58892377c44bd6252b5af2f67f16b194987338a4"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-win_amd64.whl", hash = "sha256:bf50cd79a75d181c9181df03572cdce0fbb75cc353bc350712073108cba98de5"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:629ddd2ca402ae6dbedfceeba9c46d5f7b2a61d9749597d4307f943ef198fc1f"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:5b7b716f97b52c5a14bffdf688f971b2d5ef4029127f1ad7a513973cfd818df2"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6ec585f69cec0aa07d945b20805be741395e28ac1627333b1c5b0105962ffced"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b91c037585eba9095565a3556f611e3cbfaa42ca1e865f7b8015fe5c7336d5a5"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7502934a33b54030eaf1194c21c692a534196063db72176b0c4028e140f8f32c"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0e397ac966fdf721b2c528cf028494e86172b4feba51d65f81ffd65c63798f3f"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c061bb86a71b42465156a3ee7bd58c8c2ceacdbeb95d05a99893e08b8467359a"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:3a57fdd7ce31c7ff06cdfbf31dafa96cc533c21e443d57f5b1ecc6cdc668ec7f"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-win32.whl", hash = "sha256:397081c1a0bfb5124355710fe79478cdbeb39626492b15d399526ae53422b906"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl", hash = "sha256:2b7c57a4dfc4f16f7142221afe5ba4e093e09e728ca65c51f5620c9aaeb9a617"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:8dec4936e9c3100156f8a2dc89c4b88d5c435175ff03413b443469c7c8c5f4d1"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:3c6b973f22eb18a789b1460b4b91bf04ae3f0c4234a0a6aa6b0a92f6f7b951d4"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ac07bad82163452a6884fe8fa0963fb98c2346ba78d779ec06bd7a6262132aee"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5dfb42c4604dddc8e4305050aa6deb084540643ed5804d7455b5df8fe16f5e5"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ea3d8a3d18833cf4304cd2fc9cbb1efe188ca9b5efef2bdac7adc20594a0e46b"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:d050b3361367a06d752db6ead6e7edeb0009be66bc3bae0ee9d97fb326badc2a"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:bec0a414d016ac1a18862a519e54b2fd0fc8bbfd6890376898a6c0891dd82e9f"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:58c98fee265677f63a4385256a6d7683ab1832f3ddd1e66fe948d5880c21a169"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-win32.whl", hash = "sha256:8590b4ae07a35970728874632fed7bd57b26b0102df2d2b233b6d9d82f6c62ad"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl", hash = "sha256:823b65d8706e32ad2df51ed89496147a42a2a6e01c13cfb6ffb8b1e92bc910bb"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:c8b29db45f8fe46ad280a7294f5c3ec36dbac9491f2d1c17345be8e69cc5928f"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ec6a563cff360b50eed26f13adc43e61bc0c04d94b8be985e6fb24b81f6dcfdf"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a549b9c31bec33820e885335b451286e2969a2d9e24879f83fe904a5ce59d70a"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4f11aa001c540f62c6166c7726f71f7573b52c68c31f014c25cc7901deea0b52"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:7b2e5a267c855eea6b4283940daa6e88a285f5f2a67f2220203786dfa59b37e9"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:2d2d793e36e230fd32babe143b04cec8a8b3eb8a3122d2aceb4a371e6b09b8df"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ce409136744f6521e39fd8e2a24c53fa18ad67aa5bc7c2cf83645cce5b5c4e50"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-win32.whl", hash = "sha256:4096e9de5c6fdf43fb4f04c26fb114f61ef0bf2e5604b6ee3019d51b69e8c371"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-win_amd64.whl", hash = "sha256:4275d846e41ecefa46e2015117a9f491e57a71ddd59bbead77e904dc02b1bed2"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:656f7526c69fac7f600bd1f400991cc282b417d17539a1b228617081106feb4a"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:97cafb1f3cbcd3fd2b6fbfb99ae11cdb14deea0736fc2b0952ee177f2b813a46"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f3fbcb7ef1f16e48246f704ab79d79da8a46891e2da03f8783a5b6fa41a9532"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fa9db3f79de01457b03d4f01b34cf91bc0048eb2c3846ff26f66687c2f6d16ab"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ffee1f21e5ef0d712f9033568f8344d5da8cc2869dbd08d87c84656e6a2d2f68"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:5dedb4db619ba5a2787a94d877bc8ffc0566f92a01c0ef214865e54ecc9ee5e0"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:30b600cf0a7ac9234b2638fbc0fb6158ba5bdcdf46aeb631ead21248b9affbc4"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8dd717634f5a044f860435c1d8c16a270ddf0ef8588d4887037c5028b859b0c3"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-win32.whl", hash = "sha256:daa4ee5a243f0f20d528d939d06670a298dd39b1ad5f8a72a4275124a7819eff"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-win_amd64.whl", hash = "sha256:619bc166c4f2de5caa5a633b8b7326fbe98e0ccbfacabd87268a2b15ff73a029"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7a68b554d356a91cce1236aa7682dc01df0edba8d043fd1ce607c49dd3c1edcf"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:db0b55e0f3cc0be60c1f19efdde9a637c32740486004f20d1cff53c3c0ece4d2"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3e53af139f8579a6d5f7b76549125f0d94d7e630761a2111bc431fd820e163b8"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:17b950fccb810b3293638215058e432159d2b71005c74371d784862b7e4683f3"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c31f53cdae6ecfa91a77820e8b151dba54ab528ba65dfd235c80b086d68a465"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:bff1b4290a66b490a2f4719358c0cdcd9bafb6b8f061e45c7a2460866bf50c2e"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bc1667f8b83f48511b94671e0e441401371dfd0f0a795c7daa4a3cd1dde55bea"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5049256f536511ee3f7e1b3f87d1d1209d327e818e6ae1365e8653d7e3abb6a6"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-win32.whl", hash = "sha256:00e046b6dd71aa03a41079792f8473dc494d564611a8f89bbbd7cb93295ebdcf"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-win_amd64.whl", hash = "sha256:fa173ec60341d6bb97a89f5ea19c85c5643c1e7dedebc22f5181eb73573142c5"}, + {file = "MarkupSafe-2.1.5.tar.gz", hash = "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b"}, ] [[package]] @@ -642,13 +642,13 @@ six = ">=1.5" [[package]] name = "pytz" -version = "2023.3.post1" +version = "2024.1" description = "World timezone definitions, modern and historical" optional = false python-versions = "*" files = [ - {file = "pytz-2023.3.post1-py2.py3-none-any.whl", hash = "sha256:ce42d816b81b68506614c11e8937d3aa9e41007ceb50bfdcb0749b921bf646c7"}, - {file = "pytz-2023.3.post1.tar.gz", hash = "sha256:7b4fddbeb94a1eba4b557da24f19fdf9db575192544270a9101d8509f9f43d7b"}, + {file = "pytz-2024.1-py2.py3-none-any.whl", hash = "sha256:328171f4e3623139da4983451950b28e95ac706e13f3f2630a879749e7a8b319"}, + {file = "pytz-2024.1.tar.gz", hash = "sha256:2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812"}, ] [[package]] From 9a4521bf6438554920970d8f77785bd6782bcabb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 2 Mar 2024 19:53:30 +0100 Subject: [PATCH 7/7] chore(deps): lock file maintenance (#350) --- poetry.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 78a36399..d4966c7e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -628,13 +628,13 @@ testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "no [[package]] name = "python-dateutil" -version = "2.8.2" +version = "2.9.0.post0" description = "Extensions to the standard Python datetime module" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, + {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, + {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, ] [package.dependencies]