Repository navigation
ci: add dependabot config for hypothesis-awkward - #3944
Conversation
Watch only hypothesis-awkward in the pip ecosystem so that version bumps are proposed automatically via dependabot PRs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The documentation preview is ready to be viewed at http://preview.awkward-array.org.s3-website.us-east-1.amazonaws.com/PR3944 |
There was a problem hiding this comment.
Pull request overview
Adds Dependabot support for the pip ecosystem so that hypothesis-awkward can be automatically bumped via Dependabot PRs, as an alternative to a bespoke scheduled workflow.
Changes:
- Extend
.github/dependabot.ymlto enablepipupdates on a weekly schedule - Restrict
pipupdate PRs to onlyhypothesis-awkwardvia anallowlist
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ariostas
left a comment
There was a problem hiding this comment.
Oh I mistakenly said that it was specified with patterns, but this is actually the right implementation.
There's not much documentation about name requirements, but it seems like we don't need to rename requirements files to *requirements.txt (as suggested by this thread). I found this PR where it updated some file that was just called required.txt. So I think we can just go with this and see if it works.
ianna
left a comment
There was a problem hiding this comment.
@TaiSakuma - this looks great! Weekly schedule seems right. Thanks!
|
@all-contributors please add @TaiSakuma for infra |
|
I've updated the pull request to add @TaiSakuma! 🎉 |
Summary
Alternative solution to #3943, as suggested by @ariostas — use dependabot instead of a custom workflow.
This builds on #3942, which pinned
hypothesis-awkwardto an exact version. This PR adds a dependabot config to automatically propose version bumps.The current dependabot config only watches GitHub Actions, not pip. This PR enables the
pipecosystem withallow: [{dependency-name: "hypothesis-awkward"}]. Dependabot will scan all requirement files in the repository but will only create PRs forhypothesis-awkward. Currently,hypothesis-awkwardappears only inrequirements-test-full.txt, so this is sufficient.If this works, we can close #3943.
We will need to revisit this approach if we need to watch more pinned packages in the future — dependabot scans all requirement files, so packages pinned intentionally to old versions in other files (e.g.,
requirements-test-minimal.txt) would need to be handled carefully.Test plan
hypothesis-awkwardand proposes a PR when a new version is available🤖 Generated with Claude Code