-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dependabot to update GitHub Actions and Python dependencies #2259
Add dependabot to update GitHub Actions and Python dependencies #2259
Conversation
Signed-off-by: Pedro Kaj Kjellerup Nacht <[email protected]>
Bumps the github-actions group with 5 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `3` | `4` | | [actions/setup-python](https://github.com/actions/setup-python) | `4` | `5` | | [actions/cache](https://github.com/actions/cache) | `2` | `3` | | [DoozyX/clang-format-lint-action](https://github.com/doozyx/clang-format-lint-action) | `0.14` | `0.17` | | [devcontainers/ci](https://github.com/devcontainers/ci) | `0.2` | `0.3` | Updates `actions/checkout` from 3 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) Updates `actions/setup-python` from 4 to 5 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4...v5) Updates `actions/cache` from 2 to 3 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v2...v3) Updates `DoozyX/clang-format-lint-action` from 0.14 to 0.17 - [Release notes](https://github.com/doozyx/clang-format-lint-action/releases) - [Commits](DoozyX/clang-format-lint-action@v0.14...v0.17) Updates `devcontainers/ci` from 0.2 to 0.3 - [Release notes](https://github.com/devcontainers/ci/releases) - [Commits](devcontainers/ci@v0.2...v0.3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: DoozyX/clang-format-lint-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: devcontainers/ci dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the python group with 4 updates: [tf-nightly-cpu](https://github.com/tensorflow/tensorflow), torch, torchvision and [tf-nightly[and-cuda]](https://github.com/tensorflow/tensorflow). Updates `tf-nightly-cpu` from 2.16.0.dev20231109 to 2.16.0.dev20231221 - [Release notes](https://github.com/tensorflow/tensorflow/releases) - [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md) - [Commits](https://github.com/tensorflow/tensorflow/commits) Updates `torch` from 2.1.0 to 2.1.2+cu118 Updates `torchvision` from 0.16.0 to 0.16.2+cu118 Updates `tf-nightly[and-cuda]` from 2.16.0.dev20231109 to 2.16.0.dev20231221 - [Release notes](https://github.com/tensorflow/tensorflow/releases) - [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md) - [Commits](https://github.com/tensorflow/tensorflow/commits) --- updated-dependencies: - dependency-name: tf-nightly-cpu dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python - dependency-name: torch dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python - dependency-name: torchvision dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python - dependency-name: tf-nightly[and-cuda] dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This looks good to me! Bumping nightlies via dependabot sounds fine, I believe our testing would turn up any issues if we found them.
Added @sampathweb to look too, he's been doing a lot with Keras CI generally.
|
||
# Torch with cuda support. | ||
--extra-index-url https://download.pytorch.org/whl/cu118 | ||
torch==2.1.0 | ||
torchvision==0.16.0 | ||
torch==2.1.2+cu118 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this is sync with our pinned torch versions for keras itself?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean if this is the same version of torch used at keras-team/keras?
In that case, the version is currently not the same. They're running torch 2.1.1, since 2.1.2 was released Dec 14, and their last Dependabot run was Dec 1st.
Once Dependabot runs again (Jan 1) and both projects merge their respective PRs, the versions will always match.
I think going straight to a PR is always welcome if the proposed change is clear. Helps anchor the discussion. For big features (e.g. new API symbols), or places where the potential changes are unclear, an issue is probably worth it. |
6a0ef44
into
keras-team:master
…s-team#2259) * Add dependabot to monitor GHA and Python Signed-off-by: Pedro Kaj Kjellerup Nacht <[email protected]> * Bump GitHub Actions to latest versions Bumps the github-actions group with 5 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `3` | `4` | | [actions/setup-python](https://github.com/actions/setup-python) | `4` | `5` | | [actions/cache](https://github.com/actions/cache) | `2` | `3` | | [DoozyX/clang-format-lint-action](https://github.com/doozyx/clang-format-lint-action) | `0.14` | `0.17` | | [devcontainers/ci](https://github.com/devcontainers/ci) | `0.2` | `0.3` | Updates `actions/checkout` from 3 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) Updates `actions/setup-python` from 4 to 5 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4...v5) Updates `actions/cache` from 2 to 3 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v2...v3) Updates `DoozyX/clang-format-lint-action` from 0.14 to 0.17 - [Release notes](https://github.com/doozyx/clang-format-lint-action/releases) - [Commits](DoozyX/clang-format-lint-action@v0.14...v0.17) Updates `devcontainers/ci` from 0.2 to 0.3 - [Release notes](https://github.com/devcontainers/ci/releases) - [Commits](devcontainers/ci@v0.2...v0.3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: DoozyX/clang-format-lint-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: devcontainers/ci dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Python dependencies to latest versions Bumps the python group with 4 updates: [tf-nightly-cpu](https://github.com/tensorflow/tensorflow), torch, torchvision and [tf-nightly[and-cuda]](https://github.com/tensorflow/tensorflow). Updates `tf-nightly-cpu` from 2.16.0.dev20231109 to 2.16.0.dev20231221 - [Release notes](https://github.com/tensorflow/tensorflow/releases) - [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md) - [Commits](https://github.com/tensorflow/tensorflow/commits) Updates `torch` from 2.1.0 to 2.1.2+cu118 Updates `torchvision` from 0.16.0 to 0.16.2+cu118 Updates `tf-nightly[and-cuda]` from 2.16.0.dev20231109 to 2.16.0.dev20231221 - [Release notes](https://github.com/tensorflow/tensorflow/releases) - [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md) - [Commits](https://github.com/tensorflow/tensorflow/commits) --- updated-dependencies: - dependency-name: tf-nightly-cpu dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python - dependency-name: torch dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python - dependency-name: torchvision dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python - dependency-name: tf-nightly[and-cuda] dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: Pedro Kaj Kjellerup Nacht <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
What does this PR do?
Hey, it's Pedro (see #2075 and #2142) and I'm back with another security suggestion.
This PR is equivalent to the one I sent to Keras: keras-team/keras#18834. It configures Dependabot to monitor the GitHub Actions used in KerasCV's workflows, as well as its Python dependencies.
Dependabot is configured to send a single monthly PR (every 1st of the month) updating all dependencies in each ecosystem (see the PRs in my fork updating GHAs and Python deps).
I have taken the liberty of merging those dependabot PRs into this one so you don't receive such PRs right after merging this one.
Note that Dependabot will also update the
tf-nightly
andtf-nightly-cpu
Python dependencies to the latest nightly snapshot. This will ensure you're running on a more recent version of TF. However, if you're concerned about updating to a broken nightly (which would likely be detected by failing tests on the Dependabot PR), I can configure Dependabot to ignore those dependencies so you can update manually.(Following keras-team/keras#18833 (comment), I haven't sent an issue for this. Let me know if KerasCV prefers always having an accompanying issue to discuss the contribution).
Before submitting
Pull Request section?
to it if that's the case.
Who can review?
Anyone! @divyashreepathihalli @sampathweb