Skip to content

Commit d88c170

Browse files
committed
Merge main into INTPYTHON-501
2 parents 6237ea1 + 052e078 commit d88c170

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+4016
-5377
lines changed

.github/workflows/_lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
# Starting new jobs is also relatively slow,
3030
# so linting on fewer versions makes CI faster.
3131
python-version:
32-
- "3.9"
32+
- "3.10"
3333
- "3.13"
3434
steps:
35-
- uses: actions/checkout@v5
35+
- uses: actions/checkout@v6
3636
with:
3737
persist-credentials: false
3838
- name: Install uv
39-
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
39+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
4040
with:
4141
enable-cache: true
4242
python-version: ${{ matrix.python-version }}

.github/workflows/_release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
version: ${{ steps.check-version.outputs.version }}
3737

3838
steps:
39-
- uses: actions/checkout@v5
39+
- uses: actions/checkout@v6
4040
with:
4141
persist-credentials: false
4242
- name: Install uv
43-
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
43+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
4444
with:
4545
python-version: ${{ env.PYTHON_VERSION }}
4646

@@ -59,7 +59,7 @@ jobs:
5959
run: uv build
6060

6161
- name: Upload build
62-
uses: actions/upload-artifact@v4
62+
uses: actions/upload-artifact@v5
6363
with:
6464
name: dist
6565
path: ${{ inputs.working-directory }}/dist/
@@ -91,7 +91,7 @@ jobs:
9191
run:
9292
working-directory: ${{ inputs.working-directory }}
9393
steps:
94-
- uses: actions/checkout@v5
94+
- uses: actions/checkout@v6
9595
with:
9696
persist-credentials: false
9797
# We explicitly *don't* set up caching here. This ensures our tests are
@@ -108,7 +108,7 @@ jobs:
108108
# used in the real world.
109109

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

@@ -204,16 +204,16 @@ jobs:
204204
working-directory: ${{ inputs.working-directory }}
205205

206206
steps:
207-
- uses: actions/checkout@v5
207+
- uses: actions/checkout@v6
208208
with:
209209
persist-credentials: false
210210

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

216-
- uses: actions/download-artifact@v5
216+
- uses: actions/download-artifact@v6
217217
with:
218218
name: dist
219219
path: ${{ inputs.working-directory }}/dist/
@@ -244,15 +244,15 @@ jobs:
244244
working-directory: ${{ inputs.working-directory }}
245245

246246
steps:
247-
- uses: actions/checkout@v5
247+
- uses: actions/checkout@v6
248248
with:
249249
persist-credentials: false
250250
- name: Install uv
251-
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
251+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
252252
with:
253253
python-version: ${{ env.PYTHON_VERSION }}
254254

255-
- uses: actions/download-artifact@v5
255+
- uses: actions/download-artifact@v6
256256
with:
257257
name: dist
258258
path: ${{ inputs.working-directory }}/dist/

.github/workflows/_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
python-version:
21-
- "3.9"
21+
- "3.10"
2222
- "3.13"
2323
name: "run test #${{ matrix.python-version }}"
2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@v6
2626
with:
2727
persist-credentials: false
2828
- name: Install uv
29-
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
29+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
3030
with:
3131
enable-cache: true
3232
python-version: ${{ matrix.python-version }}
@@ -39,7 +39,7 @@ jobs:
3939
run: just install
4040

4141
- name: Start MongoDB
42-
uses: supercharge/mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # 1.12.0
42+
uses: supercharge/mongodb-github-action@315db7fe45ac2880b7758f1933e6e5d59afd5e94 # 1.12.1
4343

4444
- name: Run unit tests
4545
shell: bash

.github/workflows/_test_release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
version: ${{ steps.check-version.outputs.version }}
2424

2525
steps:
26-
- uses: actions/checkout@v5
26+
- uses: actions/checkout@v6
2727
with:
2828
persist-credentials: false
2929
- name: Install uv
30-
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
30+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
3131
with:
3232
python-version: ${{ env.PYTHON_VERSION }}
3333

