Skip to content

Commit 4d9bbb6

Browse files
authored
Merge branch 'master' into docs/fix-more-relative-links
2 parents 2d99537 + f2abc7c commit 4d9bbb6

399 files changed

Lines changed: 49585 additions & 71855 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/build_wheels.yml‎

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,9 @@ jobs:
134134
needs: [ build-python-wheel ]
135135
strategy:
136136
matrix:
137-
os: [ ubuntu-latest, macos-14 ]
138-
python-version: [ "3.10", "3.11", "3.12"]
137+
os: [ ubuntu-latest, macos-15 ]
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
@@ -157,14 +153,14 @@ jobs:
157153
steps:
158154
- uses: actions/checkout@v4
159155
- name: Install OS X dependencies
160-
if: matrix.os == 'macos-14'
156+
if: runner.os == 'macOS'
161157
run: brew install coreutils gettext
162158
- name: Setup Python
163159
id: setup-python
164160
uses: actions/setup-python@v5
165161
with:
166162
python-version: ${{ matrix.python-version }}
167-
architecture: x64
163+
architecture: ${{ runner.os == 'macOS' && 'arm64' || 'x64' }}
168164
- uses: actions/download-artifact@v4.1.7
169165
with:
170166
name: python-wheels
@@ -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/localcloud.yml‎

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# Setup and SDK reference: https://local.cloud/docs/github-actions/
2+
# Laptop: python3 scripts/localcloud-test.py (add --full-suite for regression tests).
3+
name: pr-local-cloud-integration-tests
4+
'on':
5+
pull_request:
6+
types:
7+
- opened
8+
- synchronize
9+
- reopened
10+
- labeled
11+
permissions:
12+
contents: read
13+
jobs:
14+
localcloud:
15+
# Match Feast's approval-label policy and never run this job in fork repositories.
16+
if:
17+
((github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||
18+
(github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))) &&
19+
github.repository == 'feast-dev/feast'
20+
runs-on: ubuntu-latest
21+
timeout-minutes: 30
22+
services:
23+
localcloud:
24+
image: agentcloud/localcloud:ci
25+
env:
26+
LOCALCLOUD_SERVICES: bigquery,bigtable,gcs
27+
LOCALCLOUD_PROJECT: localcloud-ci
28+
LOCALCLOUD_DOCKER_ACCESS: 'false'
29+
LOCALCLOUD_TELEMETRY: 'false'
30+
LOCALCLOUD_CONSOLE: 'false'
31+
ports:
32+
- 5380:5380
33+
- 5382:5382
34+
- 5385:5385
35+
- 5388:5388
36+
- 5389:5389
37+
- 5392:5392
38+
options: --memory 4g --health-cmd "curl -fsS http://127.0.0.1:5380/projects
39+
>/dev/null" --health-interval 5s --health-timeout 5s --health-retries 60
40+
--health-start-period 30s
41+
env:
42+
LOCALCLOUD_TEST: '1'
43+
GOOGLE_CLOUD_PROJECT: localcloud-ci
44+
steps:
45+
- uses: actions/checkout@v4
46+
- uses: actions/setup-python@v5
47+
with:
48+
python-version: '3.12'
49+
- uses: actions/setup-go@v5
50+
with:
51+
go-version-file: go.mod
52+
- uses: astral-sh/setup-uv@v5
53+
- name: Set up LocalCloud
54+
id: localcloud
55+
uses: agent-local-cloud/setup-localcloud@3f8bd6df58cfd3cf4cd29c46f3449c7e6465f64a
56+
with:
57+
image: agentcloud/localcloud:ci
58+
console: 'false'
59+
services: bigquery,bigtable,gcs
60+
project-id: localcloud-ci
61+
runtime-url: http://127.0.0.1:5380
62+
- name: Build project (1)
63+
run: uv venv --python 3.12 .venv
64+
working-directory: .
65+
env:
66+
LOCALCLOUD_GATEWAY_URL: ${{ steps.localcloud.outputs.runtime-url }}
67+
- name: Build project (2)
68+
run: make PYTHON_VERSION=3.12 install-python-dependencies-ci
69+
working-directory: .
70+
env:
71+
LOCALCLOUD_GATEWAY_URL: ${{ steps.localcloud.outputs.runtime-url }}
72+
- name: Build project (3)
73+
run: uv pip install protobuf==6.33.6 grpcio-health-checking==1.75.1 grpcio-reflection==1.75.1
74+
grpcio-testing==1.75.1 grpcio-tools==1.75.1
75+
working-directory: .
76+
env:
77+
LOCALCLOUD_GATEWAY_URL: ${{ steps.localcloud.outputs.runtime-url }}
78+
- name: Build project (4)
79+
run: .venv/bin/ruff check sdk/python/feast/infra/offline_stores/bigquery.py
80+
sdk/python/feast/infra/offline_stores/bigquery_source.py sdk/python/tests/localcloud/test_localcloud_gcp.py
81+
sdk/python/tests/unit/test_bigquery_local_endpoint.py scripts/localcloud-test.py
82+
working-directory: .
83+
env:
84+
LOCALCLOUD_GATEWAY_URL: ${{ steps.localcloud.outputs.runtime-url }}
85+
- name: Build project (5)
86+
run: .venv/bin/ruff format --check sdk/python/feast/infra/offline_stores/bigquery.py
87+
sdk/python/feast/infra/offline_stores/bigquery_source.py sdk/python/tests/localcloud/test_localcloud_gcp.py
88+
sdk/python/tests/unit/test_bigquery_local_endpoint.py scripts/localcloud-test.py
89+
working-directory: .
90+
env:
91+
LOCALCLOUD_GATEWAY_URL: ${{ steps.localcloud.outputs.runtime-url }}
92+
- name: Build project (6)
93+
run: uv pip check
94+
working-directory: .
95+
env:
96+
LOCALCLOUD_GATEWAY_URL: ${{ steps.localcloud.outputs.runtime-url }}
97+
- name: Build project (7)
98+
run: git diff --check
99+
working-directory: .
100+
env:
101+
LOCALCLOUD_GATEWAY_URL: ${{ steps.localcloud.outputs.runtime-url }}
102+
- name: Run LocalCloud tests
103+
run: .venv/bin/python -m pytest -q --tb=short sdk/python/tests/localcloud/test_localcloud_gcp.py
104+
working-directory: .
105+
env:
106+
LOCALCLOUD_GATEWAY_URL: ${{ steps.localcloud.outputs.runtime-url }}

