Skip to content

Add missing rich.markup.escape import in tools/ci.py#69396

Closed
dwoz wants to merge 1 commit into
saltstack:3007.xfrom
dwoz:dwoz/fix/dependabot-69392-tools-ci
Closed

Add missing rich.markup.escape import in tools/ci.py#69396
dwoz wants to merge 1 commit into
saltstack:3007.xfrom
dwoz:dwoz/fix/dependabot-69392-tools-ci

Conversation

@dwoz

@dwoz dwoz commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

The dependabot-group PRs (#69391, #69392, #69394) carry a "Fix rich MarkupError when rendering dependabot PR body" commit that calls escape() in workflow_config without importing it, so Prepare Workflow Run fails with NameError: name 'escape' is not defined and blocks every downstream job.

Landing the proper fix (with from rich.markup import escape) on 3007.x so a @dependabot rebase on those PRs picks up a working tools/ci.py.

Mirrors #69395 (3006.x) and a1f56ca ("Fix markup parsing error in tools/ci.py").

The dependabot-group PR saltstack#69392 (and saltstack#69391, saltstack#69394) carry a 'Fix rich
MarkupError' commit that calls escape() in workflow_config without
importing it, breaking Prepare Workflow Run with NameError: name
'escape' is not defined and blocking every downstream job.

Land the import on 3007.x so a dependabot rebase picks up a working
tools/ci.py.

Mirrors saltstack#69395 (3006.x) and a1f56ca ("Fix markup parsing error in
tools/ci.py").
@dwoz

dwoz commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Superseded — pushed 73b7a08 directly to dependabot's branch on #69392.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant