Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,8 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, macos-14 ]
python-version: [ "3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12"]
from-source: [ True, False ]
exclude:
# Skip macOS 14 with Python 3.10 due to gettext library issues
- os: macos-14
python-version: "3.10"
env:
# this script is for testing servers
# it starts server with timeout and checks whether process killed by timeout (started healthy) or died by itself
Expand Down Expand Up @@ -191,13 +187,13 @@ jobs:
VERSION_WITHOUT_PREFIX: ${{ steps.get-version.outputs.version_without_prefix }}
run: |
feast version
if ! VERSION_OUTPUT=$(feast version); then
echo "Error: Failed to get Feast version."
exit 1
fi
VERSION_OUTPUT=$(printf '%s\n' "$VERSION_OUTPUT" | python -c 'import re, sys; print(re.sub(r"\x1b\[[0-9;]*[A-Za-z]", "", sys.stdin.read()).strip())')
VERSION_REGEX='[0-9]+\.[0-9]+\.[0-9]+(\.dev[0-9]+)?'
OUTPUT_REGEX="^Feast SDK Version: \"${VERSION_REGEX}\"$"
if ! VERSION_OUTPUT=$(feast version); then
echo "Error: Failed to get Feast version."
exit 1
fi
VERSION_OUTPUT=$(printf '%s\n' "$VERSION_OUTPUT" | python -c 'import re, sys; print(re.sub(r"\x1b\[[0-9;]*[A-Za-z]", "", sys.stdin.read()).strip())')
VERSION_REGEX='[0-9]+\.[0-9]+\.[0-9]+(\.dev[0-9]+)?'
OUTPUT_REGEX="^Feast SDK Version: \"${VERSION_REGEX}\"$"
VERSION=$(echo "$VERSION_OUTPUT" | grep -oE "$VERSION_REGEX")
OUTPUT=$(echo "$VERSION_OUTPUT" | grep -E "$OUTPUT_REGEX")
echo "Installed Feast Version: $VERSION and using Feast Version: $VERSION_WITHOUT_PREFIX"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master_only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12"]
os: [ ubuntu-latest ]
env:
OS: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_duckdb_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup pixi
uses: prefix-dev/setup-pixi@v0.10.0
with:
pixi-version: v0.75.0
pixi-version: v0.84.1
environments: duckdb-tests
cache: true
- name: Run DuckDB offline store integration tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_ray_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup pixi
uses: prefix-dev/setup-pixi@v0.10.0
with:
pixi-version: v0.75.0
pixi-version: v0.84.1
environments: ray-tests
cache: true
- name: Run Ray integration tests (offline store + compute engine)
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/pr_registration_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup pixi
uses: prefix-dev/setup-pixi@v0.10.0
with:
pixi-version: v0.75.0
pixi-version: v0.84.1
environments: registration-tests
cache: true
- name: Run registration integration tests (local)
Expand Down Expand Up @@ -74,6 +74,12 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
# Hadoop 3.4.2 calls Subject.getSubject(), which throws on Java 24+.
- name: Set up Java 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
- name: Cache Hadoop tarball
uses: actions/cache@v4
with:
Expand All @@ -84,7 +90,7 @@ jobs:
- name: Setup pixi
uses: prefix-dev/setup-pixi@v0.10.0
with:
pixi-version: v0.75.0
pixi-version: v0.84.1
environments: registration-tests
cache: true
- name: Run registration integration tests (CI)
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12"]
os: [ ubuntu-latest, macos-14 ]
exclude:
- os: macos-14
python-version: "3.10"


env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
uv pip install pre-commit
pre-commit install --hook-type pre-commit --hook-type pre-push
source .venv/bin/activate
export PYTHON=3.10 && make install-python-dependencies-dev
export PYTHON=3.11 && make install-python-dependencies-dev
# git config --global alias.ci 'commit -s'
# git config --global alias.sw switch
# git config --global alias.st status
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-24.04
tools:
python: "3.10"
python: "3.11"

sphinx:
configuration: sdk/python/docs/source/conf.py
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ endif
TRINO_VERSION ?= 376
PYTHON_VERSION = ${shell python --version | grep -Eo '[0-9]\.[0-9]+'}

PYTHON_VERSIONS := 3.10 3.11 3.12
PYTHON_VERSIONS := 3.11 3.12

define get_env_name
$(subst .,,py$(1))
Expand Down Expand Up @@ -122,7 +122,11 @@ install-python-dependencies-ci: ## Install Python CI dependencies using uv pip s
# Must match the --torch-backend used to compile the CI lock, otherwise the
# recorded CPU-wheel hashes (from download.pytorch.org) fail to verify.
# The lock is universal, so one command serves both Linux and macOS.
uv pip sync --torch-backend cpu sdk/python/requirements/py$(PYTHON_VERSION)-ci-requirements.txt
# --build-constraints pins build-time deps of source builds to the lock too
# (e.g. sqlglotc on Python 3.10 has no wheel and must compile the locked sqlglot).
uv pip sync --torch-backend cpu \
--build-constraints sdk/python/requirements/py$(PYTHON_VERSION)-ci-requirements.txt \
sdk/python/requirements/py$(PYTHON_VERSION)-ci-requirements.txt
uv pip install --no-deps -e .

