Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (49 loc) · 1.82 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (49 loc) · 1.82 KB
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
[tool.poetry]
name = "pinotdb"
version = "9.1.2.4"
description = "Python DB-API and SQLAlchemy dialect for Pinot."
authors = ["Beto Dealmeida <beto@dealmeida.net>", "Devesh Agrawal <devesh.agrawal@gmail.com>", "Xiang Fu <xiangfu.1024@gmail.com>", "Rong Rong <rongr@apache.org>"]
license = "MIT"
readme = "README.md"
packages = [{include = "pinotdb"}]
homepage = "https://github.com/startreedata/pinot-dbapi"
[tool.poetry.dependencies]
python = ">=3.10,<4"
ciso8601 = "^2.1.3"
httpx = ">=0.28.1,<0.29"
sqlalchemy = {version = ">=2.0,<3", optional = true}
greenlet = {version = ">=3.2.4,<4", optional = true}
requests = "^2.25.0"
# Pin urllib3 to a known-safe version (requests depends on urllib3 transitively).
urllib3 = "==2.8.0"
# Explicitly pinning h11 to version 0.16.0 to override a CVE-affected transitive dependency in httpx.
h11 = "0.16.0"
[tool.poetry.extras]
sqlalchemy = ["sqlalchemy", "requests", "greenlet"]
[tool.poetry.group.dev.dependencies]
coverage = ">=6.5,<8.0"
pytest = ">=7.1.3,<10.0.0"
pytest-cov = ">=4,<8"
parameterized = ">=0.8.1,<0.10.0"
tox = ">=3.26,<5.0"
urllib3 = "==2.8.0"
flake8 = ">=5,<8"
mock = ">=4.0.3,<6.0.0"
responses = ">=0.22,<0.27"
ipdb = "^0.13.13"
filelock = "^3.20.1"
[tool.pytest.ini_options]
addopts = "--cov=pinotdb --cov-branch"
[tool.coverage.report]
show_missing = true
[tool.poetry.plugins."sqlalchemy.dialects"]
pinot = "pinotdb.sqlalchemy:PinotHTTPDialect"
"pinot.http" = "pinotdb.sqlalchemy:PinotHTTPDialect"
"pinot.https" = "pinotdb.sqlalchemy:PinotHTTPSDialect"
"pinot.async" = "pinotdb.sqlalchemy:PinotHTTPAsyncDialect"
"pinot.rest_async" = "pinotdb.sqlalchemy:PinotHTTPAsyncDialect"
"pinot.http_async" = "pinotdb.sqlalchemy:PinotHTTPAsyncDialect"
"pinot.https_async" = "pinotdb.sqlalchemy:PinotHTTPSAsyncDialect"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"