Update third-party-deps-scan.yml

Closes https://github.com/dart-lang/sdk/pull/60723

GitOrigin-RevId: f581f34d1ba1583f75e7eb55cb30e532aac18995
Change-Id: Ic190512ab0062fa3780b8a3158a8a2b0032ec771
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428500
Reviewed-by: Ivan Inozemtsev <iinozemtsev@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
diff --git a/.github/workflows/third-party-deps-scan.yml b/.github/workflows/third-party-deps-scan.yml
index 30f3e13..5af0743 100644
--- a/.github/workflows/third-party-deps-scan.yml
+++ b/.github/workflows/third-party-deps-scan.yml
@@ -28,7 +28,7 @@
       - name: "setup python"
         uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
         with:
-          python-version: '3.7.7' # install the python version needed
+          python-version: '3.13.3' # install the python version needed
       - name: "extract deps, find commit hash, pass to osv-scanner"
         run: python .github/extract_deps.py --output osv-lockfile-${{github.sha}}.json
       - name: "upload osv-scanner deps"