Skip to content

Commit f93c5fd

Browse files
authored
fix: Move gRPC dependencies to an extra (#3900)
1 parent 60f24f9 commit f93c5fd

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

java/serving/src/test/resources/docker-compose/feast10/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -e
44

55
# feast root directory is expected to be mounted (eg, by docker compose)
66
cd /mnt/feast
7-
pip install -e '.[redis]'
7+
pip install -e '.[grpcio,redis]'
88

99
cd /app
1010
python materialize.py
11-
feast serve_transformations --port 8080
11+
feast serve_transformations --port 8080

setup.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
"click>=7.0.0,<9.0.0",
4545
"colorama>=0.3.9,<1",
4646
"dill~=0.3.0",
47-
"grpcio>=1.56.2,<2",
48-
"grpcio-tools>=1.56.2,<2",
49-
"grpcio-reflection>=1.56.2,<2",
50-
"grpcio-health-checking>=1.56.2,<2",
5147
"mypy-protobuf==3.1",
5248
"Jinja2>=2,<4",
5349
"jsonschema",
@@ -143,7 +139,14 @@
143139

144140
IBIS_REQUIRED = [
145141
"ibis-framework",
146-
"ibis-substrait"
142+
"ibis-substrait",
143+
]
144+
145+
GRPCIO_REQUIRED = [
146+
"grpcio>=1.56.2,<2",
147+
"grpcio-tools>=1.56.2,<2",
148+
"grpcio-reflection>=1.56.2,<2",
149+
"grpcio-health-checking>=1.56.2,<2",
147150
]
148151

149152
DUCKDB_REQUIRED = [
@@ -209,6 +212,7 @@
209212
+ ROCKSET_REQUIRED
210213
+ HAZELCAST_REQUIRED
211214
+ IBIS_REQUIRED
215+
+ GRPCIO_REQUIRED
212216
)
213217

214218

@@ -375,6 +379,7 @@ def run(self):
375379
"docs": DOCS_REQUIRED,
376380
"cassandra": CASSANDRA_REQUIRED,
377381
"hazelcast": HAZELCAST_REQUIRED,
382+
"grpcio": GRPCIO_REQUIRED,
378383
"rockset": ROCKSET_REQUIRED,
379384
"ibis": IBIS_REQUIRED,
380385
"duckdb": DUCKDB_REQUIRED

0 commit comments

Comments
 (0)