-
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
Several npm packages not updating #1171
Comments
@mockdeep sorry for the neglect! Is this fixed? Looks like |
@feelepxyz I just updated my dependencies with Dependabot. It made a bunch of PRs, I merged them and ran it again, and it didn't come up with any more. However, there are still 2 packages that are out of date (plus one
|
@mockdeep oh looks like we're not doing a good job of updating dependencies with peer dependencies.
Would love to fix this but we're busy integrating Dependabot at GitHub so will be a while before we get some time for this. It's a tricky to get this logic right and we want to err on the side of caution and not update where it might break your project. |
@feelepxyz sounds like a pretty tall order. One other thing I'm noticing is that it appears it upgraded
|
I saw something similar. Dependabot appears to have ignored all the @aws-cdk/* libraries in https://github.com/awslabs/aws-delivlib/blob/master/package.json#L37 |
Same here on @aws-cdk/* libraries. Dependabot will update the aws-cdk devDependency, but not the @aws-cdk/* dependencies. Example: To @feelepxyz's comment above about peer dependencies potentially being the root cause, CDK does use peer dependencies so that could be related. For example,
And the |
Any updates on this? |
We haven't made any progress on this. We're hoping to update to npm 7 and arborist which will give us a lot more powers to do peer dependency updates so will revisit once that lands. |
To fix dependabot security warnings. Probably caused by this issue: dependabot/dependabot-core#1171
To fix dependabot security warnings. Probably caused by this issue: dependabot/dependabot-core#1171
The version of npm that we use in core was bumped from 7.19.1 to 7.20.3 in #4110. It was released as part of dependabot-omnibus v0.158.0 in #4116. This version is trickling into production. We're continuing to monitor the progress. If you have a public repo that you can point to that is having issues please share. Thank you for your patience. |
We haven't made any improvements to how dependabot-core handles peer dependencies so this is likely to be in a similar state. The npm 7 update might have improved which combinations raise peer dependency warnings so this might have inadvertently fixed some things. |
Looking at this a bit further, I think there are a few different issues that are bundled into "dependabot can't update x package". If the dependency is top-level (defined in
If the dependency is transitive/sub-dependency:
We'd love to start tackling these issues and would also appreciate any help we can get here. One way to help out would be to reduce problematic update scenarios to a minimal set of dependencies on a public repo with dependabot enabled. This would allow us to quickly write a test case, which is often the bulk of the effort when fixing these types of bugs. |
We've shipped a lot of improvements to peer dependencies / sub dependency bumping over the past few months: https://github.com/dependabot/dependabot-core/pulls?q=is%3Apr+peer+dependency+is%3Aclosed Based on the issue descriptions ☝️, I'm fairly sure we've addressed a number of them... so I'm going to close as the concrete examples in this issue thread are more than two years old at this point. If you do hit this in the future, please file a new bug, and be sure to include both the conflict description as well as ideally a minimum reproducible example in a public repo that we can use for testing. |
Not sure if this will be related to #1169, but I have several NPM packages that can be upgraded, but Dependabot doesn't seem to be catching them, even if I click "Bump now". If I run
yarn upgrade jquery
it does work, however.The text was updated successfully, but these errors were encountered: