From c79c6e97cdd2d98c0f95af56f943786b049b745c Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Mon, 20 Jul 2026 13:36:06 +0200 Subject: [PATCH] acc: use valid PEP 440 placeholder for masked databricks-bundles version The pydabs template test masks the real databricks-bundles version to "x.y.z" so the golden pyproject.toml does not churn on every release. "x.y.z" is not valid PEP 440, so Dependabot's dependency-graph submission aborts the entire pip/uv graph job when it parses this generated manifest (InvalidRequirement on "databricks-bundles==x.y.z"), which is why those graph jobs fail regardless of the exclude-paths in .github/dependabot.yml (exclude-paths is not honored on the graph-submission code path). Use "0.0.0" instead: still an obvious placeholder, but parses cleanly so the graph submission no longer crashes on the fixture. Co-authored-by: Isaac --- .../pydabs/init-classic/output/my_pydabs/pyproject.toml | 2 +- acceptance/bundle/templates/pydabs/test.toml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/acceptance/bundle/templates/pydabs/init-classic/output/my_pydabs/pyproject.toml b/acceptance/bundle/templates/pydabs/init-classic/output/my_pydabs/pyproject.toml index eea1c50a649..184b495a64a 100644 --- a/acceptance/bundle/templates/pydabs/init-classic/output/my_pydabs/pyproject.toml +++ b/acceptance/bundle/templates/pydabs/init-classic/output/my_pydabs/pyproject.toml @@ -18,7 +18,7 @@ dev = [ "databricks-dlt", "databricks-connect>=15.4,<15.5", "ipykernel", - "databricks-bundles==x.y.z", + "databricks-bundles==0.0.0", ] [project.scripts] diff --git a/acceptance/bundle/templates/pydabs/test.toml b/acceptance/bundle/templates/pydabs/test.toml index fc66c79de7c..a7b1c1bcb78 100644 --- a/acceptance/bundle/templates/pydabs/test.toml +++ b/acceptance/bundle/templates/pydabs/test.toml @@ -4,6 +4,10 @@ TimeoutWindows = '120s' Local = true Cloud = false +# Mask the real databricks-bundles version so the golden pyproject.toml does not +# churn on every release. The placeholder must stay valid PEP 440: Dependabot's +# dependency-graph submission scans this generated manifest and aborts the whole +# pip/uv graph job on an unparseable version (the old "x.y.z" did exactly that). [[Repls]] Old = '"databricks-bundles==\d+\.\d+\.\d+"' -New = '"databricks-bundles==x.y.z"' +New = '"databricks-bundles==0.0.0"'