diff --git a/docker/Dockerfile.worker b/docker/Dockerfile.worker index 2afbb450..da880759 100644 --- a/docker/Dockerfile.worker +++ b/docker/Dockerfile.worker @@ -2,6 +2,7 @@ ARG BASE_IMAGE=python:3.11-slim FROM $BASE_IMAGE AS prod RUN apt-get update && apt-get install -y \ + krb5-user \ libkrb5-dev \ libsasl2-dev \ libsasl2-modules-gssapi-mit \ diff --git a/docs/changelog/0.1.4.rst b/docs/changelog/0.1.4.rst new file mode 100644 index 00000000..6c3e528b --- /dev/null +++ b/docs/changelog/0.1.4.rst @@ -0,0 +1,8 @@ +0.1.4 (2024-04-15) +================== + +Bug Fixes +---------- + +- Fix missing backend factory for uvicorn. +- Fix missing ``kinit`` executable in worker image. diff --git a/docs/changelog/index.rst b/docs/changelog/index.rst index 47cc6f2d..a678f9fa 100644 --- a/docs/changelog/index.rst +++ b/docs/changelog/index.rst @@ -3,6 +3,7 @@ :caption: Changelog DRAFT + 0.1.4 0.1.3 0.1.2 0.1.1 diff --git a/docs/conf.py b/docs/conf.py index d300407d..fc19a551 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -36,7 +36,7 @@ # The short X.Y version. # this value is updated automatically by `poetry version ...` and poetry-bumpversion plugin -ver = Version.parse("0.1.3") +ver = Version.parse("0.1.4") version = ver.base_version # The full version, including alpha/beta/rc tags. release = ver.public diff --git a/pyproject.toml b/pyproject.toml index 0ae08339..245180cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "data-syncmaster" -version = "0.1.3" +version = "0.1.4" license = "Apache-2.0" description = "Syncmaster REST API + Worker" authors = ["DataOps.ETL "] @@ -200,6 +200,7 @@ exclude_lines = [ + [tool.poetry.group.docs.dependencies] autodoc-pydantic = {version = "^2.0.1", python = ">=3.8"} numpydoc = {version = "^1.6.0", python = ">=3.8"} diff --git a/syncmaster/__init__.py b/syncmaster/__init__.py index 8a7580c3..6a8b0526 100644 --- a/syncmaster/__init__.py +++ b/syncmaster/__init__.py @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2023-2024 MTS (Mobile Telesystems) # SPDX-License-Identifier: Apache-2.0 -_raw_version = "0.1.3" +_raw_version = "0.1.4" # version always contain only release number like 0.0.1 __version__ = ".".join(_raw_version.split(".")[:3]) # noqa: WPS410 diff --git a/syncmaster/backend/__init__.py b/syncmaster/backend/__init__.py index a3081aa3..4836c752 100644 --- a/syncmaster/backend/__init__.py +++ b/syncmaster/backend/__init__.py @@ -54,3 +54,7 @@ def application_factory(settings: Settings) -> FastAPI: ) return application + + +def get_application() -> FastAPI: + return application_factory(settings=Settings())