diff --git a/pyproject.toml b/pyproject.toml index 9645da9..0fb3356 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ python = "^3.10" dynaconf = "^3.1.12" loguru = "^0.7.0" uvicorn = "^0.23.0" -fastapi = "^0.101.0" +fastapi = "^0.103.1" playwright = "^1.36.0" gspread = "^5.10.0" @@ -31,7 +31,7 @@ pytest-cov = "^4.1" pytest-asyncio = "^0.21.0" pytest-mock = "^3.11.1" pytest-loguru = "^0.2.0" -pytest-playwright = "^0.3.3" +pytest-playwright = "^0.4.2" [tool.poetry.group.dev.dependencies] python-semantic-release = "^8.0.0" @@ -41,7 +41,7 @@ ruff = "*" optional = true [tool.poetry.group.docs.dependencies] -sphinx = ">=5,<6" +sphinx = ">=5,<8" sphinx_bootstrap_theme = "^0.8.1" sphinxext-remoteliteralinclude = "^0.4.0" @@ -56,7 +56,10 @@ pythonpath = [ [tool.semantic_release] upload_to_vcs_release = true -version_variables = ["pyproject.toml:version","morpho/bot.py:__version__"] +#version_variables = ["pyproject.toml:version"] +version_toml = [ + "pyproject.toml:tool.poetry.version", + ] build_command = "pip install poetry && poetry build" commit_parser = "emoji" diff --git a/src/morpho/bot.py b/src/morpho/bot.py index 41fbe07..fd36ad2 100644 --- a/src/morpho/bot.py +++ b/src/morpho/bot.py @@ -1,7 +1,7 @@ """ navigator """ -__version__ = "0.1.6" +#__version__ = "0.1.6" import asyncio import uvicorn @@ -120,14 +120,14 @@ async def shutdown_event(): @app.get("/") def root(): """Fastapi root""" - return {f"online {__version__}"} + return {"online"} @app.get("/health") def health_check(): """fastapi health""" logger.info("Healthcheck") - return {f"online {__version__}"} + return {"online"} if __name__ == '__main__':