-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
135 lines (124 loc) · 4.11 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
[tool.poetry]
name = "squirrel-core"
version = "0.20.2"
description = "Squirrel is a Python library that enables ML teams to share, load, and transform data in a collaborative, flexible and efficient way."
authors = ["Merantix Momentum"]
license = "Apache 2.0"
readme = "README.md"
packages = [{include = "squirrel"}]
homepage = "https://merantix-momentum.com/technology/squirrel/"
repository = "https://github.com/merantix-momentum/squirrel-core"
documentation = "https://squirrel-core.readthedocs.io/en/latest/"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.9",
"Typing :: Typed",
]
[tool.poetry.plugins."fsspec.specs"]
"gs" = "squirrel.fsspec.custom_gcsfs.CustomGCSFileSystem"
[tool.poetry.dependencies]
python = "^3.9"
aiohttp = ">=3.8.4" # dependabot: GHSA-q3qx-c6g2-7pw2
fsspec = ">=2021.7.0"
mako = ">=1.2.4" # dependabot: GHSA-v973-fxgf-6xhp
msgpack = ">=1.0.4"
msgpack-numpy = ">=0.4.8"
more-itertools = ">=9.0.0"
numpy = ">=1.23.5"
oauthlib = ">=3.2.2" # dependabot: GHSA-3pgj-pg6c-r5p7
pluggy = ">=1.0.0"
pyjwt = ">=2.6.0" # dependabot: GHSA-ffqj-6fqr-9h24
ruamel-yaml = ">=0.17.21"
tqdm = ">=4.64.1" # dependabot: GHSA-r7q7-xcjw-qx8q
urllib3 = ">=1.25.4,<1.27" # workaround for: https://github.com/python-poetry/poetry-plugin-export/issues/183
adlfs = {version = "<2021.10", optional = true}
dask = {version = ">=2023.2.0", optional = true, extras = ["dataframe", "distributed"]} # dependabot: GHSA-hwqr-f3v9-hwxr
gcsfs = {version = ">=2021.7.0", optional = true}
numba = {version = ">=0.56.4", optional = true}
odfpy = {version = ">=1.4.1", optional = true}
openpyxl = {version = ">=3.1.1", optional = true} # dependabot: GHSA-chqf-hx79-gxc6
pyarrow = {version = ">=14.0.1", optional = true} # dependabot: GHSA-5wvp-7f3h-6wmm
pyxlsb = {version = ">=1.0.10", optional = true}
s3fs = {version = ">=2021.7.0", optional = true}
torch = {version = ">=1.13.1", optional = true} # dependabot: GHSA-47fc-vmwq-366v
wandb = {version = "*", optional = true}
xlrd = {version = ">=2.0.1", optional = true}
zarr = {version = ">=2.10.3", optional = true}
pandas = "^2.0.3"
[tool.poetry.group.dev.dependencies]
# dev dependencies pinned for faster resolution
autopep8 = "2.0.4"
black = "23.12.0"
faker = "21.0.0"
hypothesis = "6.92.1"
pip-tools = "7.3.0"
pre-commit = "3.5.0"
pytest = "7.4.3"
pytest-timeout = "2.2.0"
pytest-cov = "4.1.0"
pytest-xdist = "3.5.0"
scipy = "*"
setuptools = "69.0.2"
twine = "4.0.2"
wheel = "0.42.0"
mlflow = "2.9.2"
[tool.poetry.group.doc.dependencies]
# doc dependencies are pinned for faster resolution
sphinx = "3.5.4"
astroid = "2.14.2" # newer versions seem to break sphinx-autoapi
jinja2 = "3.0.3"
click = "8.0.4"
sphinx-autoapi = "1.9.0"
sphinx-versions = "1.1.3"
sphinx-rtd-theme = "1.2.0"
sphinxcontrib-jquery = "2.0.0"
sphinxcontrib-mermaid = "0.8.1"
myst-nb = "0.15.0"
# updated doc dependencies for python >=3.9
# sphinx = "6.2.1"
# click = "<8.1.0" # pin for faster resolution any between 8.0.0 and 8.1.0 should work
# sphinx-autoapi = "3.0.0" # pin for faster resolution - package does no longer seem to be maintained
# sphinxcontrib-mermaid = "0.8.1"
# sphinx-rtd-theme = "1.2.0"
# sphinx-versions = "1.1.3"
# myst-nb = "1.0.0" # pin for faster resolution any <1.0.0 should work
[tool.poetry.extras]
azure = ["adlfs"]
dask = ["dask"]
excel = ["odfpy", "openpyxl", "pyxlsb", "xlrd"]
feather = ["pyarrow"]
gcp = ["gcsfs"]
numba = ["numba"]
parquet = ["pyarrow"]
s3 = ["s3fs"]
torch = ["torch"]
wandb = ["wandb"]
zarr = ["zarr"]
all = ["adlfs", "dask", "odfpy", "openpyxl", "pyxlsb", "xlrd", "pyarrow", "gcsfs", "s3fs", "torch", "zarr", "wandb", "numba"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.autopep8]
max_line_length = 120
ignore="E265,E501,E203"
in-place = true
recursive = true
[tool.black]
line-length = 120
include = '\.pyi?$'
[tool.pytest.ini_options]
testpaths = [
"test",
"squirrel/integration_test",
]
addopts = "-p no:warnings -v"
norecursedirs = [
".*",
"build",
"dist",
"CVS",
"_darcs",
"{arch}",
"*.egg",
]