Skip to content

Commit 4f9ed08

Browse files
authored
Merge branch 'main' into renovate/major-samples-langchain_on_vertexai
2 parents 6c48591 + aa988ca commit 4f9ed08

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
13+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1414
- name: Setup Python
1515
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
1616
with:
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
29+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
3030
- name: Setup Python
3131
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
3232
with:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: Checkout Repository
34-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
34+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
3535

3636
- name: Setup Python
3737
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0

.github/workflows/schedule_reporter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
issues: 'write'
2525
checks: 'read'
2626
contents: 'read'
27-
uses: googleapis/langchain-google-alloydb-pg-python/.github/workflows/cloud_build_failure_reporter.yml@d5dd58511d12347d8a233d492b3ad15e6d2b3721
27+
uses: googleapis/langchain-google-alloydb-pg-python/.github/workflows/cloud_build_failure_reporter.yml@1333538681861eec5dd2a944171a9ea8a6306520
2828
with:
2929
trigger_names: "pg-integration-test-nightly,pg-continuous-test-on-merge"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies = [
1414
"numpy>=1.24.4, <3.0.0; python_version >= '3.11'",
1515
"numpy>=1.24.4, <=2.2.6; python_version == '3.10'",
1616
"numpy>=1.24.4, <=2.0.2; python_version <= '3.9'",
17-
"langchain-postgres>=0.0.15",
17+
"langchain-postgres>=0.0.16",
1818
]
1919

2020
classifiers = [
@@ -39,7 +39,7 @@ Changelog = "https://github.com/googleapis/langchain-google-cloud-sql-pg-python/
3939

4040
[project.optional-dependencies]
4141
langgraph = [
42-
"langgraph-checkpoint>=2.0.9, <3.0.0"
42+
"langgraph-checkpoint>=3.0.0, <3.1.0"
4343
]
4444
test = [
4545
"black[jupyter]==25.9.0",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ numpy==2.3.3; python_version >= "3.11"
33
numpy==2.2.6; python_version == "3.10"
44
numpy==2.0.2; python_version <= "3.9"
55
langgraph==0.6.10
6-
langchain-postgres==0.0.15
6+
langchain-postgres==0.0.16
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
langchain-community==0.4
1+
langchain-community==0.4.1
22
langchain-google-cloud-sql-pg==0.14.1
3-
langchain-google-vertexai==3.0.0
3+
langchain-google-vertexai==3.0.3

tests/test_async_vectorstore_search.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ async def test_hybrid_search_weighted_sum_vector_bias(
482482
result_ids = [doc.metadata["doc_id_key"] for doc in results]
483483

484484
assert len(result_ids) > 0
485-
assert result_ids[0] == "hs_doc_orange_fruit"
485+
assert result_ids[0] == "hs_doc_generic_tech"
486486

487487
async def test_hybrid_search_weighted_sum_fts_bias(
488488
self, vs_hybrid_search_with_tsv_column
@@ -611,7 +611,7 @@ async def test_hybrid_search_fts_empty_results(
611611
assert len(result_ids) > 0
612612
assert "hs_doc_apple_fruit" in result_ids or "hs_doc_apple_tech" in result_ids
613613
# The top result should be one of the apple documents based on vector search
614-
assert results[0].metadata["doc_id_key"].startswith("hs_doc_unrelated_cat")
614+
assert results[0].metadata["doc_id_key"].startswith("hs_doc_apple_fruit")
615615

616616
async def test_hybrid_search_vector_empty_results_effectively(
617617
self, vs_hybrid_search_with_tsv_column
@@ -638,7 +638,7 @@ async def test_hybrid_search_vector_empty_results_effectively(
638638

639639
# Expect results based purely on FTS search for "orange fruit"
640640
assert len(result_ids) == 1
641-
assert result_ids[0] == "hs_doc_generic_tech"
641+
assert result_ids[0] == "hs_doc_orange_fruit"
642642

643643
async def test_hybrid_search_without_tsv_column(self, engine):
644644
"""Test hybrid search without a TSV column."""

0 commit comments

Comments
 (0)