From d43293d2ac071f73725ce01b51757989a2c5a6f9 Mon Sep 17 00:00:00 2001 From: Cody Fincher Date: Wed, 20 Nov 2024 16:32:22 +0000 Subject: [PATCH] fix: bump deprecated version --- litestar/contrib/prometheus/__init__.py | 2 +- litestar/contrib/prometheus/config.py | 2 +- litestar/contrib/prometheus/controller.py | 2 +- litestar/contrib/prometheus/middleware.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/litestar/contrib/prometheus/__init__.py b/litestar/contrib/prometheus/__init__.py index 1b3c612b4a..bedeec9976 100644 --- a/litestar/contrib/prometheus/__init__.py +++ b/litestar/contrib/prometheus/__init__.py @@ -18,7 +18,7 @@ def __getattr__(attr_name: str) -> object: warn_deprecation( deprecated_name=f"litestar.contrib.prometheus.{attr_name}", - version="2.12.1", + version="2.13.0", kind="import", removal_in="3.0", info=f"importing {attr_name} from 'litestar.contrib.prometheus' is deprecated, please " diff --git a/litestar/contrib/prometheus/config.py b/litestar/contrib/prometheus/config.py index fafbda07ea..b24ec5340b 100644 --- a/litestar/contrib/prometheus/config.py +++ b/litestar/contrib/prometheus/config.py @@ -14,7 +14,7 @@ def __getattr__(attr_name: str) -> object: warn_deprecation( deprecated_name=f"litestar.contrib.prometheus.config.{attr_name}", - version="2.12.1", + version="2.13.0", kind="import", removal_in="3.0", info=f"importing {attr_name} from 'litestar.contrib.prometheus.config' is deprecated, please " diff --git a/litestar/contrib/prometheus/controller.py b/litestar/contrib/prometheus/controller.py index f840796df2..112238f445 100644 --- a/litestar/contrib/prometheus/controller.py +++ b/litestar/contrib/prometheus/controller.py @@ -14,7 +14,7 @@ def __getattr__(attr_name: str) -> object: warn_deprecation( deprecated_name=f"litestar.contrib.prometheus.controller.{attr_name}", - version="2.12.1", + version="2.13.0", kind="import", removal_in="3.0", info=f"importing {attr_name} from 'litestar.contrib.prometheus.controller' is deprecated, please " diff --git a/litestar/contrib/prometheus/middleware.py b/litestar/contrib/prometheus/middleware.py index b631297633..80d02692b7 100644 --- a/litestar/contrib/prometheus/middleware.py +++ b/litestar/contrib/prometheus/middleware.py @@ -14,7 +14,7 @@ def __getattr__(attr_name: str) -> object: warn_deprecation( deprecated_name=f"litestar.contrib.prometheus.middleware.{attr_name}", - version="2.12.1", + version="2.13.0", kind="import", removal_in="3.0", info=f"importing {attr_name} from 'litestar.contrib.prometheus.middleware' is deprecated, please "