Skip to content

Add Dependabot configuration (pip + github-actions) - #895

Merged
thehrh merged 1 commit into
masterfrom
dependabot/config
Jan 7, 2026
Merged

thehrh merged 1 commit into
masterfrom
dependabot/config

Conversation

@thehrh

@thehrh thehrh commented Jan 6, 2026

Copy link
Copy Markdown
Collaborator

I propose testing if and how Dependabot can help us with our dependency updates. The suggested file has been produced using copilot. Once it is merged, we should be able to trigger a manual first Dependabot run from the dependency graph.

  • Adds .github/dependabot.yml to enable Dependabot version updates for pip (setup.py/setup.cfg) and GitHub Actions workflows.
  • Schedule: weekly
  • Notes: Git-based dependencies (VCS URLs) and conda environment files are not managed by Dependabot (need pinned requirements or pyproject.toml for improved updates)

@bleaktwig bleaktwig 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.

Good idea!

@thehrh
thehrh merged commit d372ea5 into master Jan 7, 2026
3 checks passed
@thehrh
thehrh deleted the dependabot/config branch January 7, 2026 16:14
@thehrh

thehrh commented Jan 7, 2026

Copy link
Copy Markdown
Collaborator Author

Only the part pertaining to the release versions of workflow actions is working (see https://github.com/icecube/pisa/actions/runs/20785160926/job/59692527903). No PR was opened by Dependabot though because of the recent #888.

Getting the dependency detection and updating running requires more than what's in this PR, namely apparently a requirements.txt and requirements-dev.txt (e.g. auto-generated from a slightly modified setup.py), as well as a .python-version file (so that Dependabot doesn't just use a recent Python 3.14 release). I'm playing around with this in my personal fork currently, observing which pull requests are being opened for a given python version choice (https://github.com/thehrh/pisa-1), and I'm not sure yet whether it makes sense for pisa (at this point or generally).

@thehrh thehrh added the dependencies Pull requests that update a dependency file label Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants