forked from aws/aws-sdk-pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
137 lines (121 loc) · 3.24 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[tool.poetry]
name = "awswrangler"
version = "2.20.1"
description = "Pandas on AWS."
authors = ["Amazon Web Services"]
license = "Apache License 2.0"
readme = "README.md"
include = ["README.md", "LICENSE.txt", "NOTICE.txt", "THIRD_PARTY.txt", "awswrangler/py.typed"]
exclude = ["*.so", "*.pyc", "*~", "#*", ".git*", ".coverage*", "DS_Store", "__pycache__"]
homepage = "https://aws-sdk-pandas.readthedocs.io/"
repository = "https://github.com/aws/aws-sdk-pandas"
documentation = "https://aws-sdk-pandas.readthedocs.io/"
keywords = ["pandas", "aws"]
classifiers = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
[tool.poetry.dependencies]
python = ">=3.7.1, <4.0"
boto3 = "^1.24.11"
botocore = "^1.27.11"
pandas = "^1.2.0, <=1.5.1, !=1.5.0" # Exclusion per: https://github.com/aws/aws-sdk-pandas/issues/1678
numpy = [
{ version = ">=1.21.0 <=1.23.4", markers = "python_full_version >= '3.7.1' and python_full_version < '3.11.0'" },
{ version = "^1.23.5", markers = "python_full_version >= '3.11.0'" },
]
pyarrow = ">=2.0.0,<10.1.0"
redshift-connector = "~2.0.889"
pymysql = "^1.0.0"
pg8000 = "^1.20.0"
openpyxl = "~3.0.0"
requests-aws4auth = "^1.1.1"
jsonpath-ng = "^1.5.3"
progressbar2 = "^4.0.0"
opensearch-py = ">=1,<3"
gremlinpython = "^3.5.2"
backoff = ">=1.11.1,<3.0.0"
SPARQLWrapper = { version = ">=1.8.5,<3.0.0", optional = true }
pyodbc = { version = "~4.0.32", optional = true }
oracledb = { version = "~1.0.0", optional = true }
deltalake = { version = ">=0.6.4,<0.9.0", optional = true }
[tool.poetry.extras]
sqlserver = ["pyodbc"]
oracle = ["oracledb"]
sparql = ["SPARQLWrapper"]
deltalake = ["deltalake"]
[tool.poetry.dev-dependencies]
wheel = "^0.38.1"
isort = "^5.9.2"
black = "^22.1.0"
pylint = "^2.11.1"
flake8 = "^5.0.1"
mypy = "^1.0"
pydocstyle = "^6.1.1"
doc8 = "^0.11.1"
tox = "^3.25.1"
pytest = "^7.1.2"
pytest-cov = "^4.0.0"
pytest-rerunfailures = "^10.2"
pytest-xdist = "^3.0.2"
pytest-timeout = "^2.1.0"
pydot = "^1.4.2"
sphinx = "^4.2.0"
sphinx-bootstrap-theme = "^0.8.0"
sphinx-copybutton = "^0.5.1"
nbsphinx = "^0.8.8"
nbsphinx-link = "^1.3.0"
IPython = "^7.34.0"
moto = "^4.0.3"
jupyterlab = "^3.1.4"
s3fs = "0.4.2"
python-Levenshtein = "^0.12.2"
bump2version = "^1.0.1"
setuptools = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ["py37", "py38", "py39", "py310"]
extend_exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.env
| _build
| buck-out
| build
| dist
| .vscode
| dev
| .coverage
)/
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
src_paths = ["awswrangler"]
py_version = 38
skip_gitignore = true
[tool.mypy]
python_version = 3.8
strict = true
ignore_missing_imports = true
warn_unused_ignores = true
[tool.pytest.ini_options]
log_cli = false
filterwarnings = "ignore::DeprecationWarning"
addopts = "--log-cli-format \"[%(name)s][%(funcName)s] %(message)s\" --verbose --capture=sys"
[tool.coverage.run]
omit = ["awswrangler/neptune/_utils.py"]