Skip to content

ci: add dependabot config for hypothesis-awkward - #3944

Merged
TaiSakuma merged 2 commits into
scikit-hep:mainfrom
TaiSakuma:chore/dependabot-hypothesis-awkward
Mar 31, 2026
Merged

TaiSakuma merged 2 commits into
scikit-hep:mainfrom
TaiSakuma:chore/dependabot-hypothesis-awkward

Conversation

@TaiSakuma

Copy link
Copy Markdown
Member

Summary

Alternative solution to #3943, as suggested by @ariostas — use dependabot instead of a custom workflow.

This builds on #3942, which pinned hypothesis-awkward to 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 pip ecosystem with allow: [{dependency-name: "hypothesis-awkward"}]. Dependabot will scan all requirement files in the repository but will only create PRs for hypothesis-awkward. Currently, hypothesis-awkward appears only in requirements-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

  • Verify dependabot picks up hypothesis-awkward and proposes a PR when a new version is available
  • Verify dependabot does not propose updates for other packages

🤖 Generated with Claude Code

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>
@github-actions

Copy link
Copy Markdown
Contributor

The documentation preview is ready to be viewed at http://preview.awkward-array.org.s3-website.us-east-1.amazonaws.com/PR3944

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml to enable pip updates on a weekly schedule
  • Restrict pip update PRs to only hypothesis-awkward via an allow list

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/dependabot.yml Resolved

@ariostas ariostas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 ianna left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TaiSakuma - this looks great! Weekly schedule seems right. Thanks!

@TaiSakuma
TaiSakuma merged commit 3b6a05d into scikit-hep:main Mar 31, 2026
39 checks passed
@codecov

codecov Bot commented Mar 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.28%. Comparing base (4c29087) to head (4985b3f).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

see 6 files with indirect coverage changes

@TaiSakuma
TaiSakuma deleted the chore/dependabot-hypothesis-awkward branch April 22, 2026 20:45
@TaiSakuma

Copy link
Copy Markdown
Member Author

@all-contributors please add @TaiSakuma for infra

@allcontributors

Copy link
Copy Markdown
Contributor

@TaiSakuma

I've updated the pull request to add @TaiSakuma! 🎉

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.

4 participants