-
Notifications
You must be signed in to change notification settings - Fork 358
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
Updating xunit package version on dotnet/arcade #7911
Conversation
<XUnitAbstractionsVersion>2.0.3</XUnitAbstractionsVersion> | ||
<XUnitVSRunnerVersion>2.4.1</XUnitVSRunnerVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is not used anywhere, so removing
Something is trying to construct a path to nuget to fetch test packages. |
This is what is constructing that path:
|
my last commit hardcodes it to 2.4.1 f8d6df0 |
Conflicts: eng/Versions.props
Why wouldn't we point it at a download link from https://dev.azure.com/dnceng/public/_packaging?_a=package&feed=dotnet-eng&package=xunit.runner.console&protocolType=NuGet&version=2.4.2-pre.9? |
src/Microsoft.DotNet.Helix/Sdk/tools/xunit-runner/XUnitRunner.targets
Outdated
Show resolved
Hide resolved
src/Microsoft.DotNet.Helix/Sdk/tools/xunit-runner/XUnitRunner.targets
Outdated
Show resolved
Hide resolved
src/Microsoft.DotNet.Helix/Sdk/tools/xunit-runner/XUnitRunner.targets
Outdated
Show resolved
Hide resolved
Test logs still show https://dev.azure.com/dnceng/public/_build/results?buildId=1388150&view=ms.vss-test-web.build-test-results-tab&runId=40405972&resultId=100020&paneView=debug
Is that the actual download URL? The link I shared was just to the gallery page. |
src/Microsoft.DotNet.Helix/Sdk/tools/xunit-runner/XUnitRunner.targets
Outdated
Show resolved
Hide resolved
src/Microsoft.DotNet.Helix/Sdk/tools/xunit-runner/XUnitRunner.targets
Outdated
Show resolved
Hide resolved
…targets Co-authored-by: Eric StJohn <ericstj@microsoft.com>
This change is causing Windows Forms builds to fail: dotnet/winforms#5934 Please be mindful that Arcade is a shared library, and check with all consumers when making such changes. Thank you. |
Relates to dotnet/arcade#7911
Sure we can notify more folks when we upgrade this dependency in the future. FWIW we aren't expecting these version updates to be breaking (in fact, we're flighting them to find real breaks and then working with xUnit to avoid those). Question for you: does WinForms need to define the version here? Can they just rely on Arcade defining the version. That way they wouldn't end up downgrading the dependency. |
Here's the build log:
Looking through it and the projects references I'm having difficulties determining what is actually causing the version mismatch. External packages (e.g. Xunit.StaFact or Verify.Xunit) according to nuget.org target xUnit >= 2.4.1... Do you have a suggestion on how to determine the cause? P.S. looks like a number of our packages are out-dated, and that's something we'll need to do but we'd be good to root out the problem first. |
Similar to PR dotnet/runtime#59275 for dotnet/runtime, updating xunit package version on arcade here.