@@ -42,35 +42,36 @@ def get_long_description():
4242 "rich-argparse" ,
4343 "tqdm" ,
4444 "simple-term-menu" ,
45+ "pydantic>=1.10.10,<2.0.0" ,
46+ "pydantic-duality>=1.2.4" ,
47+ "websocket-client" ,
48+ "python-multipart>=0.0.16" ,
49+ "filelock" ,
50+ "psutil" ,
51+ "gpuhunt>=0.0.16,<0.1.0" ,
52+ ]
53+
54+ SERVER_DEPS = [
4555 "fastapi" ,
4656 "starlette>=0.26.0" ,
4757 "uvicorn" ,
48- "pydantic>=1.10.10,<2.0.0" ,
49- "pydantic-duality>=1.2.4" ,
58+ "watchfiles" ,
5059 "sqlalchemy[asyncio]>=2.0.0" ,
5160 "sqlalchemy_utils>=0.40.0" ,
5261 "alembic>=1.10.2" ,
5362 "apscheduler<4" ,
5463 "aiosqlite" ,
55- "aiohttp" ,
56- "websocket-client" ,
57- "watchfiles" ,
58- "python-multipart>=0.0.16" ,
59- "filelock" ,
6064 "docker>=6.0.0" ,
6165 "python-dxf==12.1.0" ,
62- "cachetools" ,
63- "dnspython" ,
64- "grpcio>=1.50" , # indirect
65- "gpuhunt>=0.0.16,<0.1.0" ,
6666 "sentry-sdk[fastapi]" ,
67- "httpx" ,
68- "aiorwlock" ,
69- "python-json-logger" ,
7067 "alembic-postgresql-enum" ,
7168 "asyncpg" ,
69+ "aiorwlock" ,
70+ "cachetools" ,
71+ "httpx" ,
72+ "python-json-logger" ,
7273 "jinja2" ,
73- "psutil" ,
74+ "grpcio>=1.50" , # indirect
7475]
7576
7677AWS_DEPS = [
@@ -105,7 +106,9 @@ def get_long_description():
105106
106107OCI_DEPS = ["oci" ]
107108
108- ALL_DEPS = AWS_DEPS + AZURE_DEPS + GCP_DEPS + DATACRUNCH_DEPS + KUBERNETES_DEPS + OCI_DEPS
109+ ALL_DEPS = (
110+ SERVER_DEPS + AWS_DEPS + AZURE_DEPS + GCP_DEPS + DATACRUNCH_DEPS + KUBERNETES_DEPS + OCI_DEPS
111+ )
109112
110113setup (
111114 name = "dstack" ,
@@ -133,13 +136,14 @@ def get_long_description():
133136 install_requires = BASE_DEPS ,
134137 extras_require = {
135138 "all" : ALL_DEPS ,
136- "aws" : AWS_DEPS ,
137- "azure" : AZURE_DEPS ,
138- "datacrunch" : DATACRUNCH_DEPS ,
139- "gcp" : GCP_DEPS ,
140- "kubernetes" : KUBERNETES_DEPS ,
141- "lambda" : LAMBDA_DEPS ,
142- "oci" : OCI_DEPS ,
139+ "server" : SERVER_DEPS ,
140+ "aws" : SERVER_DEPS + AWS_DEPS ,
141+ "azure" : SERVER_DEPS + AZURE_DEPS ,
142+ "datacrunch" : SERVER_DEPS + DATACRUNCH_DEPS ,
143+ "gcp" : SERVER_DEPS + GCP_DEPS ,
144+ "kubernetes" : SERVER_DEPS + KUBERNETES_DEPS ,
145+ "lambda" : SERVER_DEPS + LAMBDA_DEPS ,
146+ "oci" : SERVER_DEPS + OCI_DEPS ,
143147 },
144148 classifiers = [
145149 "Development Status :: 2 - Pre-Alpha" ,
0 commit comments