diff --git a/salt/_logging/handlers.py b/salt/_logging/handlers.py index f4b0b6fec3..5a1a161313 100644 --- a/salt/_logging/handlers.py +++ b/salt/_logging/handlers.py @@ -36,7 +36,7 @@ class TemporaryLoggingHandler(logging.NullHandler): def __init__(self, level=logging.NOTSET, max_queue_size=10000): warn_until_date( - "20240101", + "20260101", "Please stop using '{name}.TemporaryLoggingHandler'. " "'{name}.TemporaryLoggingHandler' will go away after " "{{date}}.".format(name=__name__), @@ -225,7 +225,7 @@ class QueueHandler( def __init__(self, queue): # pylint: disable=useless-super-delegation super().__init__(queue) warn_until_date( - "20240101", + "20260101", "Please stop using '{name}.QueueHandler' and instead " "use 'logging.handlers.QueueHandler'. " "'{name}.QueueHandler' will go away after " @@ -283,7 +283,7 @@ class QueueHandler( def __init__(self, queue): # pylint: disable=useless-super-delegation super().__init__(queue) warn_until_date( - "20240101", + "20260101", "Please stop using '{name}.QueueHandler' and instead " "use 'logging.handlers.QueueHandler'. " "'{name}.QueueHandler' will go away after " diff --git a/salt/log/__init__.py b/salt/log/__init__.py index 3458474f2c..69bfa8ed15 100644 --- a/salt/log/__init__.py +++ b/salt/log/__init__.py @@ -24,7 +24,7 @@ from salt.utils.versions import warn_until_date warn_until_date( - "20240101", + "20260101", "Please stop using '{name}' and instead use 'salt._logging'. " "'{name}' will go away after {{date}}.".format(name=__name__), stacklevel=3, diff --git a/salt/log/handlers/__init__.py b/salt/log/handlers/__init__.py index 8bc740e20f..55cf10cdb7 100644 --- a/salt/log/handlers/__init__.py +++ b/salt/log/handlers/__init__.py @@ -12,7 +12,7 @@ from salt.utils.versions import warn_until_date warn_until_date( - "20240101", + "20260101", "Please stop using '{name}' and instead use 'salt._logging.handlers'. " "'{name}' will go away after {{date}}.".format(name=__name__), ) diff --git a/salt/log/mixins.py b/salt/log/mixins.py index 6619b56419..65f5ed7f78 100644 --- a/salt/log/mixins.py +++ b/salt/log/mixins.py @@ -11,7 +11,7 @@ # pylint: enable=unused-import warn_until_date( - "20240101", + "20260101", "Please stop using '{name}' and instead use 'salt._logging.mixins'. " "'{name}' will go away after {{date}}.".format(name=__name__), ) diff --git a/salt/log/setup.py b/salt/log/setup.py index 74bd7bbd3e..f4c80b0f28 100644 --- a/salt/log/setup.py +++ b/salt/log/setup.py @@ -21,7 +21,7 @@ from salt.utils.versions import warn_until_date warn_until_date( - "20240101", + "20260101", "Please stop using '{name}' and instead use 'salt._logging'. " "'{name}' will go away after {{date}}. Do note however that " "'salt._logging' is now considered a non public implementation " @@ -34,7 +34,7 @@ def _deprecated_warning(func): @wraps(func) def wrapper(*args, **kwargs): warn_until_date( - "20240101", + "20260101", "Please stop using 'salt.log.setup.{name}()' as it no longer does anything and " "will go away after {{date}}.".format(name=func.__qualname__), stacklevel=4, diff --git a/salt/modules/cassandra_mod.py b/salt/modules/cassandra_mod.py index 029fd08fb9..db9c882192 100644 --- a/salt/modules/cassandra_mod.py +++ b/salt/modules/cassandra_mod.py @@ -45,7 +45,7 @@ def __virtual__(): ) warn_until_date( - "20240101", + "20260101", "The cassandra returner is broken and deprecated, and will be removed" " after {date}. Use the cassandra_cql returner instead", ) diff --git a/salt/returners/cassandra_return.py b/salt/returners/cassandra_return.py index ac01a4e46c..5fcc00ee8c 100644 --- a/salt/returners/cassandra_return.py +++ b/salt/returners/cassandra_return.py @@ -53,7 +53,7 @@ def __virtual__(): if not HAS_PYCASSA: return False, "Could not import cassandra returner; pycassa is not installed." warn_until_date( - "20240101", + "20260101", "The cassandra returner is broken and deprecated, and will be removed" " after {date}. Use the cassandra_cql returner instead", ) diff --git a/salt/returners/django_return.py b/salt/returners/django_return.py index 3638687555..474653f383 100644 --- a/salt/returners/django_return.py +++ b/salt/returners/django_return.py @@ -57,7 +57,7 @@ def returner_callback(sender, ret): def __virtual__(): warn_until_date( - "20240101", + "20260101", "The django returner is broken and deprecated, and will be removed" " after {date}.", )