-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (71 loc) · 2.15 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[tool.poetry]
name = "bento-lib"
version = "12.2.3"
description = "A set of common utilities and helpers for Bento platform services."
authors = [
"David Lougheed <[email protected]>",
"Paul Pillot <[email protected]>",
]
license = "LGPL-3.0"
readme = "README.md"
repository = "https://github.com/bento-platform/bento_lib"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
]
packages = [
{ include = "bento_lib" }
]
include = [
"bento_lib/schemas/*.json",
"bento_lib/package.cfg",
]
[tool.poetry.dependencies]
python = "^3.10"
aiofiles = ">=24.1.0,<25"
aiohttp = ">=3.10.10,<4"
asyncpg = { version = ">=0.29.0,<0.31.0", optional = true }
django = { version = ">=5.0.8,<5.2", optional = true }
djangorestframework = { version = ">=3.14.0,<3.16", optional = true }
fastapi = { version = ">=0.112.1,<0.116", optional = true }
flask = { version = ">=2.2.5,<4", optional = true }
jsonschema = ">=4.23.0,<5"
psycopg2-binary = ">=2.9.9,<3.0"
pydantic = ">=2.8.2,<3"
pydantic-settings = ">=2.4.0,<2.6" # avoid >=2.6.x for now: https://github.com/pydantic/pydantic-settings/issues/445
redis = ">=5.0.8,<6"
requests = ">=2.32.3,<3"
werkzeug = ">=2.2.3,<4"
[tool.poetry.group.dev.dependencies]
aioresponses = "^0.7.6"
coverage = "^7.4.1"
flake8 = "^7.0.0"
httpx = "^0.27.0"
mypy = "~1.13.0"
pytest = "^8.3.2"
pytest-asyncio = "^0.23.8"
pytest-cov = "^6.0.0"
pytest-django = "^4.8.0"
python-dateutil = "^2.8.2"
responses = "^0.25.0"
tox = "^4.13.0"
types-aiofiles = "^24.1.0.20240626"
types-colorama = "^0.4.15.20240205"
types-cryptography = "^3.3.23.2"
types-jsonschema = "^4.21.0.20240118"
types-psycopg2 = "^2.9.21.20240201"
types-pyopenssl = "^24.0.0.20240130"
types-pyyaml = "^6.0.12.12"
types-redis = "^4.6.0.20240106"
types-requests = "^2.31.0.20240125"
types-toml = "^0.10.8.7"
types-urllib3 = "^1.26.25.14"
[tool.poetry.extras]
asyncpg = ["asyncpg"]
flask = ["flask"]
django = ["django", "djangorestframework"]
fastapi = ["fastapi"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"