@@ -11,144 +11,148 @@ maintainers = [
1111readme = " README.md"
1212
1313[tool .poetry .dependencies ]
14- python = " ^ 3.9"
15- fastapi = " ^0.111.0 "
16- uvicorn = { version = " ^0.30.1 " , extras = [" standard" ] }
14+ python = " > 3.9.1,<4 "
15+ fastapi = " ^0.115.6 "
16+ uvicorn = { version = " ^0.34.0 " , extras = [" standard" ] }
1717{%- if cookiecutter.gunicorn == "True" %}
18- gunicorn = " ^22 .0.0"
18+ gunicorn = " ^23 .0.0"
1919{%- endif %}
2020{%- if cookiecutter.add_users == "True" %}
2121{%- if cookiecutter.orm == "sqlalchemy" %}
22- fastapi-users = " ^13 .0.0"
23- httpx-oauth = " ^0.14 .1"
22+ fastapi-users = " ^14 .0.0"
23+ httpx-oauth = " ^0.16 .1"
2424fastapi-users-db-sqlalchemy = " ^6.0.1"
2525{%- endif %}
2626{%- endif %}
27- pydantic = " ^2"
28- pydantic-settings = " ^2"
29- yarl = " ^1"
27+ {%- if cookiecutter.orm == "ormar" %}
28+ pydantic = " >=2.5.3,<2.9.0"
29+ {%- else %}
30+ pydantic = " ^2.10.4"
31+ {%- endif %}
32+ pydantic-settings = " ^2.7.0"
33+ yarl = " ^1.18.3"
3034ujson = " ^5.10.0"
3135{%- if cookiecutter.orm == "piccolo" %}
3236{%- if cookiecutter.db_info.name == "postgresql" %}
33- piccolo = {version = " ^1.13 .0" , extras = [" postgres" ]}
37+ piccolo = {version = " ^1.22 .0" , extras = [" postgres" ]}
3438{%- elif cookiecutter.db_info.name == "sqlite" %}
35- piccolo = {version = " ^1.13 .0" , extras = [" sqlite" ]}
39+ piccolo = {version = " ^1.22 .0" , extras = [" sqlite" ]}
3640{%- endif %}
3741{%- endif %}
3842{%- if cookiecutter.orm == "sqlalchemy" %}
39- SQLAlchemy = {version = " ^2.0.31 " , extras = [" asyncio" ]}
43+ SQLAlchemy = {version = " ^2.0.36 " , extras = [" asyncio" ]}
4044{%- if cookiecutter.enable_migrations == "True" %}
41- alembic = " ^1.13.2 "
45+ alembic = " ^1.14.0 "
4246{%- endif %}
4347{%- if cookiecutter.db_info.name == "postgresql" %}
44- asyncpg = {version = " ^0.29 .0" , extras = [" sa" ]}
48+ asyncpg = {version = " ^0.30 .0" , extras = [" sa" ]}
4549{%- elif cookiecutter.db_info.name == "sqlite" %}
4650aiosqlite = " ^0.20.0"
4751{%- elif cookiecutter.db_info.name == "mysql" %}
4852aiomysql = " ^0.2.0"
49- mysqlclient = " ^2.2.4 "
53+ mysqlclient = " ^2.2.6 "
5054{%- endif %}
5155{%- endif %}
5256{%- if cookiecutter.orm == "tortoise" %}
53- tortoise-orm = " ^0.21.3 "
57+ tortoise-orm = " ^0.23.0 "
5458{%- if cookiecutter.enable_migrations == "True" %}
55- aerich = " ^0.7.2 "
59+ aerich = " ^0.8.0 "
5660{%- endif %}
5761{%- if cookiecutter.db_info.name == "postgresql" %}
58- asyncpg = " ^0.29 .0"
62+ asyncpg = " ^0.30 .0"
5963{%- elif cookiecutter.db_info.name == "sqlite" %}
6064aiosqlite = " <0.20.0"
6165{%- elif cookiecutter.db_info.name == "mysql" %}
6266aiomysql = " ^0.2.0"
63- mysqlclient = " ^2.2.4 "
64- cryptography = " ^42 .0.8 "
67+ mysqlclient = " ^2.2.6 "
68+ cryptography = " ^44 .0.0 "
6569{%- endif %}
6670{%- endif %}
6771{%- if cookiecutter.orm == "ormar" %}
68- ormar = " ^0.20.1 "
72+ ormar = " ^0.20.2 "
6973{%- if cookiecutter.enable_migrations == "True" %}
70- alembic = " ^1.13.2 "
74+ alembic = " ^1.14.0 "
7175{%- endif %}
7276{%- if cookiecutter.db_info.name == "postgresql" %}
73- asyncpg = " ^0.29 .0"
74- psycopg2-binary = " ^2.9.9 "
77+ asyncpg = " ^0.30 .0"
78+ psycopg2-binary = " ^2.9.10 "
7579{%- elif cookiecutter.db_info.name == "sqlite" %}
7680aiosqlite = " ^0.20.0"
7781{%- elif cookiecutter.db_info.name == "mysql" %}
7882aiomysql = " ^0.2.0"
79- mysqlclient = " ^2.2.4 "
83+ mysqlclient = " ^2.2.6 "
8084{%- endif %}
8185{%- endif %}
8286{%- if cookiecutter.enable_redis == "True" %}
83- redis = {version = " ^5.0.7 " , extras = [" hiredis" ]}
87+ redis = {version = " ^5.2.1 " , extras = [" hiredis" ]}
8488{%- endif %}
8589{%- if cookiecutter.self_hosted_swagger == 'True' %}
8690aiofiles = " ^24.1.0"
8791{%- endif %}
8892{%- if cookiecutter.orm == "psycopg" %}
89- psycopg = { version = " ^3.1.19 " , extras = [" binary" , " pool" ] }
93+ psycopg = { version = " ^3.2.3 " , extras = [" binary" , " pool" ] }
9094{%- endif %}
91- httptools = " ^0.6.1 "
95+ httptools = " ^0.6.4 "
9296{%- if cookiecutter.orm == "beanie" %}
93- beanie = " ^1.26 .0"
97+ beanie = " ^1.28 .0"
9498{%- else %}
95- pymongo = " ^4.8.0 "
99+ pymongo = " ^4.10.1 "
96100{%- endif %}
97101{%- if cookiecutter.api_type == "graphql" %}
98- strawberry-graphql = { version = " ^0.235 .1" , extras = [" fastapi" ] }
102+ strawberry-graphql = { version = " ^0.256 .1" , extras = [" fastapi" ] }
99103{%- endif %}
100104{%- if cookiecutter.enable_rmq == "True" %}
101- aio-pika = " ^9.4.1 "
105+ aio-pika = " ^9.5.4 "
102106{%- endif %}
103107{%- if cookiecutter.prometheus_enabled == "True" %}
104- prometheus-client = " ^0.20.0 "
108+ prometheus-client = " ^0.21.1 "
105109prometheus-fastapi-instrumentator = " 7.0.0"
106110{%- endif %}
107111{%- if cookiecutter.sentry_enabled == "True" %}
108- sentry-sdk = " ^2.7.1 "
112+ sentry-sdk = " ^2.19.2 "
109113{%- endif %}
110114{%- if cookiecutter.otlp_enabled == "True" %}
111- opentelemetry-api = " ^1.25 .0"
112- opentelemetry-sdk = " ^1.25 .0"
113- opentelemetry-exporter-otlp = " ^1.25 .0"
114- opentelemetry-instrumentation = " ^0.46b0 "
115- opentelemetry-instrumentation-fastapi = " ^0.46b0 "
115+ opentelemetry-api = " ^1.29 .0"
116+ opentelemetry-sdk = " ^1.29 .0"
117+ opentelemetry-exporter-otlp = " ^1.29 .0"
118+ opentelemetry-instrumentation = " ^0.50b0 "
119+ opentelemetry-instrumentation-fastapi = " ^0.50b0 "
116120{%- if cookiecutter.enable_loguru != "True" %}
117- opentelemetry-instrumentation-logging = " ^0.46b0 "
121+ opentelemetry-instrumentation-logging = " ^0.50b0 "
118122{%- endif %}
119123{%- if cookiecutter.enable_redis == "True" %}
120- opentelemetry-instrumentation-redis = " ^0.46b0 "
124+ opentelemetry-instrumentation-redis = " ^0.50b0 "
121125{%- endif %}
122126{%- if cookiecutter.db_info.name == "postgresql" and cookiecutter.orm in ["ormar", "tortoise"] %}
123- opentelemetry-instrumentation-asyncpg = " ^0.46b0 "
127+ opentelemetry-instrumentation-asyncpg = " ^0.50b0 "
124128{%- endif %}
125129{%- if cookiecutter.orm == "sqlalchemy" %}
126- opentelemetry-instrumentation-sqlalchemy = " ^0.46b0 "
130+ opentelemetry-instrumentation-sqlalchemy = " ^0.50b0 "
127131{%- endif %}
128132{%- if cookiecutter.enable_rmq == "True" %}
129- opentelemetry-instrumentation-aio-pika = " ^0.46b0 "
133+ opentelemetry-instrumentation-aio-pika = " ^0.50b0 "
130134{%- endif %}
131135{%- endif %}
132136{%- if cookiecutter.enable_loguru == "True" %}
133- loguru = " ^0"
137+ loguru = " ^0.7.3 "
134138{%- endif %}
135139{%- if cookiecutter.enable_kafka == "True" %}
136- aiokafka = " ^0"
140+ aiokafka = " ^0.12.0 "
137141{%- endif %}
138142{%- if cookiecutter.enable_taskiq == "True" %}
139- taskiq = " ^0"
140- taskiq-fastapi = " ^0"
143+ taskiq = " ^0.11.10 "
144+ taskiq-fastapi = " ^0.3.3 "
141145
142146 {%- if cookiecutter.enable_redis == "True" %}
143- taskiq-redis = " ^1"
147+ taskiq-redis = " ^1.0.2 "
144148 {%- endif %}
145149
146150 {%- if cookiecutter.enable_rmq == "True" %}
147- taskiq-aio-pika = " ^0"
151+ taskiq-aio-pika = " ^0.4.1 "
148152 {%- endif %}
149153
150154 {%- if (cookiecutter.enable_rmq or cookiecutter.enable_rmq) != "True" %}
151- pyzmq = " ^26"
155+ pyzmq = " ^26.2.0 "
152156 {%- endif %}
153157
154158{%- endif %}
0 commit comments