Skip to content

chore(renovate): normalize requirements.lock header to equals-form - #838

Merged
stranske merged 1 commit into
mainfrom
chore/lock-header-equals-form
Jun 15, 2026
Merged

chore(renovate): normalize requirements.lock header to equals-form#838
stranske merged 1 commit into
mainfrom
chore/lock-header-equals-form

Conversation

@stranske

Copy link
Copy Markdown
Owner

Renovate's pip-compile manager (enabled fleet-wide via the shared preset, stranske/Workflows#2406) parses the lock header to reconstruct the uv pip compile command and requires every option in equals form (--extra=dev, --output-file=requirements.lock). This repo's lock header was in space form, so Renovate raised a non-fatal Option ... must have equal sign warning and silently skipped the lock — it was never regenerated on dependency bumps.

This rewrites only the header line to equals form; the resolved pins are byte-identical (header-only diff).

Verified with npx renovate@43 --platform=local --dry-run=extract on a sibling repo: before = pip-compile error … must have equal sign (skipped); after = lock extracted, no error.

Part of the fleet pip-compile lock-regen rollout (Workflows #2406 enabled the manager; consumer lock headers were space-form and needed normalizing).

Renovate's pip-compile manager (enabled fleet-wide via the shared preset,
stranske/Workflows#2406) parses the lock header to reconstruct the uv
command and requires every option in equals form (--extra=, --output-file=).
This lock's header used space form, so Renovate raised a non-fatal
"Option ... must have equal sign" warning and SILENTLY SKIPPED the lock —
meaning it was never regenerated on dependency bumps.

This rewrites only the header line to equals form; the resolved pins are
byte-identical (header-only diff). Verified with
`npx renovate@43 --platform=local --dry-run=extract`: pip-compile extracts
the lock with no error after the change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • requirements.lock is excluded by !**/*.lock

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 2e8de0de-1b18-4674-aef2-4fe67441750e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/lock-header-equals-form

Comment @coderabbitai help to get the list of available commands and usage tips.

@stranske
stranske merged commit 3193256 into main Jun 15, 2026
29 checks passed
@stranske
stranske deleted the chore/lock-header-equals-form branch June 15, 2026 11:41
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