Skip to content

Commit b8a5bfe

Browse files
authored
Merge branch 'master' into fix/dask-created-timestamp-collision
2 parents 4bb21b2 + 0f01802 commit b8a5bfe

86 files changed

Lines changed: 8161 additions & 18247 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: 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: 5 additions & 6 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 }}
@@ -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"

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

‎.secrets.baseline‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Makefile‎

Lines changed: 11 additions & 6 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
@@ -169,7 +173,8 @@ benchmark-python-local: ## Run integration + benchmark tests for Python (local d
169173
##@ Tests
170174

171175
test-python-unit: ## Run Python unit tests (use pattern=<pattern> to filter tests, e.g., pattern=milvus, pattern=test_online_retrieval.py, pattern=test_online_retrieval.py::test_get_online_features_milvus)
172-
uv run python -m pytest -n 8 --color=yes $(if $(pattern),-k "$(pattern)") \
176+
# --no-sync: CI installs via hashed uv pip sync first; re-sync can downgrade protobuf.
177+
uv run --no-sync python -m pytest -n 8 --color=yes $(if $(pattern),-k "$(pattern)") \
173178
--cov=feast \
174179
--cov-report=xml \
175180
--cov-report=term-missing \
@@ -199,7 +204,7 @@ test-python-smoke: ## Quick smoke test for development
199204
-n 4 --tb=short
200205

201206
test-python-integration: ## Run Python integration tests (CI)
202-
uv run python -m pytest --tb=short -v -n 8 --integration --color=yes --durations=10 --timeout=1200 --timeout_method=thread --dist loadgroup \
207+
uv run --no-sync python -m pytest --tb=short -v -n 8 --integration --color=yes --durations=10 --timeout=1200 --timeout_method=thread --dist loadgroup \
203208
-k "not snowflake" \
204209
-m "not rbac_remote_integration_test and not ray_offline_stores_only" \
205210
--ignore=sdk/python/tests/integration/registration \
@@ -217,7 +222,7 @@ test-python-integration-parallel: ## Run integration tests with enhanced paralle
217222
test-python-integration-local: ## Run Python integration tests (local dev mode)
218223
FEAST_IS_LOCAL_TEST=True \
219224
FEAST_LOCAL_ONLINE_CONTAINER=True \
220-
uv run python -m pytest --tb=short -v -n auto --color=yes --integration --durations=10 --timeout=1200 --timeout_method=thread --dist loadgroup \
225+
uv run --no-sync python -m pytest --tb=short -v -n auto --color=yes --integration --durations=10 --timeout=1200 --timeout_method=thread --dist loadgroup \
221226
-k "not test_lambda_materialization and not test_snowflake_materialization" \
222227
-m "not rbac_remote_integration_test and not ray_offline_stores_only" \
223228
--ignore=sdk/python/tests/component/ray \
@@ -228,7 +233,7 @@ test-python-integration-local: ## Run Python integration tests (local dev mode)
228233
test-python-integration-rbac-remote: ## Run Python remote RBAC integration tests
229234
FEAST_IS_LOCAL_TEST=True \
230235
FEAST_LOCAL_ONLINE_CONTAINER=True \
231-
uv run python -m pytest --tb=short -v -n 8 --color=yes --integration --durations=10 --timeout=1200 --timeout_method=thread --dist loadgroup \
236+
uv run --no-sync python -m pytest --tb=short -v -n 8 --color=yes --integration --durations=10 --timeout=1200 --timeout_method=thread --dist loadgroup \
232237
-k "not test_lambda_materialization and not test_snowflake_materialization" \
233238
-m "rbac_remote_integration_test and not ray_offline_stores_only" \
234239
--log-cli-level=INFO -s \

0 commit comments

Comments
 (0)