# Used in github actions/ci
Expand Down
4 changes: 4 additions & 0 deletions docs/how-to-guides/online-server-performance-tuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ feast serve \
**Sizing rule of thumb:** Start with `workers = 2 × vCPU + 1` and allocate ~256–512 MB memory per worker. Monitor RSS per process and adjust. If p99 latency is high under load, add more workers or scale horizontally rather than increasing connections.
{% endhint %}

### Garbage collection pauses

Every full Python garbage collection walks all live objects, including the registry and feature definitions that live for the whole process. In a worker this blocks the event loop, and while it runs every waiting request stalls. The stall shows up as a slow online store read. With `--gc-freeze` (or `feature_server.gc_freeze: true` in `feature_store.yaml`) the server runs `gc.freeze()` after it has loaded the registry and before the workers start, so full collections skip these objects and stay short. Try it if p99.9 latency has spikes that the online store does not explain.

---

## Registry cache tuning
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/alpha-vector-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ If you are using `pyenv` to manage your Python versions, you can install the SQL
PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions" \
LDFLAGS="-L/opt/homebrew/opt/sqlite/lib" \
CPPFLAGS="-I/opt/homebrew/opt/sqlite/include" \
pyenv install 3.10.14
pyenv install 3.11
```

And you can the Feast install package via:
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/compute-engine/snowflake.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ batch_engine:
role: sysadmin
warehouse: demo_wh
database: FEAST
python_udf_runtime_version: "3.10"
python_udf_runtime_version: "3.11"
```
{% endcode %}

## Configuration

* `python_udf_runtime_version` *(optional, default: `"3.10"`)* -- The Snowflake Python UDF `RUNTIME_VERSION` used when Feast deploys its materialization UDFs. Snowflake periodically decommissions old Python UDF runtimes (for example, the 3.9 runtime was decommissioned, requiring Feast to bump its default to 3.10 -- see [#6606](https://github.com/feast-dev/feast/issues/6606)). If Snowflake decommissions the 3.10 runtime in the future, set this field to a still-supported version (e.g. `"3.11"`) instead of waiting for a new Feast release.
* `python_udf_runtime_version` *(optional, default: `"3.11"`)* -- The Snowflake Python UDF `RUNTIME_VERSION` used when Feast deploys its materialization UDFs. Snowflake periodically decommissions old Python UDF runtimes (for example, the 3.9 runtime was decommissioned, requiring Feast to bump its default to 3.11 -- see [#6606](https://github.com/feast-dev/feast/issues/6606)). If Snowflake decommissions the 3.11 runtime in the future, set this field to a still-supported version (e.g. `"3.12"`) instead of waiting for a new Feast release.
1 change: 1 addition & 0 deletions docs/reference/feature-servers/python-feature-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Key performance options:
- `--max-requests-jitter`: Jitter to prevent thundering herd on worker restart (default: 50)
- `--registry_ttl_sec, -r`: Registry refresh interval in seconds. Higher values reduce overhead but increase staleness (default: 60)
- `--keep-alive-timeout`: Keep-alive connection timeout in seconds (default: 30)
- `--gc-freeze`: Run `gc.freeze()` after startup to shorten full garbage collection pauses. See [Garbage collection pauses](../../how-to-guides/online-server-performance-tuning.md#garbage-collection-pauses) (default: off)

### Performance Best Practices

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/rag-with-docling.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The typical RAG process involves:

## Prerequisites

- Python 3.10 or later
- Python 3.11 or later
- Feast installed with Milvus support: `pip install feast[milvus, nlp]`
- A basic understanding of feature stores and vector embeddings

Expand Down
2 changes: 1 addition & 1 deletion examples/agent_feature_store/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Feast is a natural fit for this checkpoint layer because it already provides:

## Prerequisites

- Python 3.10+
- Python 3.11+
- Feast with MCP and Milvus support
- OpenAI API key (for live tool-calling; demo mode works without it)

Expand Down
2 changes: 1 addition & 1 deletion examples/feast_mcp_server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ See the [Standalone MCP server](../../docs/reference/feature-servers/mcp-server.

## Prerequisites

1. **Python 3.10+ environment**
1. **Python 3.11+ environment**
2. **Feast with the MCP server extra**: `pip install 'feast[mcp-server]'`.

## Setup
Expand Down
2 changes: 1 addition & 1 deletion examples/online_store/milvus_tutorial/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This tutorial demonstrates how to use Milvus as a vector database backend for Fe

## Prerequisites

- Python 3.10+
- Python 3.11+
- Docker (for running Milvus)
- Feast installed (`pip install 'feast[milvus]'`)

Expand Down
Loading
Loading