@@ -12,27 +12,27 @@ readme = "README.md"
1212
1313[tool .poetry .dependencies ]
1414python = " ^3.9"
15- fastapi = " ^0.85.0 "
16- uvicorn = { version = " ^0.18.3 " , extras = [" standard" ] }
17- pydantic = {version = " ^1.10.2 " , extras = [" dotenv" ]}
18- yarl = " ^1.8.1 "
19- ujson = " ^5.5 .0"
15+ fastapi = " ^0.89.1 "
16+ uvicorn = { version = " ^0.20.0 " , extras = [" standard" ] }
17+ pydantic = {version = " ^1.10.4 " , extras = [" dotenv" ]}
18+ yarl = " ^1.8.2 "
19+ ujson = " ^5.7 .0"
2020{%- if cookiecutter.orm == "piccolo" %}
2121{%- if cookiecutter.db_info.name == "postgresql" %}
22- piccolo = {version = " ^0.91 .0" , extras = [" postgres" ]}
22+ piccolo = {version = " ^0.105 .0" , extras = [" postgres" ]}
2323{%- elif cookiecutter.db_info.name == "sqlite" %}
24- piccolo = {version = " ^0.91 .0" , extras = [" sqlite" ]}
24+ piccolo = {version = " ^0.105 .0" , extras = [" sqlite" ]}
2525{%- endif %}
2626{%- endif %}
2727{%- if cookiecutter.orm == "sqlalchemy" %}
28- SQLAlchemy = {version = " ^1.4.41 " , extras = [" mypy " , " asyncio" ]}
28+ SQLAlchemy = {version = " ^2.0.0 " , extras = [" asyncio" ]}
2929{%- if cookiecutter.enable_migrations == "True" %}
30- alembic = " ^1.8.1 "
30+ alembic = " ^1.9.2 "
3131{%- endif %}
3232{%- if cookiecutter.db_info.name == "postgresql" %}
33- asyncpg = {version = " ^0.26 .0" , extras = [" sa" ]}
33+ asyncpg = {version = " ^0.27 .0" , extras = [" sa" ]}
3434{%- elif cookiecutter.db_info.name == "sqlite" %}
35- aiosqlite = " ^0.17 .0"
35+ aiosqlite = " ^0.18 .0"
3636{%- elif cookiecutter.db_info.name == "mysql" %}
3737aiomysql = " ^0.1.1"
3838mysqlclient = " ^2.1.1"
@@ -44,52 +44,52 @@ tortoise-orm = "^0.19.2"
4444aerich = " ^0.7.1"
4545{%- endif %}
4646{%- if cookiecutter.db_info.name == "postgresql" %}
47- asyncpg = " ^0.26 .0"
47+ asyncpg = " ^0.27 .0"
4848{%- elif cookiecutter.db_info.name == "sqlite" %}
49- aiosqlite = " ^0.17 .0"
49+ aiosqlite = " <0.18 .0"
5050{%- elif cookiecutter.db_info.name == "mysql" %}
5151aiomysql = " ^0.1.1"
5252mysqlclient = " ^2.1.1"
53- cryptography = " ^38 .0.1 "
53+ cryptography = " ^39 .0.0 "
5454{%- endif %}
5555{%- endif %}
5656{%- if cookiecutter.orm == "ormar" %}
57- ormar = " ^0.11.3 "
57+ ormar = " ^0.12.0 "
5858{%- if cookiecutter.enable_migrations == "True" %}
59- alembic = " ^1.8.1 "
59+ alembic = " ^1.9.2 "
6060{%- endif %}
6161{%- if cookiecutter.db_info.name == "postgresql" %}
62- asyncpg = " ^0.26 .0"
63- psycopg2-binary = " ^2.9.3 "
62+ asyncpg = " ^0.27 .0"
63+ psycopg2-binary = " ^2.9.5 "
6464{%- elif cookiecutter.db_info.name == "sqlite" %}
65- aiosqlite = " ^0.17 .0"
65+ aiosqlite = " ^0.18 .0"
6666{%- elif cookiecutter.db_info.name == "mysql" %}
6767aiomysql = " ^0.1.1"
6868mysqlclient = " ^2.1.1"
6969{%- endif %}
7070{%- endif %}
7171{%- if cookiecutter.enable_redis == "True" %}
72- redis = {version = " ^4.3.4 " , extras = [" hiredis" ]}
72+ redis = {version = " ^4.4.2 " , extras = [" hiredis" ]}
7373{%- endif %}
7474{%- if cookiecutter.self_hosted_swagger == 'True' %}
7575aiofiles = " ^22.1.0"
7676{%- endif %}
7777{%- if cookiecutter.orm == "psycopg" %}
78- psycopg = { version = " ^3.1.2 " , extras = [" binary" , " pool" ] }
78+ psycopg = { version = " ^3.1.8 " , extras = [" binary" , " pool" ] }
7979{%- endif %}
8080httptools = " ^0.5.0"
8181{%- if cookiecutter.api_type == "graphql" %}
82- strawberry-graphql = { version = " ^0.133 .2" , extras = [" fastapi" ] }
82+ strawberry-graphql = { version = " ^0.155 .2" , extras = [" fastapi" ] }
8383{%- endif %}
8484{%- if cookiecutter.enable_rmq == "True" %}
85- aio-pika = " ^8.2.3 "
85+ aio-pika = " ^8.3.0 "
8686{%- endif %}
8787{%- if cookiecutter.prometheus_enabled == "True" %}
88- prometheus-client = " ^0.14.1 "
88+ prometheus-client = " ^0.16.0 "
8989prometheus-fastapi-instrumentator = " 5.9.1"
9090{%- endif %}
9191{%- if cookiecutter.sentry_enabled == "True" %}
92- sentry-sdk = " ^1.9.9 "
92+ sentry-sdk = " ^1.14.0 "
9393{%- endif %}
9494{%- if cookiecutter.otlp_enabled == "True" %}
9595opentelemetry-api = " ^1.15.0"
@@ -117,32 +117,29 @@ opentelemetry-instrumentation-aio-pika = "^0.36b0"
117117loguru = " ^0.6.0"
118118{%- endif %}
119119{%- if cookiecutter.enable_kafka == "True" %}
120- aiokafka = " ^0.7.2 "
120+ aiokafka = " ^0.8.0 "
121121{%- endif %}
122122
123123[tool .poetry .dev-dependencies ]
124- pytest = " ^7.1.3 "
124+ pytest = " ^7.2.1 "
125125flake8 = " ~4.0.1"
126- mypy = " ^0.981 "
127- isort = " ^5.10.1 "
128- pre-commit = " ^2.20.0 "
126+ mypy = " ^0.991 "
127+ isort = " ^5.11.4 "
128+ pre-commit = " ^3.0.1 "
129129wemake-python-styleguide = " ^0.17.0"
130- black = " ^22.8 .0"
130+ black = " ^22.12 .0"
131131autoflake = " ^1.6.1"
132- {%- if cookiecutter.orm == "sqlalchemy" %}
133- SQLAlchemy = {version = " ^1.4.41" , extras = [" mypy" ]}
134- {%- endif %}
135132pytest-cov = " ^4.0.0"
136- anyio = " ^3.6.1 "
137- pytest-env = " ^0.6.2 "
133+ anyio = " ^3.6.2 "
134+ pytest-env = " ^0.8.1 "
138135{%- if cookiecutter.enable_redis == "True" %}
139- fakeredis = " ^2.2 .0"
136+ fakeredis = " ^2.5 .0"
140137{%- endif %}
141138{%- if cookiecutter.orm == "tortoise" %}
142139asynctest = " ^0.13.0"
143140nest-asyncio = " ^1.5.6"
144141{%- endif %}
145- httpx = " ^0.23.0 "
142+ httpx = " ^0.23.3 "
146143
147144[tool .isort ]
148145profile = " black"
@@ -161,9 +158,6 @@ allow_untyped_decorators = true
161158warn_unused_ignores = false
162159warn_return_any = false
163160namespace_packages = true
164- {%- if cookiecutter.orm == "sqlalchemy" %}
165- plugins = [" sqlalchemy.ext.mypy.plugin" ]
166- {%- endif %}
167161
168162{%- if cookiecutter.enable_redis == "True" %}
169163
0 commit comments