Skip to content

ci: use uv ecosystem for dependabot, fix cargo directories - #294

Merged
DarkaMaul merged 5 commits into
mainfrom
dependabot-uv-ecosystem
Jul 29, 2026
Merged

ci: use uv ecosystem for dependabot, fix cargo directories#294
DarkaMaul merged 5 commits into
mainfrom
dependabot-uv-ecosystem

Conversation

@DarkaMaul

Copy link
Copy Markdown
Collaborator

Fixes two issues:

  • We're using uv but the dependabot configuration was set to pip
  • Since dependabot cannot update workspace git tag, we ignore the dependency explicitely.

@DarkaMaul
DarkaMaul requested a review from facutuesca as a code owner July 28, 2026 07:56
Comment thread .github/dependabot.yml Outdated
DarkaMaul and others added 2 commits July 28, 2026 10:51
cryptography-x509 is pinned by git tag in [workspace.dependencies], which
dependabot cannot rewrite: it moves only Cargo.lock, producing the
Cargo.toml/Cargo.lock drift reported in #287. That is why the dependency sits
in dependabot's ignore list rather than being updated there.

Poll pyca/cryptography weekly instead. On a new tag, rewrite the pin,
re-resolve Cargo.lock, assert the two agree (make lockfile), and run make test
before opening a PR. Upstream publishes no GitHub releases, so the tag list is
ranked instead of read from the releases API.

PRs authored with GITHUB_TOKEN do not trigger workflows, so the scheduled run
is the only place the bump is tested; a tag that breaks the ASN.1 bindings
fails the run and opens nothing.

Verified end to end on a fork: the generated Cargo.toml/Cargo.lock diff is
identical to the hand-made bump in #293, and a re-run correctly skips once the
branch exists.

Upstream issue: dependabot/dependabot-core#13219

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Comment thread .github/workflows/cryptography-x509.yml Outdated
@DarkaMaul
DarkaMaul requested a review from facutuesca July 29, 2026 07:40
@DarkaMaul
DarkaMaul merged commit 18cff70 into main Jul 29, 2026
41 checks passed
@DarkaMaul
DarkaMaul deleted the dependabot-uv-ecosystem branch July 29, 2026 08:33
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.

2 participants