@@ -46,7 +46,7 @@ jobs:
4646
run: uv build
4747

4848
- name: Upload build
49-
uses: actions/upload-artifact@v4
49+
uses: actions/upload-artifact@v5
5050
with:
5151
name: test-dist
5252
path: ${{ inputs.working-directory }}/dist/
@@ -72,10 +72,10 @@ jobs:
7272
id-token: write
7373

7474
steps:
75-
- uses: actions/checkout@v5
75+
- uses: actions/checkout@v6
7676
with:
7777
persist-credentials: false
78-
- uses: actions/download-artifact@v5
78+
- uses: actions/download-artifact@v6
7979
with:
8080
name: test-dist
8181
path: ${{ inputs.working-directory }}/dist/

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v5
23+
- uses: actions/checkout@v6
2424
with:
2525
persist-credentials: false
2626
- uses: actions/setup-python@v6
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242

4343
steps:
44-
- uses: actions/checkout@v5
44+
- uses: actions/checkout@v6
4545
with:
4646
persist-credentials: false
4747
- uses: actions/setup-python@v6
@@ -78,15 +78,15 @@ jobs:
7878
name: API docs
7979
runs-on: ubuntu-latest
8080
steps:
81-
- uses: actions/checkout@v5
81+
- uses: actions/checkout@v6
8282
with:
8383
persist-credentials: false
8484
- uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
8585
- name: Install uv
86-
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
86+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
8787
with:
8888
enable-cache: true
89-
python-version: 3.9
89+
python-version: "3.10"
9090
- run: just docs
9191

9292
ci_success:

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535
build-mode: none
3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v5
38+
uses: actions/checkout@v6
3939
with:
4040
ref: ${{ inputs.ref }}
4141
persist-credentials: false
4242
- uses: actions/setup-python@v6
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3
46+
uses: github/codeql-action/init@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4
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@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3
63+
uses: github/codeql-action/analyze@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4
6464
with:
6565
category: "/language:${{matrix.language}}"

.github/workflows/zizmor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
security-events: write
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@v6
1818
with:
1919
persist-credentials: false
2020
- name: Run zizmor
21-
uses: zizmorcore/zizmor-action@da5ac40c5419dcf7f21630fb2f95e725ae8fb9d5
21+
uses: zizmorcore/zizmor-action@2016d147fb345c0d46c9a5236e241422b93fbbca

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ repos:
4040

4141
- repo: https://github.com/astral-sh/ruff-pre-commit
4242
# Ruff version.
43-
rev: v0.8.5
43+
rev: v0.14.2
4444
hooks:
4545
# Run the linter.
4646
- id: ruff

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,8 @@ just codespell
135135
```
136136

137137
If codespell is incorrectly flagging a word, you can skip spellcheck for that word by adding it to the codespell config in the `.pre-commit-config.yaml` file.
138+
139+
### CI Configuration
140+
The CI configuration for this project is located in the `.github/workflows` directory.
141+
The `.github/scripts/check_diff.py` script is run automatically at the start of CI to determine which parts of the codebase have changed and need to be tested. I
142+
f you add new packages or change the directory structure, update this script accordingly.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ It contains the following packages.
3838

3939
- Checkpointing (BaseCheckpointSaver)
4040
- [MongoDBSaver](https://langchain-mongodb.readthedocs.io/en/latest/langgraph_checkpoint_mongodb/saver/langgraph.checkpoint.mongodb.saver.MongoDBSaver.html#mongodbsaver)
41-
- [AsyncMongoDBSaver](https://langchain-mongodb.readthedocs.io/en/latest/langgraph_checkpoint_mongodb/aio/langgraph.checkpoint.mongodb.aio.AsyncMongoDBSaver.html#asyncmongodbsaver)
4241

4342
- Long-term memory (BaseStore)
4443
- [MongoDBStore](https://langchain-mongodb.readthedocs.io/en/latest/langgraph_store_mongodb/base/langgraph.store.mongodb.base.MongoDBStore.html#langgraph.store.mongodb.base.MongoDBStore)

0 commit comments

Comments
 (0)