Skip to content

Commit 3ba6988

Browse files
authored
Merge branch 'master' into fix/5823-operator-namespace
2 parents 7157c4b + bbaca76 commit 3ba6988

37 files changed

Lines changed: 3834 additions & 17854 deletions

File tree

‎.github/workflows/build_wheels.yml‎

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,8 @@ jobs:
135135
strategy:
136136
matrix:
137137
os: [ ubuntu-latest, macos-14 ]
138-
python-version: [ "3.10", "3.11", "3.12"]
138+
python-version: ["3.11", "3.12"]
139139
from-source: [ True, False ]
140-
exclude:
141-
# Skip macOS 14 with Python 3.10 due to gettext library issues
142-
- os: macos-14
143-
python-version: "3.10"
144140
env:
145141
# this script is for testing servers
146142
# it starts server with timeout and checks whether process killed by timeout (started healthy) or died by itself
@@ -191,13 +187,13 @@ jobs:
191187
VERSION_WITHOUT_PREFIX: ${{ steps.get-version.outputs.version_without_prefix }}
192188
run: |
193189
feast version
194-
if ! VERSION_OUTPUT=$(feast version); then
195-
echo "Error: Failed to get Feast version."
196-
exit 1
197-
fi
198-
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())')
199-
VERSION_REGEX='[0-9]+\.[0-9]+\.[0-9]+(\.dev[0-9]+)?'
200-
OUTPUT_REGEX="^Feast SDK Version: \"${VERSION_REGEX}\"$"
190+
if ! VERSION_OUTPUT=$(feast version); then
191+
echo "Error: Failed to get Feast version."
192+
exit 1
193+
fi
194+
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())')
195+
VERSION_REGEX='[0-9]+\.[0-9]+\.[0-9]+(\.dev[0-9]+)?'
196+
OUTPUT_REGEX="^Feast SDK Version: \"${VERSION_REGEX}\"$"
201197
VERSION=$(echo "$VERSION_OUTPUT" | grep -oE "$VERSION_REGEX")
202198
OUTPUT=$(echo "$VERSION_OUTPUT" | grep -E "$OUTPUT_REGEX")
203199
echo "Installed Feast Version: $VERSION and using Feast Version: $VERSION_WITHOUT_PREFIX"

‎.github/workflows/master_only.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.10", "3.11", "3.12"]
15+
python-version: ["3.11", "3.12"]
1616
os: [ ubuntu-latest ]
1717
env:
1818
OS: ${{ matrix.os }}

‎.github/workflows/pr_duckdb_integration_tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup pixi
2929
uses: prefix-dev/setup-pixi@v0.10.0
3030
with:
31-
pixi-version: v0.75.0
31+
pixi-version: v0.84.1
3232
environments: duckdb-tests
3333
cache: true
3434
- name: Run DuckDB offline store integration tests

‎.github/workflows/pr_ray_integration_tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup pixi
2929
uses: prefix-dev/setup-pixi@v0.10.0
3030
with:
31-
pixi-version: v0.75.0
31+
pixi-version: v0.84.1
3232
environments: ray-tests
3333
cache: true
3434
- name: Run Ray integration tests (offline store + compute engine)

‎.github/workflows/pr_registration_integration_tests.yml‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup pixi
3232
uses: prefix-dev/setup-pixi@v0.10.0
3333
with:
34-
pixi-version: v0.75.0
34+
pixi-version: v0.84.1
3535
environments: registration-tests
3636
cache: true
3737
- name: Run registration integration tests (local)
@@ -74,6 +74,12 @@ jobs:
7474
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
7575
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
7676
aws-region: us-west-2
77+
# Hadoop 3.4.2 calls Subject.getSubject(), which throws on Java 24+.
78+
- name: Set up Java 17
79+
uses: actions/setup-java@v4
80+
with:
81+
distribution: temurin
82+
java-version: "17"
7783
- name: Cache Hadoop tarball
7884
uses: actions/cache@v4
7985
with:
@@ -84,7 +90,7 @@ jobs:
8490
- name: Setup pixi
8591
uses: prefix-dev/setup-pixi@v0.10.0
8692
with:
87-
pixi-version: v0.75.0
93+
pixi-version: v0.84.1
8894
environments: registration-tests
8995
cache: true
9096
- name: Run registration integration tests (CI)

‎.github/workflows/unit_tests.yml‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,9 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
python-version: ["3.10", "3.11", "3.12"]
27+
python-version: ["3.11", "3.12"]
2828
os: [ ubuntu-latest, macos-14 ]
29-
exclude:
30-
- os: macos-14
31-
python-version: "3.10"
32-
29+
3330
env:
3431
OS: ${{ matrix.os }}
3532
PYTHON: ${{ matrix.python-version }}

‎.gitpod.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tasks:
88
uv pip install pre-commit
99
pre-commit install --hook-type pre-commit --hook-type pre-push
1010
source .venv/bin/activate
11-
export PYTHON=3.10 && make install-python-dependencies-dev
11+
export PYTHON=3.11 && make install-python-dependencies-dev
1212
# git config --global alias.ci 'commit -s'
1313
# git config --global alias.sw switch
1414
# git config --global alias.st status

‎.readthedocs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-24.04
55
tools:
6-
python: "3.10"
6+
python: "3.11"
77

88
sphinx:
99
configuration: sdk/python/docs/source/conf.py

‎Makefile‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ endif
3939
TRINO_VERSION ?= 376
4040
PYTHON_VERSION = ${shell python --version | grep -Eo '[0-9]\.[0-9]+'}
4141

42-
PYTHON_VERSIONS := 3.10 3.11 3.12
42+
PYTHON_VERSIONS := 3.11 3.12
4343

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

128132
# Used in github actions/ci

‎docs/how-to-guides/online-server-performance-tuning.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ feast serve \
185185
**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.
186186
{% endhint %}
187187

188+
### Garbage collection pauses
189+
190+
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.
191+
188192
---
189193

190194
## Registry cache tuning

0 commit comments

Comments
 (0)