|
18 | 18 | import shutil
|
19 | 19 | import subprocess
|
20 | 20 | import sys
|
21 |
| - |
22 | 21 | from pathlib import Path
|
23 | 22 |
|
24 |
| -from setuptools import find_packages, setup, Command |
| 23 | +from setuptools import Command, find_packages, setup |
25 | 24 | from setuptools.command.build_ext import build_ext as _build_ext
|
26 | 25 | from setuptools.command.build_py import build_py
|
27 | 26 | from setuptools.command.develop import develop
|
|
43 | 42 | "mmh3",
|
44 | 43 | "numpy>=1.22,<2",
|
45 | 44 | "pandas>=1.4.3,<3",
|
46 |
| - "protobuf>=4.24.0,<5.0.0", |
47 | 45 | "pyarrow>=4",
|
48 | 46 | "pydantic>=2.0.0",
|
49 | 47 | "pygments>=2.12.0,<3",
|
|
102 | 100 | "psycopg[binary,pool]>=3.0.0,<4",
|
103 | 101 | ]
|
104 | 102 |
|
105 |
| -OPENTELEMETRY = ["prometheus_client","psutil"] |
| 103 | +OPENTELEMETRY = ["prometheus_client", "psutil"] |
106 | 104 |
|
107 | 105 | MYSQL_REQUIRED = ["pymysql", "types-PyMySQL"]
|
108 | 106 |
|
|
139 | 137 |
|
140 | 138 | GRPCIO_REQUIRED = [
|
141 | 139 | "grpcio>=1.56.2,<2",
|
142 |
| - "grpcio-tools>=1.56.2,<2", |
143 | 140 | "grpcio-reflection>=1.56.2,<2",
|
144 | 141 | "grpcio-health-checking>=1.56.2,<2",
|
145 | 142 | ]
|
|
160 | 157 | "virtualenv==20.23.0",
|
161 | 158 | "cryptography>=35.0,<43",
|
162 | 159 | "ruff>=0.3.3",
|
| 160 | + "grpcio-tools>=1.56.2,<2", |
163 | 161 | "grpcio-testing>=1.56.2,<2",
|
164 | 162 | # FastAPI does not correctly pull starlette dependency on httpx see thread(https://github.com/tiangolo/fastapi/issues/5656).
|
165 | 163 | "httpx>=0.23.3",
|
@@ -403,9 +401,7 @@ def run(self):
|
403 | 401 | use_scm_version=use_scm_version,
|
404 | 402 | setup_requires=[
|
405 | 403 | "grpcio-tools>=1.56.2,<2",
|
406 |
| - "grpcio>=1.56.2,<2", |
407 |
| - "mypy-protobuf==3.1", |
408 |
| - "protobuf==4.24.0", |
| 404 | + "mypy-protobuf>=3.1", |
409 | 405 | "pybindgen==0.22.0",
|
410 | 406 | "setuptools_scm>=6.2",
|
411 | 407 | ],
|
|
0 commit comments