From 9462e4dd5e20c7c648cf5e58fb442734cf34afb8 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Thu, 13 Aug 2026 08:54:17 -0500 Subject: [PATCH 1/7] PYTHON-5956 Use shared python/setup action for CI setup Replaces the uv, just, and dependency-install steps that eight jobs each carried with the shared drivers-github-tools action. TESTING ONLY: pinned to a fork SHA of the action so this can run before the action lands upstream. Repoint at mongodb-labs/...@v3 before merging. The static job still installs separately, because its lock check has to run before the install. Jobs that never use just, or that let a just recipe handle their own dependencies, pass run-install: false. The build job allows prereleases, which its beta Python needs now that Python comes from setup-python rather than uv. --- .github/workflows/test-python.yml | 74 ++++++++++++------------------- 1 file changed, 29 insertions(+), 45 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index f665c5c694..5d7437c3c3 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -25,18 +25,18 @@ jobs: - uses: actions/checkout@v7.0.1 with: persist-credentials: false - - name: Install uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + - name: Install Python tooling + uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 with: - enable-cache: true python-version: "3.10" + # The lock check has to run before the install, so this job installs + # separately rather than letting the action do it. + run-install: "false" # Runs before the install so a stale lock fails in seconds rather than # after the build and typecheck. - name: Check lockfile is up to date run: | uv lock --check - - name: Install just - run: uv tool install rust-just - name: Install Python dependencies run: | just install @@ -82,11 +82,15 @@ jobs: - uses: actions/checkout@v7.0.1 with: persist-credentials: false - - name: Install uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + - name: Install Python tooling + uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 with: - enable-cache: true python-version: ${{ matrix.python-version }} + # The matrix covers a Python still in beta, which setup-python will + # not select without this. + allow-prereleases: "true" + # This job runs pytest through `uv run`, and never uses just. + run-install: "false" - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master with: @@ -104,17 +108,16 @@ jobs: - uses: actions/checkout@v7.0.1 with: persist-credentials: false - - name: Install uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + - name: Install Python tooling + uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 with: - enable-cache: true python-version: "3.10" + # `just setup-tests` handles its own dependencies here. + run-install: "false" - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master with: version: "8.0" - - name: Install just - run: uv tool install rust-just - name: Setup tests run: COVERAGE=1 just setup-tests - name: Run tests @@ -132,19 +135,14 @@ jobs: - uses: actions/checkout@v7.0.1 with: persist-credentials: false - - name: Install uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + - name: Install Python tooling + uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 with: - enable-cache: true python-version: "3.10" - - name: Install just - run: uv tool install rust-just - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master with: version: "8.0" - - name: Install dependencies - run: just install - name: Run tests run: | just setup-tests doctest @@ -157,15 +155,10 @@ jobs: - uses: actions/checkout@v7.0.1 with: persist-credentials: false - - name: Install uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + - name: Install Python tooling + uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 with: - enable-cache: true python-version: "3.10" - - name: Install just - run: uv tool install rust-just - - name: Install dependencies - run: just install - name: Build docs run: just docs @@ -179,16 +172,10 @@ jobs: - uses: actions/checkout@v7.0.1 with: persist-credentials: false - - name: Install uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + - name: Install Python tooling + uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 with: - enable-cache: true python-version: "${{matrix.python}}" - - name: Install just - run: uv tool install rust-just - - name: Install dependencies - run: | - just install - name: Run typecheck run: | just typing @@ -200,16 +187,10 @@ jobs: - uses: actions/checkout@v7.0.1 with: persist-credentials: false - - name: Install uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + - name: Install Python tooling + uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 with: - enable-cache: true python-version: "3.10" - - name: Install just - run: uv tool install rust-just - - name: Install dependencies - run: | - just install - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master - name: Run tests @@ -290,10 +271,13 @@ jobs: - uses: actions/checkout@v7.0.1 with: persist-credentials: false - - name: Install uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + - name: Install Python tooling + uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 with: python-version: "3.9" + # This job builds its own venv with `uv pip install`, and never + # uses just. + run-install: "false" - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master with: From ba7c636b5cede84cd7d53e07f6342abc34788888 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Thu, 13 Aug 2026 11:02:19 -0500 Subject: [PATCH 2/7] Rely on the action's prerelease default allow-prereleases now defaults to true in the action, so the build job no longer passes it. Repoints at the action commit that drops exclude-newer, so this run exercises the version being merged. --- .github/workflows/test-python.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 5d7437c3c3..2903124983 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -26,7 +26,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 + uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb with: python-version: "3.10" # The lock check has to run before the install, so this job installs @@ -83,12 +83,11 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 + uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb with: + # The action allows prereleases by default, which the beta Python in + # this matrix needs. python-version: ${{ matrix.python-version }} - # The matrix covers a Python still in beta, which setup-python will - # not select without this. - allow-prereleases: "true" # This job runs pytest through `uv run`, and never uses just. run-install: "false" - id: setup-mongodb @@ -109,7 +108,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 + uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb with: python-version: "3.10" # `just setup-tests` handles its own dependencies here. @@ -136,7 +135,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 + uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb with: python-version: "3.10" - id: setup-mongodb @@ -156,7 +155,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 + uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb with: python-version: "3.10" - name: Build docs @@ -173,7 +172,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 + uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb with: python-version: "${{matrix.python}}" - name: Run typecheck @@ -188,7 +187,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 + uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb with: python-version: "3.10" - id: setup-mongodb @@ -272,7 +271,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@b4f2bf29dec7a1ff0ea1b0b4b7837feb1d966309 + uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb with: python-version: "3.9" # This job builds its own venv with `uv pip install`, and never From a50d4594ba6383cad249598b427634c7aa268f65 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 14 Aug 2026 17:10:46 -0500 Subject: [PATCH 3/7] Opt in to the action's dependency install run-install is off by default now, so the four jobs that need project dependencies ask for them and the four that do not say nothing. Repoints at the action commit that made the switch. --- .github/workflows/test-python.yml | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 2903124983..ecf96ba89b 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -26,12 +26,9 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb + uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 with: python-version: "3.10" - # The lock check has to run before the install, so this job installs - # separately rather than letting the action do it. - run-install: "false" # Runs before the install so a stale lock fails in seconds rather than # after the build and typecheck. - name: Check lockfile is up to date @@ -83,13 +80,11 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb + uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 with: # The action allows prereleases by default, which the beta Python in # this matrix needs. python-version: ${{ matrix.python-version }} - # This job runs pytest through `uv run`, and never uses just. - run-install: "false" - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master with: @@ -108,11 +103,9 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb + uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 with: python-version: "3.10" - # `just setup-tests` handles its own dependencies here. - run-install: "false" - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master with: @@ -135,9 +128,10 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb + uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 with: python-version: "3.10" + run-install: "true" - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master with: @@ -155,9 +149,10 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb + uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 with: python-version: "3.10" + run-install: "true" - name: Build docs run: just docs @@ -172,9 +167,10 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb + uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 with: python-version: "${{matrix.python}}" + run-install: "true" - name: Run typecheck run: | just typing @@ -187,9 +183,10 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb + uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 with: python-version: "3.10" + run-install: "true" - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master - name: Run tests @@ -271,12 +268,9 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@f513d3cb3a1e6acf40e94ca82ddc336c13d49dbb + uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 with: python-version: "3.9" - # This job builds its own venv with `uv pip install`, and never - # uses just. - run-install: "false" - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master with: From 321b406940c9afbb41d6d8682a149b8eae98f2e7 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 2 Sep 2026 06:39:36 -0500 Subject: [PATCH 4/7] Repoint at the merged action and tighten a comment --- .github/workflows/test-python.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index ecf96ba89b..95527442a0 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -26,7 +26,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 + uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 with: python-version: "3.10" # Runs before the install so a stale lock fails in seconds rather than @@ -80,10 +80,9 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 + uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 with: - # The action allows prereleases by default, which the beta Python in - # this matrix needs. + # The beta Python here relies on the action's prerelease default. python-version: ${{ matrix.python-version }} - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master @@ -103,7 +102,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 + uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 with: python-version: "3.10" - id: setup-mongodb @@ -128,7 +127,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 + uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 with: python-version: "3.10" run-install: "true" @@ -149,7 +148,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 + uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 with: python-version: "3.10" run-install: "true" @@ -167,7 +166,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 + uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 with: python-version: "${{matrix.python}}" run-install: "true" @@ -183,7 +182,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 + uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 with: python-version: "3.10" run-install: "true" @@ -268,7 +267,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@da9b1e22992959ae8cc60d34d6a0eda3fdd31911 + uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 with: python-version: "3.9" - id: setup-mongodb From 089accefc64c3d4f7f6d4fa59620590450c81538 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 2 Sep 2026 06:49:23 -0500 Subject: [PATCH 5/7] Name just recipes instead of toggling the install --- .github/workflows/test-python.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 95527442a0..adc4231042 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -26,7 +26,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 + uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 with: python-version: "3.10" # Runs before the install so a stale lock fails in seconds rather than @@ -80,7 +80,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 + uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 with: # The beta Python here relies on the action's prerelease default. python-version: ${{ matrix.python-version }} @@ -102,7 +102,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 + uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 with: python-version: "3.10" - id: setup-mongodb @@ -127,10 +127,10 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 + uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 with: python-version: "3.10" - run-install: "true" + just-recipes: "install" - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master with: @@ -148,10 +148,10 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 + uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 with: python-version: "3.10" - run-install: "true" + just-recipes: "install" - name: Build docs run: just docs @@ -166,10 +166,10 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 + uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 with: python-version: "${{matrix.python}}" - run-install: "true" + just-recipes: "install" - name: Run typecheck run: | just typing @@ -182,10 +182,10 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 + uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 with: python-version: "3.10" - run-install: "true" + just-recipes: "install" - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master - name: Run tests @@ -267,7 +267,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@e14f6900d9b9315b1bafbcb5c5400a9728a4c992 + uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 with: python-version: "3.9" - id: setup-mongodb From e6a666d2c042fe8f7aebfbc452cef2f9eb154953 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 2 Sep 2026 08:15:17 -0500 Subject: [PATCH 6/7] Run just install in the jobs that need it The setup action no longer runs recipes, so each job that needs project dependencies installs them itself. --- .github/workflows/test-python.yml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index adc4231042..dd9a2da2f5 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -26,7 +26,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 + uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da with: python-version: "3.10" # Runs before the install so a stale lock fails in seconds rather than @@ -80,7 +80,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 + uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da with: # The beta Python here relies on the action's prerelease default. python-version: ${{ matrix.python-version }} @@ -102,7 +102,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 + uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da with: python-version: "3.10" - id: setup-mongodb @@ -127,10 +127,11 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 + uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da with: python-version: "3.10" - just-recipes: "install" + - name: Install dependencies + run: just install - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master with: @@ -148,10 +149,11 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 + uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da with: python-version: "3.10" - just-recipes: "install" + - name: Install dependencies + run: just install - name: Build docs run: just docs @@ -166,10 +168,11 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 + uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da with: python-version: "${{matrix.python}}" - just-recipes: "install" + - name: Install dependencies + run: just install - name: Run typecheck run: | just typing @@ -182,10 +185,11 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 + uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da with: python-version: "3.10" - just-recipes: "install" + - name: Install dependencies + run: just install - id: setup-mongodb uses: mongodb-labs/drivers-evergreen-tools@master - name: Run tests @@ -267,7 +271,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@0fd560f3037493e1d2ff42a0b245646738a8a705 + uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da with: python-version: "3.9" - id: setup-mongodb From 36df94b54389e396a0ad45d7087a5144334bc5bb Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 2 Sep 2026 13:57:03 -0500 Subject: [PATCH 7/7] Use the released python/setup action drivers-github-tools#117 merged and the v3 tag now carries python/setup, so the eight references point at the released action instead of a fork commit. --- .github/workflows/test-python.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index dd9a2da2f5..ceada3e9dc 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -26,7 +26,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da + uses: mongodb-labs/drivers-github-tools/python/setup@v3 with: python-version: "3.10" # Runs before the install so a stale lock fails in seconds rather than @@ -80,7 +80,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da + uses: mongodb-labs/drivers-github-tools/python/setup@v3 with: # The beta Python here relies on the action's prerelease default. python-version: ${{ matrix.python-version }} @@ -102,7 +102,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da + uses: mongodb-labs/drivers-github-tools/python/setup@v3 with: python-version: "3.10" - id: setup-mongodb @@ -127,7 +127,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da + uses: mongodb-labs/drivers-github-tools/python/setup@v3 with: python-version: "3.10" - name: Install dependencies @@ -149,7 +149,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da + uses: mongodb-labs/drivers-github-tools/python/setup@v3 with: python-version: "3.10" - name: Install dependencies @@ -168,7 +168,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da + uses: mongodb-labs/drivers-github-tools/python/setup@v3 with: python-version: "${{matrix.python}}" - name: Install dependencies @@ -185,7 +185,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da + uses: mongodb-labs/drivers-github-tools/python/setup@v3 with: python-version: "3.10" - name: Install dependencies @@ -271,7 +271,7 @@ jobs: with: persist-credentials: false - name: Install Python tooling - uses: blink1073/drivers-github-tools/python/setup@aa16836838cfbf6453c5cf948f9ece2237f346da + uses: mongodb-labs/drivers-github-tools/python/setup@v3 with: python-version: "3.9" - id: setup-mongodb