-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Incorrect bundler updates after #5581 #5892
Comments
Hi @CvX! I'm sorry that Dependabot started proposing updates that you didn't want 🙏. Could you explain a little bit in more detail what you want Dependabot to do? From the PRs you linked to, Dependabot seems to be doing the right thing to me. It's updating only the Since you are mentioning that the updated dependencies are explicit in the allow:
- dependency-type: indirect Maybe the solution to get what you want is to remove that line from your configuration? |
Oh, actually, the one bumping |
@deivid-rodriguez all three are bugs
It should not update the Gemfile.lock for |
Dependabot documentation says about As I understand it, and how it worked before, is that should update the lockfile only if the update does not contradict the requirements stated in the Gemfile. That's the behavior that regressed.
Those are direct dependencies. And we don't want them completely ignored, like in the (GitHub should alert when you're about to post a comment and there are new replies 😅) |
@CvX I'm sorry, I completely missed the full pin on those requirements. You're 100% right, my bad! I'm looking into this right now, and will fix this ASAP. |
This has been now reverted, I may ask you to do some testing before retying another fix, if you don't mind. |
Sure thing! |
Is there an existing issue for this?
Package ecosystem
bundler
Package manager version
2.3.5
Language version
2.7.6
Manifest location and content before the Dependabot update
/Gemfile
excerpt:
dependabot.yml content
excerpt:
Updated dependency
sassc
updated from the locked version (2.0.1) to 2.4.0 discourse/discourse#18617oj
updated from the locked version (3.13.14) to 3.13.21 discourse/discourse#18614active_model_serializers
updated from the locked version (~> 0.8.3 that resolved to 0.8.4) to 0.10.13 discourse/discourse#18610What you expected to see, versus what you actually saw
Before that PR (#5581) Dependabot was correctly ignoring those dependencies. The PRs it now creates update the lockfile versions agains what's in the Gemfile.
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: