From 533c178e98cfeb5fd2d6bf8c319b0c9be634b2c9 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Mon, 16 Nov 2026 05:52:03 -0700 Subject: [PATCH 1/3] ci: add a Dependabot configuration Check Cargo dependencies and GitHub Actions weekly, grouping minor and patch updates. Ignore major updates of datafusion* and arrow*, which change only when main moves to the next DataFusion major version, and leave out the PySpark runner's pinned pyspark version. Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..c89c618a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: Apache-2.0 +# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for additional information regarding copyright ownership +# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements + +# The pip requirements of the PySpark runner are not listed here on purpose: +# `pyspark` is pinned to the Spark version that the sqllogictest files are +# checked against, and changing it is a decision, not a routine update. + +version: 2 +updates: + - package-ecosystem: cargo + directory: "/" + schedule: + interval: weekly + target-branch: main + open-pull-requests-limit: 15 + ignore: + # `datafusion-spark` 56.x stays on DataFusion 56 and the arrow version it + # uses, so their major versions change only when `main` moves to the next + # DataFusion major version. See dev/release/README.md#versioning. + - dependency-name: "datafusion*" + update-types: ["version-update:semver-major"] + - dependency-name: "arrow*" + update-types: ["version-update:semver-major"] + groups: + # Minor and patch updates of everything else go in one pull request. + all-other-cargo-deps: + applies-to: version-updates + patterns: + - "*" + exclude-patterns: + - "datafusion*" + - "arrow*" + update-types: + - minor + - patch + + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly + open-pull-requests-limit: 10 + groups: + github-actions: + patterns: + - "*" From 2593ab0aad7a9af078b5b325ed9b754b53e6f65f Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Fri, 20 Nov 2026 06:16:34 -0700 Subject: [PATCH 2/3] ci: skip DataFusion in Dependabot and keep library version requirements DataFusion is updated by hand, so Dependabot no longer proposes datafusion* updates (one PR per crate otherwise). Use increase-if-necessary so a requirement in Cargo.toml only moves when the new version needs it, and drop the redundant target-branch. --- .github/dependabot.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c89c618a..cd3ed8b0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -12,14 +12,18 @@ updates: directory: "/" schedule: interval: weekly - target-branch: main open-pull-requests-limit: 15 + # `datafusion-spark` is a library, so leave a requirement in Cargo.toml as + # it is when it already allows the new version. Raising it would force the + # same minimum on downstream users. Cargo.lock is still updated. + versioning-strategy: increase-if-necessary ignore: - # `datafusion-spark` 56.x stays on DataFusion 56 and the arrow version it - # uses, so their major versions change only when `main` moves to the next - # DataFusion major version. See dev/release/README.md#versioning. + # DataFusion is updated by hand. `main` follows a DataFusion release tag + # or branch, and moving it is a decision, not a routine update. - dependency-name: "datafusion*" - update-types: ["version-update:semver-major"] + # `datafusion-spark` 56.x stays on the arrow version DataFusion 56 uses, + # so arrow's major version changes only when `main` moves to the next + # DataFusion major version. See dev/release/README.md#versioning. - dependency-name: "arrow*" update-types: ["version-update:semver-major"] groups: From 155adcc5e10c14ccef410ded1368186c021de4b7 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Fri, 20 Nov 2026 06:26:55 -0700 Subject: [PATCH 3/3] ci: update arrow by hand in Dependabot, as DataFusion is --- .github/dependabot.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cd3ed8b0..6e160140 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -18,23 +18,18 @@ updates: # same minimum on downstream users. Cargo.lock is still updated. versioning-strategy: increase-if-necessary ignore: - # DataFusion is updated by hand. `main` follows a DataFusion release tag - # or branch, and moving it is a decision, not a routine update. + # DataFusion and arrow are updated by hand. `main` follows a DataFusion + # release tag or branch and stays on the arrow version that DataFusion + # uses, so moving either is a decision, not a routine update. See + # dev/release/README.md#versioning. - dependency-name: "datafusion*" - # `datafusion-spark` 56.x stays on the arrow version DataFusion 56 uses, - # so arrow's major version changes only when `main` moves to the next - # DataFusion major version. See dev/release/README.md#versioning. - dependency-name: "arrow*" - update-types: ["version-update:semver-major"] groups: # Minor and patch updates of everything else go in one pull request. all-other-cargo-deps: applies-to: version-updates patterns: - "*" - exclude-patterns: - - "datafusion*" - - "arrow*" update-types: - minor - patch