You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by bh...@apache.org on 2026/07/03 04:06:33 UTC

(datafusion-ballista) branch main updated: Fix/python cargo lock drift (#1899)

This is an automated email from the ASF dual-hosted git repository.

coderfender pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-ballista.git


The following commit(s) were added to refs/heads/main by this push:
     new 84512cb5c Fix/python cargo lock drift (#1899)
84512cb5c is described below

commit 84512cb5cd43b8be7ca257309810db2bae71f308
Author: Jogesh A Dinavahi <jo...@gmail.com>
AuthorDate: Thu Jul 2 23:06:27 2026 -0500

    Fix/python cargo lock drift (#1899)
---
 .github/dependabot.yml             | 15 +++++++++++++++
 .github/workflows/dependencies.yml | 23 +++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index fcd946002..dd4929e8f 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -32,6 +32,21 @@ updates:
         update-types: ["version-update:semver-major"]
       - dependency-name: "sqlparser"
         update-types: ["version-update:semver-major"]
+  - package-ecosystem: cargo
+    directory: "/python"
+    schedule:
+      interval: daily
+    open-pull-requests-limit: 10
+    target-branch: main
+    labels: [auto-dependencies]
+    ignore:
+      # arrow and datafusion are bumped manually
+      - dependency-name: "arrow*"
+        update-types: ["version-update:semver-major"]
+      - dependency-name: "datafusion*"
+        update-types: ["version-update:semver-major"]
+      - dependency-name: "sqlparser"
+        update-types: ["version-update:semver-major"]
   - package-ecosystem: "github-actions"
     directory: "/"
     schedule:
diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml
index 65d267be9..1a816243f 100644
--- a/.github/workflows/dependencies.yml
+++ b/.github/workflows/dependencies.yml
@@ -17,6 +17,9 @@
 
 name: Dependencies
 
+permissions:
+  contents: read
+
 concurrency:
   group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
   cancel-in-progress: true
@@ -53,3 +56,23 @@ jobs:
         run: |
           cd dev/msrvcheck
           cargo run
+
+  python-lock:
+    name: python Cargo.lock up to date
+    runs-on: macos-latest
+    steps:
+      - uses: actions/checkout@v7.0.0
+        with:
+          fetch-depth: 1
+      - name: Setup Rust toolchain
+        uses: ./.github/actions/setup-macos-builder
+        with:
+          rust-version: stable
+      - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 #2.9.1
+      - name: Verify python/Cargo.lock is in sync with manifests
+        run: |
+          cd python
+          if ! cargo metadata --locked --format-version 1 >/dev/null; then
+            echo "::error::python/Cargo.lock is out of date with the manifests. Run 'cd python && cargo update' and commit the updated Cargo.lock."
+            exit 1
+          fi


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org