Add Dependabot updates for Python requirements#10612
Open
azhavoro wants to merge 11 commits into
Open
Conversation
* Bump shapely from 1.7.1 to 2.1.2 in /cvat/requirements Bumps [shapely](https://github.com/shapely/shapely) from 1.7.1 to 2.1.2. - [Release notes](https://github.com/shapely/shapely/releases) - [Changelog](https://github.com/shapely/shapely/blob/main/CHANGES.txt) - [Commits](shapely/shapely@1.7.1...2.1.2) --- updated-dependencies: - dependency-name: shapely dependency-version: 2.1.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Regenerate Python requirements --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
nmanovic
reviewed
May 15, 2026
| @@ -0,0 +1 @@ | |||
| 3.10 | |||
SpecLad
reviewed
May 15, 2026
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
| git add cvat/requirements/*.txt utils/dataset_manifest/requirements.txt | ||
| git commit -m "Regenerate Python requirements" | ||
| git push |
Contributor
There was a problem hiding this comment.
As I recall, using the default GitHub token to perform actions will not trigger workflows. Isn't this going to be a problem here? It means that CI won't run for the updated version of the pull request.
| update: | ||
| # Dependabot PRs can be synchronized by maintainers, so github.actor is not | ||
| # always dependabot[bot]. Limit this write-enabled job to Dependabot branches. | ||
| if: startsWith(github.event.pull_request.head.ref, 'dependabot/') |
Contributor
There was a problem hiding this comment.
We should probably make sure the request is coming from our own repository, not a fork. I'm fairly certain that executing pip-compile on untrusted requirements leads to arbitrary code execution, and I'm not comfortable doing that in a workflow with write permissions.
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.
Summary
*.txtlock files andall.in.*.infiles change.Notes
Python requirements are managed by
pip-compile-multi, so Dependabot should only update source*.infiles. The generated*.txtfiles are refreshed by the workflow usingregenerate.sh --no-upgrade.Testing
.github/dependabot.ymlas YAML.