Repository navigation
Add Dependabot: conda environments, third-party actions, and base image - #47
Merged
Merged
Conversation
Watches containers/quantecon and containers/quantecon-build environment.yml via Dependabot's conda ecosystem (GA Dec 2025), which resolves Python packages through PyPI — keeping the pip toolchain (jupyter-book, quantecon-book-theme, sphinx-* extensions, kaleido) current with weekly PRs. Conda-only entries (anaconda metapackage, nodejs) aren't on PyPI and stay manual; `python` is ignored so the version stays under our control. This complements the pinned Miniconda installer (#45): we pin for reproducible/verifiable builds, and Dependabot proposes the package bumps so the environment doesn't silently drift. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a Dependabot configuration to automatically propose weekly updates for Python packages referenced by the container conda environments, keeping the build toolchain current with less manual effort.
Changes:
- Introduces
.github/dependabot.ymlto enable Dependabot’scondaecosystem scanning. - Configures weekly update cadence, PR limit, label, and commit message prefix.
- Ignores
pythonupdates to keep the interpreter version pinned under manual control.
- github-actions: keep the third-party actions current across .github/workflows and each composite action subdir (they must be listed explicitly — Dependabot only scans the given directory's action.yml). Ignores our own internal quantecon/actions @v0 sibling references. - docker: track the ubuntu:24.04 base image in both Dockerfiles. This also covers the Dependabot half of #39 (the SHA-pinning piece is separate). Co-Authored-By: Claude Opus 4.8 <[email protected]>
Contributor
Author
|
Expanded per discussion — the config now has three ecosystems:
The |
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.github/dependabot.ymlwith three ecosystems to keep the repo's dependencies current.Dependabot PRs run as
dependabot[bot], which thepreview-*actions already skip (no secret access), so these PRs won't trigger preview deploys.1.
conda— container environmentsWatches
containers/quantecon/environment.ymlandcontainers/quantecon-build/environment.yml. The conda ecosystem (GA Dec 2025, changelog) resolves Python packages via PyPI — i.e. thepip:toolchain (jupyter-book,quantecon-book-theme, thesphinx-*extensions,kaleido), exactly what was bumped by hand for 0.7.0.Out of scope: conda-only entries (
anacondametapackage,nodejs) aren't on PyPI;pythonisignored so the version stays pinned under our control.This complements the pinned Miniconda installer (#45): pin for reproducible/verifiable builds, and let Dependabot propose the package bumps so the env doesn't silently drift.
2.
github-actions— third-party actionsCovers
.github/workflows/and each composite-action subdir (they must be listed individually — Dependabot only scans the named directory'saction.yml, not nested ones). Tracksactions/cache,actions/*-pages,actions/github-script,actions/upload-artifact,conda-incubator/setup-miniconda,softprops/action-gh-release,docker/*,actions/checkout. Our own internalquantecon/actions@v0sibling refs areignored so Dependabot doesn't fight the floating tag.This is the Dependabot half of #39 (the SHA-pinning piece is still separate).
3.
docker— base imageTracks the
FROM ubuntu:24.04base image in both Dockerfiles (not the Miniconda installer, which is pinned + checksummed in the RUN step).🤖 Generated with Claude Code