Skip to content

fix: align cryptography version and fix Renovate group config - #1189

Closed
srbouffard wants to merge 1 commit into
track/1from
fix/renovate-charmcraft-crypto-sync
Closed

fix: align cryptography version and fix Renovate group config#1189
srbouffard wants to merge 1 commit into
track/1from
fix/renovate-charmcraft-crypto-sync

Conversation

@srbouffard

@srbouffard srbouffard commented May 28, 2026

Copy link
Copy Markdown
Contributor

Problem

Two bugs introduced when the charm-binary-python-packages Renovate tracking was added:

  1. Version mismatch: charmcraft.yaml was pinned to cryptography==46.0.4 while requirements.txt was already at ==48.0.0. This caused Renovate to open two PRs (chore(deps): update dependency cryptography to v46.0.7 - autoclosed #1187, chore(deps): update dependency cryptography to v48 #1188) that only touched charmcraft.yaml, without updating requirements.txt.

  2. Missing separateMajorMinor: false: Without this, Renovate splits grouped updates into two separate PRs (one for minor, one for major), defeating the purpose of the group.

Fix

  • Align charmcraft.yaml to cryptography==48.0.0 to match requirements.txt
  • Add separateMajorMinor: false to the charm-binary-python-packages package rule so future updates always produce a single PR

Once merged, PRs #1187 and #1188 will be auto-closed by Renovate as stale.

charmcraft.yaml had cryptography==46.0.4 while requirements.txt was
already at ==48.0.0, causing Renovate to open two spurious PRs
(minor and major) touching only charmcraft.yaml.

- Align charmcraft.yaml to cryptography==48.0.0 to match requirements.txt
- Add separateMajorMinor: false to the charm-binary-python-packages group
  rule so future updates are always a single PR regardless of semver bump

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant