forked from aws/aws-sdk-pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
133 lines (115 loc) · 3.04 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
[tool.poetry]
name = "awswrangler"
version = "2.11.0"
description = "Pandas on AWS."
authors = ["Igor Tavares"]
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-data-wrangler.readthedocs.io/"
repository = "https://github.com/awslabs/aws-data-wrangler"
documentation = "https://aws-data-wrangler.readthedocs.io/"
keywords = ["pandas", "aws"]
classifiers = [
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
[tool.poetry.dependencies]
python = ">=3.6.2, <3.10"
boto3 = "^1.16.8"
botocore = "^1.19.8"
# python_full_version instead of just python is needed until the changes
# from https://github.com/python-poetry/poetry-core/pull/180 are released
pandas = [
{ version = "~1.1.0", markers = "python_full_version ~= '3.6.2'" },
{ version = "^1.2.0", markers = "python_full_version >= '3.7.1' and python_full_version < '4.0.0'" },
]
numpy = "^1.18.0"
pyarrow = ">=2.0.0, <5.1.0"
redshift-connector = "~2.0.888"
pymysql = ">=0.9.0, <1.1.0"
pg8000 = ">=1.16.0,<1.22.0"
openpyxl = "~3.0.0"
xlrd = { version = "^2.0.1", python = "~3.6" }
xlwt = { version = "^1.3.0", python = "~3.6" }
pyodbc = { version = "~4.0.32", optional = true }
sphinx-bootstrap-theme = "^0.8.0"
Sphinx = "^4.2.0"
tox = "^3.24.4"
requests-aws4auth = "^1.1.1"
jsonpath-ng = "^1.5.3"
progressbar2 = "^3.53.3"
opensearch-py = "^1.0.0"
[tool.poetry.extras]
sqlserver = ["pyodbc"]
[tool.poetry.dev-dependencies]
wheel = "^0.36.2"
isort = "^5.9.2"
black = "^21.9b0"
pylint = "^2.11.1"
flake8 = "^3.9.2"
mypy = "^0.910"
pydocstyle = "^6.1.1"
doc8 = "^0.9.1"
tox = "^3.24.4"
pytest = "^6.2.5"
pytest-cov = "^2.12.1"
pytest-rerunfailures = "^10.2"
pytest-xdist = "^2.4.0"
pytest-timeout = "^1.4.2"
pydot = "^1.4.2"
sphinx = "^4.2.0"
sphinx-bootstrap-theme = "^0.8.0"
nbsphinx = "^0.8.7"
nbsphinx-link = "^1.3.0"
IPython = "^7.16.0"
moto = "^2.2.1"
jupyterlab = "^3.1.4"
s3fs = "^2021.10.0"
python-Levenshtein = "^0.12.2"
bump2version = "^1.0.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ["py36", "py37", "py38", "py39"]
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 = 37
skip_gitignore = true
[tool.mypy]
python_version = 3.7
strict = true
ignore_missing_imports = true
[tool.pytest.ini_options]
log_cli = false
filterwarnings = "ignore::DeprecationWarning"
addopts = "--log-cli-format \"[%(name)s][%(funcName)s] %(message)s\" --verbose --capture=sys"