-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
164 lines (148 loc) · 4.3 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
[tool.poetry]
name = "buttermilk"
version = "0.2.1"
description = ""
authors = ["Nicolas Suzor <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10.0,<3.12"
shortuuid = "^1.0.13"
psutil = "^5.9.5"
cloudpathlib = "^0.20.0"
requests = "^2.32.3"
pathlib = "^1.0.1"
pillow = "^11.0.0"
pyyaml = "^6.0.2"
urllib3 = "^2.2.2"
azureml-core = "^1.57.0"
azure-identity = "^1.17.1"
hydra-core = "^1.3.2"
azure-keyvault = "^4.2.0"
pydantic = "^2.8.2"
coloredlogs = "^15.0.1"
google-cloud-logging = "^3.11.2"
json-repair = "^0.28.3"
boto3 = "^1.35.7"
azure-ai-contentsafety = "^1.0.0"
azure-cognitiveservices-vision-contentmoderator = "^1.0.0"
unidecode = "^1.3.8"
huggingface-hub = "^0.26.1"
sentencepiece = "^0.2.0"
validators = "^0.33.0"
replicate = "^0.32.1"
keyring = ">23.4.0"
google-crc32c = "^1.6.0"
regex = "^2024.9.11"
proto-plus = "^1.25.0"
httpx = "^0.27.2"
beautifulsoup4 = "^4.12.3"
rich = "^13.9.4"
google-cloud-secret-manager = "^2.22.0"
anthropic = {extras = ["vertex"], version = "^0.39.0"}
jq = "^1.8.0"
google-cloud-aiplatform = "^1.74.0"
langchain-google-vertexai = "^2.0.8"
promptflow-tracing = "^1.16.2"
db-dtypes = "^1.3.1"
promptflow-core = "^1.16.2"
google-cloud-language = "^2.15.1"
anyio = "^4.7.0"
[tool.poetry.group.ml.dependencies]
torch = "^2.5.1"
evaluate = "^0.4.2"
einops = "^0.8.0"
hf-transfer = "^0.1.8"
loky = "^3.4.1"
transformers = "^4.44.2"
peft = "^0.12.0"
azure-ai-ml = "1.18.0"
google-generativeai = "^0.7.2"
[tool.poetry.group.dev.dependencies]
fsspec = "^2024.6.1"
gcsfs = "^2024.6.1"
pytest = "^8.3.2"
cmap = "^0.3.0"
seaborn = "^0.13.2"
scikit-learn = "^1.5.1"
pytest-mock = "^3.14.0"
pytest-xdist = "^3.6.1"
pytest-timeout = "^2.3.1"
pytest-cov = "^5.0.0"
slack-bolt = "^1.21.2"
matplotlib = "^3.9.2"
alt-pytest-asyncio = {version = "^0.9.1", markers = "python_version >= '3.11'"}
tqdm = "^4.66.5"
hydra-colorlog = "^1.2.0"
plotly = "^5.24.1"
gradio = "^5.4.0"
gspread = "^6.1.2"
openpyxl = "^3.1.5"
langchain-anthropic = "^0.3.0"
google-cloud-bigquery-storage = "^2.27.0"
google-cloud-storage = "^2.19.0"
google-cloud-pubsub = "^2.27.1"
google-cloud-bigquery = "^3.27.0"
langchain-openai = "^0.2.11"
langchain = "^0.3.9"
langchain-google-vertexai = "^2.0.8"
#promptflow-tracing = "^1.16.2"
#promptflow-core = "^1.16.2"
#promptflow-tools = "^1.4.0"
[tool.poetry.group.video.dependencies]
opencv-python = "^4.10.0.84"
moviepy = "^1.0.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
extend-include = ["*.ipynb"]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
lint.select = ["E", "F"]
lint.ignore = [
"RET504", # Unnecessary variable assignment before return
"RET503", # Multiple returns
"E501", # Line too long
"TRY003", "EM101", # No f-strings or string literals in exceptions
"RET505", # Unnecessary else after return
]
lint.isort.combine-as-imports = true
lint.isort.known-first-party = ["buttermilk"]
# Same as Black.
line-length = 88
# Allow unused variables when underscore-prefixed.
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.11
target-version = "py311"
[tool.ruff.format]
# Enable formatting
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
markers = [
"integration: integration tests, don't run by default",
"scheduled: mark tests to run in scheduled testing",
]
norecursedirs = ["docs", "*.egg-info", "*.egg", "bin", "demo", ".git", "appdir", ".tox", "mediamarkets", "scrapers"]
timeout = 600
default_async_timeout = 300
addopts = [ "-rxX",
"--capture=fd", "--tb=short",
"--continue-on-collection-errors","--durations=10",
"-n 32"
]
# " "-rA", "--timeout_method=thread", "--with-integration"
# xfail_strict = true
asyncio_default_fixture_loop_scope = "session"
filterwarnings = [
"ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning",
"ignore:Passing field metadata as keyword arguments is deprecated"
]
# [tool.deps.disabled]
# scikit-learn = "^1.5.2"
# #google-cloud-aiplatform = {extras = ["langchain", "reasoningengine"], version = ">=1.70.0"}
# openinference-instrumentation-langchain = ">=0.1.25"
# anyio = "~3.7.1"
# google-cloud-language = "~2.14.0"
# promptflow = {extras = ["core", "devkit", "azure"], version = "^1.15.0"}