You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/project/development-guide.md
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,43 +123,43 @@ Note that this means if you are midway through working through a PR and rebase,
123
123
Setting up your development environment for Feast Python SDK / CLI:
124
124
1. Ensure that you have Docker installed in your environment. Docker is used to provision service dependencies during testing, and build images for feature servers and other components.
125
125
- Please note that we use [Docker with BuiltKit](https://docs.docker.com/develop/develop-images/build_enhancements/).
126
-
2. Ensure that you have `make`, Python (3.8 and above) with `pip`, installed.
126
+
2. Ensure that you have `make` and Python (3.9 or above) installed.
127
127
3._Recommended:_ Create a virtual environment to isolate development dependencies to be installed
128
128
```sh
129
129
# create & activate a virtual environment
130
130
python -m venv venv/
131
131
source venv/bin/activate
132
132
```
133
-
4. Upgrade `pip` if outdated
134
-
```sh
135
-
pip install --upgrade pip
136
-
```
137
-
5. (M1 Mac only): Follow the [dev guide](https://github.com/feast-dev/feast/issues/2105)
138
-
6. Install pip-tools
139
-
```sh
140
-
pip install pip-tools
141
-
```
142
-
7. (Optional): Install Node & Yarn. Then run the following to build Feast UI artifacts for use in `feast ui`
133
+
4. (M1 Mac only): Follow the [dev guide](https://github.com/feast-dev/feast/issues/2105)
134
+
5. Install uv
135
+
It is recommended to use uv for managing python dependencies.
136
+
```sh
137
+
curl -LsSf https://astral.sh/uv/install.sh | sh
138
+
```
139
+
or
140
+
```ssh
141
+
pip install uv
142
+
```
143
+
6. (Optional): Install Node & Yarn. Then run the following to build Feast UI artifacts for use in `feast ui`
143
144
```
144
145
make build-ui
145
146
```
146
-
8. Install mysql (needed for ci dependencies)
147
+
7. (Optional) install pixi
148
+
pixi is necessary to run step 8 for all python versions at once.
147
149
```sh
148
-
brew install mysql
150
+
curl -fsSL https://pixi.sh/install.sh | bash
149
151
```
150
-
9. Install development dependencies for Feast Python SDK / CLI
152
+
8. (Optional): Recompile python lock files
153
+
If you make changes to requirements or simply want to update python lock files to reflect latest versioons.
151
154
```sh
152
-
pip install -e ".[dev]"
153
-
```
154
-
155
-
This will allow the installed feast version to automatically reflect changes to your local development version of Feast without needing to reinstall everytime you make code changes.
156
-
157
-
10. Compile the protubufs
155
+
make lock-python-dependencies-all
156
+
```
157
+
9. Install development dependencies for Feast Python SDK / CLI
158
+
This will install package versions from the lock file, install editable version of feast and compile protobufs.
0 commit comments