-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
vNext finding incorrect Nuget Transitive Dependencies #1247
Comments
This might be an issue with dependabot-core itself: The post-1.24 NuGet auth fix has been backported to the original update script too since 1.30.2, so you might be able to try again with If you don't get this issue with vNext disabled, I can dig deeper in to this and see if it is a specific issue with the vNext script. If you do get this issue with vNext disabled, then I'm not sure if there is anything practical that can be done in the scope of this project to fix it (assuming it is an issue with the |
I ran our pipeline again with This makes me think either the |
I will have a look in to this and see what I can find. |
I have not been able to reproduce this but have noticed a few new fixes to dependabot-core around transitive dependencies and ensuring dependencies are valid for target framework:
This issue might be resolved when 0.272.0 is released and merged here. |
Closing this issue as V2 seems to be working and instead it is logic in the base dependabot code that is instead blocking us. Opened #10791 over there. |
Running dependabot extension in DevOps with the new
useUpdateScriptvNext
flag set. We are seeing in the pipeline logs that it is resolving dependencies with versions too low.For example we use
Microsoft.ApplicationInsights.AspNetCore
v2.22.0
in anet6.0
targeted project. One of the deep down Transitive dependencies under .net 6.0 for this package isSystem.Drawing.Common
>=6.0.0
.During the dependency analysis phase the log outputs this as part of the massive json blob
As you can see the dependency version found is
4.7.0
, which is aVulnerable
verion of this package. Thus the remaining part of the process takes over and happily adds the v4.7.2
version of the packageSystem.Drawing.Common
to the csproj file as a packageReference. The problem arises because this is a incompatible version to the version required by the deep dependency ofMicrosoft.ApplicationInsights.AspNetCore
and subsequently fails our PR build.Categorization
Expected behavior
The expectation that the transitive dependency checking is correctly "walking" the dependency tree to resolve the correct package versions.
Screenshots
Extension (please complete the following information):
Additional context
We are trying out the vNext script to work around the recent nuget auth issues introduced with the removal of the 1.24 docker image
The text was updated successfully, but these errors were encountered: