Skip to content

Commit f2e1f6d

Browse files
committed
Merge branch 'main' of github.com:langchain-ai/langchain-mongodb into INTPYTHON-764
2 parents b8fff0f + a3a5c9c commit f2e1f6d

File tree

11 files changed

+23
-26
lines changed

11 files changed

+23
-26
lines changed

.github/workflows/_lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
persist-credentials: false
3838
- name: Install uv
39-
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v5
39+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
4040
with:
4141
enable-cache: true
4242
python-version: ${{ matrix.python-version }}

.github/workflows/_release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
with:
4141
persist-credentials: false
4242
- name: Install uv
43-
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v5
43+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
4444
with:
4545
python-version: ${{ env.PYTHON_VERSION }}
4646

@@ -108,7 +108,7 @@ jobs:
108108
# used in the real world.
109109

110110
- name: Install uv
111-
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v5
111+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
112112
with:
113113
python-version: ${{ env.PYTHON_VERSION }}
114114

@@ -209,7 +209,7 @@ jobs:
209209
persist-credentials: false
210210

211211
- name: Install uv
212-
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v5
212+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
213213
with:
214214
python-version: ${{ env.PYTHON_VERSION }}
215215

@@ -248,7 +248,7 @@ jobs:
248248
with:
249249
persist-credentials: false
250250
- name: Install uv
251-
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v5
251+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
252252
with:
253253
python-version: ${{ env.PYTHON_VERSION }}
254254

.github/workflows/_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
persist-credentials: false
2828
- name: Install uv
29-
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v5
29+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
3030
with:
3131
enable-cache: true
3232
python-version: ${{ matrix.python-version }}

.github/workflows/_test_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
persist-credentials: false
2929
- name: Install uv
30-
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v5
30+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
3131
with:
3232
python-version: ${{ env.PYTHON_VERSION }}
3333

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
persist-credentials: false
8484
- uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
8585
- name: Install uv
86-
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v5
86+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
8787
with:
8888
enable-cache: true
8989
python-version: 3.9

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3
46+
uses: github/codeql-action/init@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3
4747
with:
4848
languages: ${{ matrix.language }}
4949
build-mode: ${{ matrix.build-mode }}
@@ -60,6 +60,6 @@ jobs:
6060
pip install -e .
6161
6262
- name: Perform CodeQL Analysis
63-
uses: github/codeql-action/analyze@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3
63+
uses: github/codeql-action/analyze@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3
6464
with:
6565
category: "/language:${{matrix.language}}"

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
with:
1919
persist-credentials: false
2020
- name: Run zizmor
21-
uses: zizmorcore/zizmor-action@0696496a48b64e0568faa46ddaf5f6fe48b83b04
21+
uses: zizmorcore/zizmor-action@da5ac40c5419dcf7f21630fb2f95e725ae8fb9d5

libs/langchain-mongodb/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dev = [
3939
"pypdf>=5.0.1",
4040
"langgraph>=0.2.72",
4141
"flaky>=3.8.1",
42-
"langchain-tests==0.3.21",
42+
"langchain-tests==0.3.22",
4343
"pip>=25.0.1",
4444
"typing-extensions>=4.12.2",
4545
]

libs/langchain-mongodb/uv.lock

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

libs/langgraph-checkpoint-mongodb/tests/unit_tests/test_time_travel.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,13 @@ def validate_expense_node(state: ExpenseState) -> dict[str, Any]:
4343
ids=["ttl_none", "ttl_3600"],
4444
)
4545
def checkpointer(request: Any) -> Generator[MongoDBSaver]:
46-
db_name = "langgraph_timetravel_db"
47-
checkpoint_collection_name = "checkpoints"
48-
writes_collection_name = "checkpoint_writes"
46+
db_name = "langgraph-test"
47+
checkpoint_collection_name = "timetravel_checkpoints"
48+
writes_collection_name = "timetravel_writes"
4949

5050
# Initialize MongoDB checkpointer
5151
client: MongoClient = MongoClient(MONGODB_URI)
5252

53-
# Clean up any existing test data.
54-
client.drop_database(db_name)
55-
5653
saver = MongoDBSaver(
5754
client=client,
5855
db_name=db_name,

0 commit comments

Comments
 (0)