From 435afbd91c84914e4fc5b8739985af8cf479d7cd Mon Sep 17 00:00:00 2001 From: GabrielBarberini Date: Thu, 13 Jun 2024 22:05:51 -0300 Subject: [PATCH] increase version --- Dockerfile | 2 +- lib/api.py | 2 +- lib/settings/gunicorn.py | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 573f83f..831a57b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,4 @@ RUN apt-get update && \ COPY ./lib /app/lib -CMD ["gunicorn", "-c", "lib/settings/gunicorn.py", "-w", "1", "--threads=2", "-k", "uvicorn.workers.UvicornWorker", "lib.api:app", "--log-level", "Debug", "-b", "0.0.0.0:3000", "--timeout", "30"] +CMD ["gunicorn", "-c", "lib/settings/gunicorn.py", "-w", "1", "--threads=2", "-k", "uvicorn.workers.UvicornWorker", "lib.api:app", "--log-level", "Debug", "-b", "0.0.0.0:3000", "--timeout", "35"] diff --git a/lib/api.py b/lib/api.py index b6af499..d0c7d35 100644 --- a/lib/api.py +++ b/lib/api.py @@ -39,7 +39,7 @@ def custom_openapi(): return app.openapi_schema openapi_schema = get_openapi( title="RocketPy Infinity-API", - version="1.2.0 BETA", + version="1.2.1 BETA", description=( "

RocketPy Infinity-API is a RESTful Open API for RocketPy, a rocket flight simulator.

" "
" diff --git a/lib/settings/gunicorn.py b/lib/settings/gunicorn.py index b85352d..6f75825 100644 --- a/lib/settings/gunicorn.py +++ b/lib/settings/gunicorn.py @@ -7,7 +7,7 @@ def post_fork(server, worker): # pylint: disable=unused-argument uptrace.configure_opentelemetry( dsn=Secrets.get_secret("UPTRACE_DSN"), service_name="infinity-api", - service_version="1.2.0", + service_version="1.2.1", deployment_environment="production", ) from lib.api import ( # pylint: disable=import-outside-toplevel diff --git a/pyproject.toml b/pyproject.toml index 70a9e16..0a29c15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ dependencies = {file = ["requirements.txt"]} [project] name = "Infinity-API" -version = "1.2.0" +version = "1.2.1" description = "RESTFULL open API for rocketpy" dynamic = ["dependencies"] requires-python = ">=3.12"