-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
115 lines (87 loc) · 3.13 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
[tool.poetry]
name = "spice_rack"
version = "0.0.0" # keep as 0.0.0 placeholder for poetry-dynamic-versioning
description = "group of common things we use across different python packages"
license = "Apache-2.0"
authors = ["Tim Robin <[email protected]>",]
readme = "README.md"
packages = [
{include = "spice_rack", from = "src"},
]
[tool.poetry.dependencies]
python = ">=3.9,<=3.12"
# serialization and primary class base
pydantic = { version = "~2", extras = [] }
typing-inspect = { version = "*", extras = [] }
pydantic_settings = { version = "*", extras = [] }
# for file path works
fsspec = { version = "*", extras = [] }
# logging
loguru = { version = "*", extras = [] }
stackprinter = { version = "*", extras = [] }
# helps with date parsing
dateparser = { version = "*", extras = [] }
# misc
devtools = { version = "*", extras = ["pygments"] }
inflection = { version = "*", extras = [] }
# why?
tabulate = { version = "*", extras = [] }
# misc
flatten-dict = { version = "*" }
# optional dependencies
# Note: not actually optional at the moment
# gcp
#gcsfs = { version = "==2024.2.0", optional = true}
gcsfs = { version = "==2024.2.0" }
# s3
#s3fs = { version = "*", optional = true }
#jmespath = { version = "*", optional = true } # dep of s3fs that isn't picked up for some reason
#urllib3 = { version = "<2", optional = true } # https://stackoverflow.com/questions/76414514/cannot-import-name-default-ciphers-from-urllib3-util-ssl-on-aws-lambda-us
s3fs = { version = "*" }
jmespath = { version = "*" } # dep of s3fs that isn't picked up for some reason
urllib3 = { version = "<2" } # https://stackoverflow.com/questions/76414514/cannot-import-name-default-ciphers-from-urllib3-util-ssl-on-aws-lambda-us
# sftp
#paramiko = { version = "*", optional = true }
paramiko = { version = "*" }
# dataframe stuff
#polars = { version = "*", optional = true }
polars = { version = "*" }
# api stuff
uvicorn = { version = "*" }
# deep
[tool.poetry.extras]
all = []
#gcp = ["gcsfs"]
#aws = ["s3fs", "jmespath", "urrlib3"]
#sftp = ["paramiko", ]
#polars = ["polars", ]
[tool.poetry.dev-dependencies]
# linter
ruff = { version = "*", extras = [] }
# mypy for _static type checking
mypy = { version = "*", extras = [] }
# unit tests
pytest = { version = "*", extras = [] }
pytest-sugar = { version = "*", extras = [] }
pytest-cov = { version = "*", extras = [] }
pytest-parametrization = { version = "*", extras = [] }
pytest-asyncio = { version = "*", extras = [] }
pytest-loguru = { version = "*", extras = [] }
testfixtures = { version = "*" }
# docs
sphinx = { version = "*", extras = [] }
sphinxcontrib-napoleon = { version = "*", extras = [] }
autodoc_pydantic = { version = "~2", extras = [] }
sphinx_rtd_theme = { version = "*", extras = [] }
# jupyter lab
ipykernel = { version = "*", extras = [] }
jupyterlab = { version = "*", extras = [] }
ipywidgets = { version = "*", extras = [] }
jupyterlab_widgets = { version = "*", extras = [] }
[tool.poetry-dynamic-versioning]
enable = false
vcs = "git"
style = "semver"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"