Skip to content
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

dependabot Update wrong directory for NuGet package #8177

Closed
1 task done
Dor-bl opened this issue Oct 11, 2023 · 3 comments
Closed
1 task done

dependabot Update wrong directory for NuGet package #8177

Dor-bl opened this issue Oct 11, 2023 · 3 comments
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet T: bug 🐞 Something isn't working

Comments

@Dor-bl
Copy link

Dor-bl commented Oct 11, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

NuGet

Package manager version

No response

Language version

No response

Manifest location and content before the Dependabot update

No response

dependabot.yml content

https://github.com/appium/dotnet-client/blob/main/.github/dependabot.yml

Updated dependency

Selenium.Support from 4.11.0 to 4.14.0.

What you expected to see, versus what you actually saw

The title of the PR created by Dependabot says: bump Selenium.Support from 4.11.0 to 4.14.0 in /test/integration
while in fact the update takes place under src folder :
src/Appium.Net/Appium.Net.csproj

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

appium/dotnet-client#665

azure-pipelines
/ appium.dotnet-client
Build log #L215
The nuget command failed with exit code(1) and error(NU1605: Detected package downgrade: Selenium.WebDriver from 4.14.0 to 4.11.0. Reference the package directly from the project to select a different version. 
 Appium.Net.Integration.Tests -> Appium.WebDriver -> Selenium.Support 4.14.0 -> Selenium.WebDriver (>= 4.14.0) 
 Appium.Net.Integration.Tests -> Appium.WebDriver -> Selenium.WebDriver (>= 4.11.0)
NU1605: Detected package downgrade: Selenium.WebDriver from 4.14.0 to 4.11.0. Reference the package directly from the project to select a different version. 
 Appium.WebDriver -> Selenium.Support 4.14.0 -> Selenium.WebDriver (>= 4.14.0) 
 Appium.WebDriver -> Selenium.WebDriver (>= 4.11.0)
Errors in D:\a\1\s\test\integration\Appium.Net.Integration.Tests.csproj
    NU1605: Detected package downgrade: Selenium.WebDriver from 4.14.0 to 4.11.0. Reference the package directly from the project to select a different version.
     Appium.Net.Integration.Tests -> Appium.WebDriver -> Selenium.Support 4.14.0 -> Selenium.WebDriver (>= 4.14.0)
     Appium.Net.Integration.Tests -> Appium.WebDriver -> Selenium.WebDriver (>= 4.11.0)
Errors in D:\a\1\s\src\Appium.Net\Appium.Net.csproj
    NU1605: Detected package downgrade: Selenium.WebDriver from 4.14.0 to 4.11.0. Reference the package directly from the project to select a different version.
     Appium.WebDriver -> Selenium.Support 4.14.0 -> Selenium.WebDriver (>= 4.14.0)
     Appium.WebDriver -> Selenium.WebDriver (>= 4.11.0))

Smallest manifest that reproduces the issue

No response

@Dor-bl Dor-bl added the T: bug 🐞 Something isn't working label Oct 11, 2023
@jakecoffman jakecoffman added the L: dotnet:nuget NuGet packages via nuget or dotnet label Oct 12, 2023
@Dor-bl
Copy link
Author

Dor-bl commented Nov 12, 2023

@jakecoffman, Is this project still being maintained?

@Dor-bl
Copy link
Author

Dor-bl commented Mar 3, 2024

Another PR example of that issue
appium/dotnet-client#746

@brettfo
Copy link
Contributor

brettfo commented May 22, 2024

Based on the log this looks like the feature in #9693. Closing this in favor of the other tracking issue.

@brettfo brettfo closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet T: bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants