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
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ hazelcast = ["hazelcast-python-client>=5.1"]
hbase = ["happybase>=1.2.0,<3"]
ibis = [
"ibis-framework>=10.0.0",
"poetry-core<2",
"poetry-dynamic-versioning",
]
ikv = [
"ikvpy>=0.0.36",
Expand Down Expand Up @@ -127,7 +125,7 @@ redis = [
]
singlestore = ["singlestoredb<1.8.0"]
snowflake = [
"snowflake-connector-python[pandas]>=3.7,<4",
"snowflake-connector-python[pandas]>=3.7,<5",
]
sqlite_vec = ["sqlite-vec==v0.1.6"]
mcp = ["fastapi_mcp"]
Expand Down
8 changes: 5 additions & 3 deletions sdk/python/feast/infra/offline_stores/dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,11 @@ def evaluate_historical_retrieval():
# Make sure all event timestamp fields are tz-aware. We default tz-naive fields to UTC
entity_df_with_features[entity_df_event_timestamp_col] = (
entity_df_with_features[entity_df_event_timestamp_col].apply(
lambda x: x
if x.tzinfo is not None
else x.replace(tzinfo=timezone.utc)
lambda x: (
x
if x.tzinfo is not None
else x.replace(tzinfo=timezone.utc)
)
)
)

Expand Down
4 changes: 3 additions & 1 deletion sdk/python/feast/infra/offline_stores/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ def pull_latest_from_table_or_query(
)
select_timestamps = list(
map(
lambda field_name: f"TO_VARCHAR({field_name}, 'YYYY-MM-DD\"T\"HH24:MI:SS.FFTZH:TZM') AS {field_name}",
lambda field_name: (
f"TO_VARCHAR({field_name}, 'YYYY-MM-DD\"T\"HH24:MI:SS.FFTZH:TZM') AS {field_name}"
),
timestamp_columns,
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -685,9 +685,9 @@ def retrieve_online_documents_v2(

sorted_entities = sorted(
entities_dict.values(),
key=lambda x: x["vector_distance"]
if embedding is not None
else x["text_rank"],
key=lambda x: (
x["vector_distance"] if embedding is not None else x["text_rank"]
),
reverse=(embedding is None),
)[:top_k]

Expand Down
1,305 changes: 646 additions & 659 deletions sdk/python/requirements/py3.10-ci-requirements.txt

Large diffs are not rendered by default.

844 changes: 428 additions & 416 deletions sdk/python/requirements/py3.10-minimal-requirements.txt

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -608,16 +608,16 @@ packaging==26.0 \
# setuptools-git-versioning
# setuptools-scm
# wheel
pathspec==1.0.3 \
--hash=sha256:bac5cf97ae2c2876e2d25ebb15078eb04d76e4b98921ee31c6f85ade8b59444d \
--hash=sha256:e80767021c1cc524aa3fb14bedda9c34406591343cc42797b386ce7b9354fb6c
pathspec==1.0.4 \
--hash=sha256:0210e2ae8a21a9137c0d470578cb0e595af87edaa6ebf12ff176f14a02e0e645 \
--hash=sha256:fb6ae2fd4e7c921a165808a552060e722767cfa526f99ca5156ed2ce45a5c723
# via
# hatchling
# mypy
# scikit-build-core
pdm-backend==2.4.6 \
--hash=sha256:4427c235d9ee84afd23a376a0961e5b9ad7e1db09039127b71b2053d19185784 \
--hash=sha256:5dd9cd581a4f18d57ff506a5b3aad7c8df31e5949b6fd854bbc34c38107e4532
pdm-backend==2.4.7 \
--hash=sha256:1599e3afa6f229b30cb4d3bd9caeca42229c42eb5730abd13e0b5256ec93c9f7 \
--hash=sha256:a509d083850378ce919d41e7a2faddfc57a1764d376913c66731125d6b14110f
# via
# annotated-doc
# fastapi
Expand All @@ -630,20 +630,16 @@ pluggy==1.6.0 \
--hash=sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 \
--hash=sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746
# via hatchling
poetry-core==1.9.1 \
--hash=sha256:6f45dd3598e0de8d9b0367360253d4c5d4d0110c8f5c71120a14f0e0f116c1a0 \
--hash=sha256:7a2d49214bf58b4f17f99d6891d947a9836c9899a67a5069f52d7b67217f61b8
poetry-core==2.3.1 \
--hash=sha256:96f791d5d7d4e040f3983d76779425cf9532690e2756a24fd5ca0f86af19ef82 \
--hash=sha256:db1cf63b782570deb38bfba61e2304a553eef0740dc17959a50cc0f5115ee634
# via
# aiohappyeyeballs
# dunamai
# pkgconfig
# poetry-dynamic-versioning
# rich
# rsa
# tomlkit
poetry-core==2.3.0 \
--hash=sha256:f6da8f021fe380d8c9716085f4dcc5d26a5120a2452e077196333892af5de307 \
--hash=sha256:fc42f3854e346e4b96fb2b38d29e6873ec2ed25fbd7b8f1afba06613a966eaef
# via aiohappyeyeballs
pybind11-global==3.0.1 \
--hash=sha256:0e8d5a68d084c50bf145ce5efdbdd00704dbe6315035d0b7a255708ddeb9faca \
--hash=sha256:eb6ef4e8f5a60f4c0b6a9396cb7806f78d42f8d081e42a93c0bb62288f6cf403
Expand Down Expand Up @@ -833,14 +829,13 @@ wheel==0.46.3 \
# shellingham
# snowflake-connector-python
# tabulate
# tqdm
# tzdata
# uvloop

# The following packages are considered to be unsafe in a requirements file:
setuptools==80.10.1 \
--hash=sha256:bf2e513eb8144c3298a3bd28ab1a5edb739131ec5c22e045ff93cd7f5319703a \
--hash=sha256:fc30c51cbcb8199a219c12cc9c281b5925a4978d212f84229c909636d9f6984e
setuptools==80.10.2 \
--hash=sha256:8b0e9d10c784bf7d262c4e5ec5d4ec94127ce206e8738f29a437945fbc219b70 \
--hash=sha256:95b30ddfb717250edb492926c92b5221f7ef3fbcc2b07579bcd4a27da21d0173
# via
# aiobotocore
# aiohttp
Expand Down
Loading
Loading