Skip to content

Commit a846530

Browse files
pyalexkevjumba
authored andcommitted
chore: Extra dependencies in setup.py for Go <-> Python interop (#2589)
* install go dependencies Signed-off-by: pyalex <[email protected]> * allow patch versions for cffi Signed-off-by: pyalex <[email protected]>
1 parent a55bcc5 commit a846530

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/reference/feature-servers/go-feature-retrieval.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ The Go Feature Retrieval component currently only supports Redis and Sqlite as o
1212

1313
As long as you are running macOS or linux, on x86, with python version 3.7-3.10, the go component comes pre-compiled when you install feast.
1414

15+
However, some additional dependencies are required for Go <-> Python interoperability. To install these dependencies run the following command in your console:
16+
```
17+
pip install feast[go]
18+
```
19+
1520
For developers, if you want to build from source, run `make compile-go-lib` to build and compile the go server.
1621

1722
## Usage

sdk/python/setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@
109109
"great_expectations>=0.14.0,<0.15.0"
110110
]
111111

112+
GO_REQUIRED = [
113+
"cffi==1.15.*",
114+
]
115+
112116
CI_REQUIRED = (
113117
[
114118
"cryptography==3.4.8",
@@ -434,6 +438,7 @@ def copy_extensions_to_source(self):
434438
"spark": SPARK_REQUIRED,
435439
"trino": TRINO_REQUIRED,
436440
"ge": GE_REQUIRED,
441+
"go": GO_REQUIRED,
437442
},
438443
include_package_data=True,
439444
license="Apache",

0 commit comments

Comments
 (0)