|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "app" |
3 | 3 | version = "0.1.0" |
4 | 4 | description = "" |
5 | | -authors = ["Admin <admin@example.com>"] |
6 | | - |
7 | | -[tool.poetry.dependencies] |
8 | | -python = "^3.10" |
9 | | -fastapi = {extras = ["standard"], version = "^0.114.2"} |
10 | | -python-multipart = "^0.0.7" |
11 | | -email-validator = "^2.1.0.post1" |
12 | | -passlib = {extras = ["bcrypt"], version = "^1.7.4"} |
13 | | -tenacity = "^8.2.3" |
14 | | -pydantic = ">2.0" |
15 | | -emails = "^0.6" |
16 | | - |
17 | | -gunicorn = "^22.0.0" |
18 | | -jinja2 = "^3.1.4" |
19 | | -alembic = "^1.12.1" |
20 | | -httpx = "^0.25.1" |
21 | | -psycopg = {extras = ["binary"], version = "^3.1.13"} |
22 | | -sqlmodel = "^0.0.21" |
23 | | -# Pin bcrypt until passlib supports the latest |
24 | | -bcrypt = "4.0.1" |
25 | | -pydantic-settings = "^2.2.1" |
26 | | -sentry-sdk = {extras = ["fastapi"], version = "^1.40.6"} |
27 | | -pyjwt = "^2.8.0" |
| 5 | +requires-python = ">=3.10,<4.0" |
| 6 | +dependencies = [ |
| 7 | + "fastapi[standard]<1.0.0,>=0.114.2", |
| 8 | + "python-multipart<1.0.0,>=0.0.7", |
| 9 | + "email-validator<3.0.0.0,>=2.1.0.post1", |
| 10 | + "passlib[bcrypt]<2.0.0,>=1.7.4", |
| 11 | + "tenacity<9.0.0,>=8.2.3", |
| 12 | + "pydantic>2.0", |
| 13 | + "emails<1.0,>=0.6", |
| 14 | + "jinja2<4.0.0,>=3.1.4", |
| 15 | + "alembic<2.0.0,>=1.12.1", |
| 16 | + "httpx<1.0.0,>=0.25.1", |
| 17 | + "psycopg[binary]<4.0.0,>=3.1.13", |
| 18 | + "sqlmodel<1.0.0,>=0.0.21", |
| 19 | + # Pin bcrypt until passlib supports the latest |
| 20 | + "bcrypt==4.0.1", |
| 21 | + "pydantic-settings<3.0.0,>=2.2.1", |
| 22 | + "sentry-sdk[fastapi]<2.0.0,>=1.40.6", |
| 23 | + "pyjwt<3.0.0,>=2.8.0", |
| 24 | +] |
28 | 25 |
|
29 | | -[tool.poetry.group.dev.dependencies] |
30 | | -pytest = "^7.4.3" |
31 | | -mypy = "^1.8.0" |
32 | | -ruff = "^0.2.2" |
33 | | -pre-commit = "^3.6.2" |
34 | | -types-passlib = "^1.7.7.20240106" |
35 | | -coverage = "^7.4.3" |
| 26 | +[tool.uv] |
| 27 | +dev-dependencies = [ |
| 28 | + "pytest<8.0.0,>=7.4.3", |
| 29 | + "mypy<2.0.0,>=1.8.0", |
| 30 | + "ruff<1.0.0,>=0.2.2", |
| 31 | + "pre-commit<4.0.0,>=3.6.2", |
| 32 | + "types-passlib<2.0.0.0,>=1.7.7.20240106", |
| 33 | + "coverage<8.0.0,>=7.4.3", |
| 34 | +] |
36 | 35 |
|
37 | 36 | [build-system] |
38 | | -requires = ["poetry>=0.12"] |
39 | | -build-backend = "poetry.masonry.api" |
| 37 | +requires = ["hatchling"] |
| 38 | +build-backend = "hatchling.build" |
40 | 39 |
|
41 | 40 | [tool.mypy] |
42 | 41 | strict = true |
|
0 commit comments