You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jl...@apache.org on 2026/04/30 20:54:57 UTC

(superset) 01/01: fix(ci): trigger python dep check when pyproject.toml changes

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

sadpandajoe pushed a commit to branch investigate-deps-ci-break
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 2916c7e497ef6f57c6cde1973b256f7d56e38474
Author: sadpandajoe <jc...@gmail.com>
AuthorDate: Thu Apr 30 20:28:14 2026 +0000

    fix(ci): trigger python dep check when pyproject.toml changes
    
    Dependabot bumps to pyproject.toml were silently skipping the
    uv-pip-compile step because pyproject.toml was not in the change
    detector's python pattern list. This meant requirements/ files could
    drift out of sync without CI catching it.
    
    Co-Authored-By: Claude Sonnet 4.6 <no...@anthropic.com>
---
 scripts/change_detector.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/change_detector.py b/scripts/change_detector.py
index 13f05b7b269..ae56c1ebf45 100755
--- a/scripts/change_detector.py
+++ b/scripts/change_detector.py
@@ -32,6 +32,7 @@ PATTERNS = {
         r"^scripts/",
         r"^setup\.py",
         r"^requirements/.+\.txt",
+        r"^pyproject\.toml",
         r"^.pylintrc",
     ],
     "frontend": [
@@ -151,7 +152,7 @@ def main(event_type: str, sha: str, repo: str) -> None:
 
 def get_git_sha() -> str:
     return os.getenv("GITHUB_SHA") or subprocess.check_output(  # noqa: S603
-        ["git", "rev-parse", "HEAD"]  # noqa: S607
+        ["git", "rev-parse", "HEAD"]  # noqa: S603, S607
     ).strip().decode("utf-8")