Skip to content

Commit 9fafc26

Browse files
authored
chore: Updated snowflake-connector-python (#5928)
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
1 parent aa5973f commit 9fafc26

20 files changed

+5518
-5550
lines changed

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ hazelcast = ["hazelcast-python-client>=5.1"]
8383
hbase = ["happybase>=1.2.0,<3"]
8484
ibis = [
8585
"ibis-framework>=10.0.0",
86-
"poetry-core<2",
87-
"poetry-dynamic-versioning",
8886
]
8987
ikv = [
9088
"ikvpy>=0.0.36",
@@ -127,7 +125,7 @@ redis = [
127125
]
128126
singlestore = ["singlestoredb<1.8.0"]
129127
snowflake = [
130-
"snowflake-connector-python[pandas]>=3.7,<4",
128+
"snowflake-connector-python[pandas]>=3.7,<5",
131129
]
132130
sqlite_vec = ["sqlite-vec==v0.1.6"]
133131
mcp = ["fastapi_mcp"]

sdk/python/feast/infra/offline_stores/dask.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,11 @@ def evaluate_historical_retrieval():
231231
# Make sure all event timestamp fields are tz-aware. We default tz-naive fields to UTC
232232
entity_df_with_features[entity_df_event_timestamp_col] = (
233233
entity_df_with_features[entity_df_event_timestamp_col].apply(
234-
lambda x: x
235-
if x.tzinfo is not None
236-
else x.replace(tzinfo=timezone.utc)
234+
lambda x: (
235+
x
236+
if x.tzinfo is not None
237+
else x.replace(tzinfo=timezone.utc)
238+
)
237239
)
238240
)
239241

sdk/python/feast/infra/offline_stores/snowflake.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,9 @@ def pull_latest_from_table_or_query(
185185
)
186186
select_timestamps = list(
187187
map(
188-
lambda field_name: f"TO_VARCHAR({field_name}, 'YYYY-MM-DD\"T\"HH24:MI:SS.FFTZH:TZM') AS {field_name}",
188+
lambda field_name: (
189+
f"TO_VARCHAR({field_name}, 'YYYY-MM-DD\"T\"HH24:MI:SS.FFTZH:TZM') AS {field_name}"
190+
),
189191
timestamp_columns,
190192
)
191193
)

sdk/python/feast/infra/online_stores/postgres_online_store/postgres.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -685,9 +685,9 @@ def retrieve_online_documents_v2(
685685

686686
sorted_entities = sorted(
687687
entities_dict.values(),
688-
key=lambda x: x["vector_distance"]
689-
if embedding is not None
690-
else x["text_rank"],
688+
key=lambda x: (
689+
x["vector_distance"] if embedding is not None else x["text_rank"]
690+
),
691691
reverse=(embedding is None),
692692
)[:top_k]
693693

sdk/python/requirements/py3.10-ci-requirements.txt

Lines changed: 646 additions & 659 deletions
Large diffs are not rendered by default.

sdk/python/requirements/py3.10-minimal-requirements.txt

Lines changed: 428 additions & 416 deletions
Large diffs are not rendered by default.

sdk/python/requirements/py3.10-minimal-sdist-requirements-build.txt

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -608,16 +608,16 @@ packaging==26.0 \
608608
# setuptools-git-versioning
609609
# setuptools-scm
610610
# wheel
611-
pathspec==1.0.3 \
612-
--hash=sha256:bac5cf97ae2c2876e2d25ebb15078eb04d76e4b98921ee31c6f85ade8b59444d \
613-
--hash=sha256:e80767021c1cc524aa3fb14bedda9c34406591343cc42797b386ce7b9354fb6c
611+
pathspec==1.0.4 \
612+
--hash=sha256:0210e2ae8a21a9137c0d470578cb0e595af87edaa6ebf12ff176f14a02e0e645 \
613+
--hash=sha256:fb6ae2fd4e7c921a165808a552060e722767cfa526f99ca5156ed2ce45a5c723
614614
# via
615615
# hatchling
616616
# mypy
617617
# scikit-build-core
618-
pdm-backend==2.4.6 \
619-
--hash=sha256:4427c235d9ee84afd23a376a0961e5b9ad7e1db09039127b71b2053d19185784 \
620-
--hash=sha256:5dd9cd581a4f18d57ff506a5b3aad7c8df31e5949b6fd854bbc34c38107e4532
618+
pdm-backend==2.4.7 \
619+
--hash=sha256:1599e3afa6f229b30cb4d3bd9caeca42229c42eb5730abd13e0b5256ec93c9f7 \
620+
--hash=sha256:a509d083850378ce919d41e7a2faddfc57a1764d376913c66731125d6b14110f
621621
# via
622622
# annotated-doc
623623
# fastapi
@@ -630,20 +630,16 @@ pluggy==1.6.0 \
630630
--hash=sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 \
631631
--hash=sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746
632632
# via hatchling
633-
poetry-core==1.9.1 \
634-
--hash=sha256:6f45dd3598e0de8d9b0367360253d4c5d4d0110c8f5c71120a14f0e0f116c1a0 \
635-
--hash=sha256:7a2d49214bf58b4f17f99d6891d947a9836c9899a67a5069f52d7b67217f61b8
633+
poetry-core==2.3.1 \
634+
--hash=sha256:96f791d5d7d4e040f3983d76779425cf9532690e2756a24fd5ca0f86af19ef82 \
635+
--hash=sha256:db1cf63b782570deb38bfba61e2304a553eef0740dc17959a50cc0f5115ee634
636636
# via
637+
# aiohappyeyeballs
637638
# dunamai
638639
# pkgconfig
639-
# poetry-dynamic-versioning
640640
# rich
641641
# rsa
642642
# tomlkit
643-
poetry-core==2.3.0 \
644-
--hash=sha256:f6da8f021fe380d8c9716085f4dcc5d26a5120a2452e077196333892af5de307 \
645-
--hash=sha256:fc42f3854e346e4b96fb2b38d29e6873ec2ed25fbd7b8f1afba06613a966eaef
646-
# via aiohappyeyeballs
647643
pybind11-global==3.0.1 \
648644
--hash=sha256:0e8d5a68d084c50bf145ce5efdbdd00704dbe6315035d0b7a255708ddeb9faca \
649645
--hash=sha256:eb6ef4e8f5a60f4c0b6a9396cb7806f78d42f8d081e42a93c0bb62288f6cf403
@@ -833,14 +829,13 @@ wheel==0.46.3 \
833829
# shellingham
834830
# snowflake-connector-python
835831
# tabulate
836-
# tqdm
837832
# tzdata
838833
# uvloop
839834

840835
# The following packages are considered to be unsafe in a requirements file:
841-
setuptools==80.10.1 \
842-
--hash=sha256:bf2e513eb8144c3298a3bd28ab1a5edb739131ec5c22e045ff93cd7f5319703a \
843-
--hash=sha256:fc30c51cbcb8199a219c12cc9c281b5925a4978d212f84229c909636d9f6984e
836+
setuptools==80.10.2 \
837+
--hash=sha256:8b0e9d10c784bf7d262c4e5ec5d4ec94127ce206e8738f29a437945fbc219b70 \
838+
--hash=sha256:95b30ddfb717250edb492926c92b5221f7ef3fbcc2b07579bcd4a27da21d0173
844839
# via
845840
# aiobotocore
846841
# aiohttp

0 commit comments

Comments
 (0)