Repository navigation
Description
Summary
After retiring Python 3.10 (#7101), Feast currently tests and locks only Python 3.11 and 3.12, while requires-python = ">=3.11.0" already allows installs on newer versions. Python 3.13 has been GA since Oct 2024 and is security-supported through Oct 2029. We should add formal Python 3.13 support (locks, CI, classifiers, docs).
requires-python already permits 3.13; what is missing is tested support and dependency lockfiles.
Related prior work:
- The dependency "pyarrow<=17.0.0" does not work with Python 3.13 #5609 / pypi release #5591 — historical pyarrow pin blocked 3.13 (resolved)
- fix: Allow dill 0.4 so UDF serialization works on Python 3.14 #6858 — dill loosened for Python 3.14 UDF serialization (no 3.13/3.14 CI yet)
- fix: Retire the support of Python3.10 #7101 — Python 3.10 retirement
Out of scope for this issue: full Python 3.14 parity (can be a follow-up; unit-only lane optional once 3.13 is green).
Goal
Declare and verify support for Python 3.11, 3.12, and 3.13.
Acceptance criteria
- Hashed requirement locks exist for 3.13 (
ci,minimal, default) - Unit tests run on 3.13 in CI (Linux + macOS, matching current matrix shape)
- Wheel install verification includes 3.13
- PyPI classifiers list 3.11, 3.12, and 3.13
- Docs / examples / setup guides no longer claim outdated floors (3.9 / 3.10)
- Known blocker extras (
ray,faiss) either work on 3.13 or are explicitly documented / version-gated -
make lock-python-dependencies-allregenerates cleanly for3.11 3.12 3.13
Checklist — places to update
Packaging / metadata
-
pyproject.toml- Add classifiers:
Programming Language :: Python :: 3.12and:: 3.13(today only3.11is listed) - Keep
requires-python = ">=3.11.0"(already correct; do not raise the floor) - Widen or document the
rayextra marker (currentlypython_version == "3.11"only) - Raise/relax
faiss-cpu>=1.7.0,<=1.10.0if 1.10 has no usable 3.13 wheels; prefer current faiss-cpu with abi3 / 3.13 wheels - Review other tight pins that may fail on 3.13 during
uv pip compile --extra ci - Consider bumping
[tool.ruff] target-versionfrompy310→ at leastpy311 - Add
[tool.pixi.feature.py313](and keep py311/py312) if pixi features are used for local testing
- Add classifiers:
-
infra/scripts/pixi/pixi.toml- Add
py313feature/environment - Clean stale
py39/py310features left after 3.10 retirement
- Add
-
pixi.lock— regenerate after pixi/python feature changes
Dependency locks
-
Makefile— extendPYTHON_VERSIONS := 3.11 3.12 3.13 - Run
make lock-python-dependencies-alland commit:-
sdk/python/requirements/py3.13-ci-requirements.txt -
sdk/python/requirements/py3.13-minimal-requirements.txt -
sdk/python/requirements/py3.13-requirements.txt
-
- Ensure
infra/scripts/add_cpu_torch_hashes.pyworks for 3.13 (torch CPU hashes)
CI / GitHub Actions
Must include 3.13 (support gate):
-
.github/workflows/unit_tests.yml— matrixpython-version: ["3.11", "3.12", "3.13"] -
.github/workflows/build_wheels.yml—verify-python-wheelsmatrix includes3.13 -
.github/workflows/master_only.yml— add3.13if this remains a multi-version gate -
.github/workflows/dbt-integration-tests.yml— currently3.11/3.12; add3.13or document why not
Optional / phased (cost control — keep on 3.11 or 3.11+3.12 initially, sample 3.13 later):
-
.github/workflows/nightly-ci.yml -
.github/workflows/pr_integration_tests.yml -
.github/workflows/pr_local_integration_tests.yml -
.github/workflows/pr_remote_rbac_integration_tests.yml -
.github/workflows/pr_chronon_integration_tests.yml -
.github/workflows/pr_duckdb_integration_tests.yml/pr_ray_integration_tests.yml/pr_registration_integration_tests.yml(as applicable) -
.github/workflows/registry-rest-api-tests.yml -
.github/workflows/smoke_tests.yml -
.github/fork_workflows/fork_pr_integration_tests_{aws,gcp,snowflake}.yml
Usually leave pinned (tooling defaults, not support matrix):
-
.github/workflows/linter.yml(3.11 OK) -
.github/workflows/security.yml(3.12 OK) -
.github/workflows/localcloud.yml(3.12 OK unless LocalStack/images need 3.13)
Container images (verify install works; bump only if intentionally moving base)
No need to move production bases to 3.13 in the same PR, but confirm images still install Feast correctly and document supported host Python:
-
sdk/python/feast/infra/feature_servers/multicloud/Dockerfile(+.dev) — currently UBI9python-312 -
sdk/python/feast/infra/transformation_servers/Dockerfile—python:3.11-slim -
sdk/python/feast/mcp/docker/Dockerfile -
java/serving/src/test/resources/docker-compose/feast10/Dockerfile—python:3.11 - Note:
aws_lambdaDockerfile still onpython:3.9(separate cleanup; not a 3.13 blocker)
Docs (user-facing)
Stale version floors still present after the 3.10 drop — fix as part of this work:
-
docs/project/development-guide.md- “Python (3.10 and above)” → 3.11+ (and mention 3.13 as supported once CI is green)
- Example
uv venv --python 3.11— note 3.11–3.13 are supported
-
docs/getting-started/quickstart.md— “Python (3.9 or above)” → 3.11+ -
docs/project/release-process.md— still mentions building wheels for “Python 3.8–3.10”; update to current matrix -
docs/reference/alpha-vector-database.md- SQLite/vector note still says “only working on Python 3.10” — re-validate and rewrite
-
pyenv install 3.11example — allow 3.13 or say “3.11+”
-
environment-setup.md—uv venv --python 3.11(mention supported range) -
.readthedocs.yml— can stay on 3.11, or move to 3.12/3.13 if docs build deps allow
Examples / website / misc docs
-
examples/*/README.mdthat sayPython 3.11+— fine once 3.13 is tested; call out any extras that remain 3.11-only (e.g. Ray until marker is widened) -
docs/presentations/feast-chronon-summit/README.md— “Python 3.10+” -
infra/website/docs/blog/kubeflow-fraud-detection-e2e.md— “3.11 or newer” -
infra/website/docs/blog/feast-mlflow-kubeflow.md— still usespython:3.10-slimin snippets (update examples) -
infra/website/docs/blog/feast-dbt-integration.md— CI snippetpython-version: '3.11'
Tests / code that hard-codes Python versions
- Audit
sys.version_info/ skips still referencing 3.10 (e.g. ODFV / sqlite vector paths) and ensure behavior is correct on 3.13 - Confirm ODFV / dill serialization paths on 3.13 (related to fix: Allow dill 0.4 so UDF serialization works on Python 3.14 #6858)
Release / announcement
- CHANGELOG entry under Features: “Add Python 3.13 support”
- Optionally note any extras not yet supported on 3.13
Suggested implementation plan
- Unblock deps — widen
raymarker and bumpfaiss-cpu(or gate those extras) souv pip compile -p 3.13 --extra cisucceeds. - Locks — add
3.13toPYTHON_VERSIONSand regenerate requirement files. - CI — add 3.13 to unit tests + wheel verification first; keep most integration jobs on 3.11/3.12 initially.
- Metadata + docs — classifiers, development/quickstart/release docs, stale 3.9/3.10 references.
- Follow-up issue — Python 3.14 unit CI / full support (ecosystem mostly ready; Ray still marks 3.14 experimental).
Test plan
-
uv pip syncfrompy3.13-ci-requirements.txton Linux and macOS -
make test-python-uniton 3.13 - Wheel / sdist install smoke on 3.13 (
build_wheelsverify job) - Spot-check critical extras on 3.13:
redis,postgres,duckdb,milvus,pytorch(andrayif marker widened) - Docs preview: quickstart + development-guide version statements
Activity
krushna-sahu1 commentedon Nov 25, 2026
Hi @ntkathole, I'd like to work on this if nobody has started.
Since the list is long, I'd split it into smaller PRs:
I haven't run the lock generation yet, so I'd start there and report what fails on 3.13. Does this split work, or would you prefer the locks and CI in one PR?
krushna-sahu1 commentedon Nov 26, 2026
Hi @ntkathole, I've opened #7246 for this. I ended up doing it as a single PR instead of the three I suggested, since the locks, CI matrix and classifiers depend on each other (same approach as #7101).
Summary:
rayandfaiss-cpualready work on 3.13; the real blocker wascouchbase, bumped to 4.3.6 (andcouchbase-columnarto 1.0.1)It needs
ok-to-testto run CI. Happy to split it up if you'd prefer.