Skip to content

ci(deps): Dependabot ignores the WeasyPrint 70 and Stripe 16 majors until their ports - #205

Merged
MrChengLen merged 1 commit into
mainfrom
pr-dependabot-hold-majors
Oct 8, 2026
Merged

MrChengLen merged 1 commit into
mainfrom
pr-dependabot-hold-majors

Conversation

@MrChengLen

Copy link
Copy Markdown
Owner

WeasyPrint 70 and Stripe 16 both need code changes first: the SSRF url_fetcher guard, and the Checkout payment_method_types call. Dependabot opened each of them as its own PR (#191, #204), and those could only sit red until someone ported the code.

  • Now: ignore by version range (weasyprint >=70, stripe >=16), like the existing caps on pikepdf and the SBOM generator. Patch and minor releases below the caps come in the weekly python-all batch.
  • Guard: test_dependabot_ignores_sit_on_live_caps fails if an ignore outlives its cap, so the port can't forget it and freeze the package silently. Mutation-checked.
  • Docs: the cap comments in requirements.txt, the dependabot.yml header, and two earlier unreleased fragments are updated for the new behaviour.
  • Security: Dependabot security updates and alerts are off on this repo, so the ignores suppress nothing. pip-audit on requirements.lock remains the CVE gate.

After merge, #191 and #204 are closed with a pointer to their port tasks.

Verified: full suite 1734 passed / 123 skipped; ruff clean; gitleaks and the scope guard clean; code review done.

🤖 Generated with Claude Code

…ntil their ports

Both majors need code changes first: WeasyPrint 70 reworks the url_fetcher
interface the SSRF guard relies on, and stripe 16 pins an API version that
rejects payment_method_types on Checkout session creation. Excluded from the
python-all group, they arrived as standalone PRs (#191, #204) that could only
sit red. Like the existing cyclonedx-bom and pikepdf caps, they are now
`ignore`d by version range (>=70, >=16); Dependabot raises floors below a cap
and keeps the cap (seen with b75b56c on pikepdf/cyclonedx-bom). Patch and minor
releases below the caps now come in the weekly batch.

New guard test_dependabot_ignores_sit_on_live_caps: every pip ignore range
must match a cap in requirements*.txt, so a port that lifts a cap but forgets
the ignore fails CI instead of freezing the package silently (mutation-
checked). requirements.txt's cap comments say so too. Two earlier unreleased
fragments and the dependabot.yml header are corrected for the new behaviour.

Dependabot security updates and alerts are off on this repo, so the ignores
suppress nothing security-wise; pip-audit on requirements.lock stays the
CVE gate.

Verified: full suite 1734 passed / 123 skipped; ruff clean; gitleaks and the
pre-commit scope guard clean. Code review done, findings applied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MrChengLen
MrChengLen merged commit 362cda0 into main Oct 8, 2026
7 checks passed
@MrChengLen
MrChengLen deleted the pr-dependabot-hold-majors branch October 8, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant