Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19f1f46

Browse files
authored
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 104155c commit 19f1f46

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
@@ -113,6 +113,10 @@
113113
"great_expectations>=0.14.0,<0.15.0"
114114
]
115115

116+
GO_REQUIRED = [
117+
"cffi==1.15.*",
118+
]
119+
116120
CI_REQUIRED = (
117121
[
118122
"cryptography==3.4.8",
@@ -440,6 +444,7 @@ def copy_extensions_to_source(self):
440444
"trino": TRINO_REQUIRED,
441445
"postgres": POSTGRES_REQUIRED,
442446
"ge": GE_REQUIRED,
447+
"go": GO_REQUIRED,
443448
},
444449
include_package_data=True,
445450
license="Apache",

0 commit comments

Comments
 (0)