diff --git a/docs/conf.py b/docs/conf.py index d6f55fac2..c9415b4de 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,7 +24,7 @@ author = "Seldon Technologies" # The full version, including alpha/beta/rc tags -release = "1.2.1" +release = "1.2.2" # -- General configuration --------------------------------------------------- diff --git a/mlserver/metrics/server.py b/mlserver/metrics/server.py index 5dc05ff27..6bd08de25 100644 --- a/mlserver/metrics/server.py +++ b/mlserver/metrics/server.py @@ -52,8 +52,11 @@ def _get_config(self): } ) - # TODO: we want to disable logger unless debug is enabled (otherwise, - # prom reqs can be spammy) + if self._settings.logging_settings: + # If not None, use ours. Otherwise, let Uvicorn fall back on its + # own config. + kwargs.update({"log_config": self._settings.logging_settings}) + return uvicorn.Config(self._app, **kwargs) async def stop(self, sig: Optional[int] = None): diff --git a/mlserver/version.py b/mlserver/version.py index a955fdae1..bc86c944f 100644 --- a/mlserver/version.py +++ b/mlserver/version.py @@ -1 +1 @@ -__version__ = "1.2.1" +__version__ = "1.2.2" diff --git a/runtimes/alibi-detect/mlserver_alibi_detect/version.py b/runtimes/alibi-detect/mlserver_alibi_detect/version.py index a955fdae1..bc86c944f 100644 --- a/runtimes/alibi-detect/mlserver_alibi_detect/version.py +++ b/runtimes/alibi-detect/mlserver_alibi_detect/version.py @@ -1 +1 @@ -__version__ = "1.2.1" +__version__ = "1.2.2" diff --git a/runtimes/alibi-explain/mlserver_alibi_explain/version.py b/runtimes/alibi-explain/mlserver_alibi_explain/version.py index a955fdae1..bc86c944f 100644 --- a/runtimes/alibi-explain/mlserver_alibi_explain/version.py +++ b/runtimes/alibi-explain/mlserver_alibi_explain/version.py @@ -1 +1 @@ -__version__ = "1.2.1" +__version__ = "1.2.2" diff --git a/runtimes/huggingface/mlserver_huggingface/version.py b/runtimes/huggingface/mlserver_huggingface/version.py index a955fdae1..bc86c944f 100644 --- a/runtimes/huggingface/mlserver_huggingface/version.py +++ b/runtimes/huggingface/mlserver_huggingface/version.py @@ -1 +1 @@ -__version__ = "1.2.1" +__version__ = "1.2.2" diff --git a/runtimes/lightgbm/mlserver_lightgbm/version.py b/runtimes/lightgbm/mlserver_lightgbm/version.py index a955fdae1..bc86c944f 100644 --- a/runtimes/lightgbm/mlserver_lightgbm/version.py +++ b/runtimes/lightgbm/mlserver_lightgbm/version.py @@ -1 +1 @@ -__version__ = "1.2.1" +__version__ = "1.2.2" diff --git a/runtimes/mlflow/mlserver_mlflow/version.py b/runtimes/mlflow/mlserver_mlflow/version.py index a955fdae1..bc86c944f 100644 --- a/runtimes/mlflow/mlserver_mlflow/version.py +++ b/runtimes/mlflow/mlserver_mlflow/version.py @@ -1 +1 @@ -__version__ = "1.2.1" +__version__ = "1.2.2" diff --git a/runtimes/mllib/mlserver_mllib/version.py b/runtimes/mllib/mlserver_mllib/version.py index a955fdae1..bc86c944f 100644 --- a/runtimes/mllib/mlserver_mllib/version.py +++ b/runtimes/mllib/mlserver_mllib/version.py @@ -1 +1 @@ -__version__ = "1.2.1" +__version__ = "1.2.2" diff --git a/runtimes/sklearn/mlserver_sklearn/version.py b/runtimes/sklearn/mlserver_sklearn/version.py index a955fdae1..bc86c944f 100644 --- a/runtimes/sklearn/mlserver_sklearn/version.py +++ b/runtimes/sklearn/mlserver_sklearn/version.py @@ -1 +1 @@ -__version__ = "1.2.1" +__version__ = "1.2.2" diff --git a/runtimes/xgboost/mlserver_xgboost/version.py b/runtimes/xgboost/mlserver_xgboost/version.py index a955fdae1..bc86c944f 100644 --- a/runtimes/xgboost/mlserver_xgboost/version.py +++ b/runtimes/xgboost/mlserver_xgboost/version.py @@ -1 +1 @@ -__version__ = "1.2.1" +__version__ = "1.2.2" diff --git a/setup.py b/setup.py index a7fe1cec2..9a32f1335 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ def _load_description() -> str: packages=find_packages(exclude=["tests", "tests.*"]), install_requires=[ "click", - "fastapi", + "fastapi<=0.88.0", "python-dotenv", "grpcio", "importlib-metadata;python_version<'3.8'",