‎.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/nightly-ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
sudo apt update
132132
sudo apt install -y -V libarrow-dev
133133
- name: Install apache-arrow on macos
134-
if: matrix.os == 'macos-14'
134+
if: runner.os == 'macOS'
135135
run: brew install apache-arrow
136136
- name: Install dependencies
137137
run: make install-python-dependencies-ci

‎.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: 9 additions & 9 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"]
28-
os: [ ubuntu-latest, macos-14 ]
29-
exclude:
30-
- os: macos-14
31-
python-version: "3.10"
32-
27+
python-version: ["3.11", "3.12"]
28+
os: [ ubuntu-latest, macos-15 ]
29+
3330
env:
3431
OS: ${{ matrix.os }}
3532
PYTHON: ${{ matrix.python-version }}
@@ -40,7 +37,7 @@ jobs:
4037
uses: actions/setup-python@v5
4138
with:
4239
python-version: ${{ matrix.python-version }}
43-
architecture: x64
40+
architecture: ${{ runner.os == 'macOS' && 'arm64' || 'x64' }}
4441
- name: Install the latest version of uv
4542
uses: astral-sh/setup-uv@v5
4643
with:
@@ -71,7 +68,9 @@ jobs:
7168
export PATH="${{ github.workspace }}/.venv/bin:$PATH"
7269
7370
# Dynamically detect site-packages for uv env
74-
SITE_PACKAGES=$(uv run python -c "import site; print(site.getsitepackages()[0])")
71+
# --no-sync: env was already installed via hashed uv pip sync; a fresh
72+
# uv sync can downgrade protobuf and break grpcio-health-checking.
73+
SITE_PACKAGES=$(uv run --no-sync python -c "import site; print(site.getsitepackages()[0])")
7574
7675
# Preserve any existing PYTHONPATH and add repo + site-packages
7776
export PYTHONPATH="${{ github.workspace }}/sdk/python:${PYTHONPATH}:$SITE_PACKAGES"
@@ -136,7 +135,8 @@ jobs:
136135
run: make install-feast-locally
137136
- name: Run Go tests with coverage
138137
run: |
139-
CGO_ENABLED=1 go test \
138+
# The Go packages share a registry fixture and must run sequentially.
139+
CGO_ENABLED=1 go test -p 1 \
140140
-coverprofile=go/coverage.out \
141141
-covermode=atomic \
142142
-skip "TestGetOnlineFeatures|TestSqliteOnlineRead" \

‎.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

0 commit comments

Comments
 (0)