Skip to content

Commit ef2d13c

Browse files
committed
fix: move gRPC dependencies to an extra
PR #3687 added a spiffy feature to ingest streaming features, but this came along with a large batch of depdencies. Notable this induces a core dependency on `protobuf>=4.21.6` while Feast itself is on `protobuf<4.23.4,>3.20`. This is a fiddly narrow range and excludes all 3.x uses. Signed-off-by: Chris Burroughs <chris.burroughs@gmail.com>
1 parent 03dae13 commit ef2d13c

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
CI_REQUIRED = (
@@ -205,6 +208,7 @@
205208
+ ROCKSET_REQUIRED
206209
+ HAZELCAST_REQUIRED
207210
+ IBIS_REQUIRED
211+
+ GRPCIO_REQUIRED
208212
)
209213

210214

@@ -371,6 +375,7 @@ def run(self):
371375
"docs": DOCS_REQUIRED,
372376
"cassandra": CASSANDRA_REQUIRED,
373377
"hazelcast": HAZELCAST_REQUIRED,
378+
"grpcio": GRPCIO_REQUIRED,
374379
"rockset": ROCKSET_REQUIRED,
375380
"ibis": IBIS_REQUIRED
376381
},

0 commit comments

Comments
 (0)