-
-
Notifications
You must be signed in to change notification settings - Fork 49
Upgraded SIL DLLs to latest stable versions #1406
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
Conversation
Upgraded MarkDig.Signed to meet dependency requirements Updated other packages to latest bug fix patch version for current major/minor version
imnasnainaec
left a comment
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.
Reviewable status: 0 of 41 files reviewed, 2 unresolved discussions (waiting on @ermshiperete)
a discussion (no related file):
What determines which .csproj files require Markdig.Signed and which don't?
SIL.Windows.Forms.Scripture.Tests/SIL.Windows.Forms.Scripture.Tests.csproj line 17 at r1 (raw file):
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.2" /> <PackageReference Include="GitVersion.MsBuild" Version="5.11.1" PrivateAssets="all" /> <PackageReference Include="Moq" Version="4.18.4" />
Why add Moq to SIL.Windows.Forms.Scripture.Tests when it has no tests with using Moq?
tombogle
left a comment
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.
Reviewable status: 0 of 41 files reviewed, 2 unresolved discussions (waiting on @ermshiperete and @imnasnainaec)
a discussion (no related file):
Previously, imnasnainaec (D. Ror.) wrote…
What determines which
.csprojfiles requireMarkdig.Signedand which don't?
The only thing in libpalaso that uses it directly (i.e., has it as a Top-level dependency) is SIL.Windows.Forms. Most of the other SIL.Windows.Forms.* DLLs reference that, so they have it as a transitive dependency. I just noticed that SIL.Media.Tests also references it, but the thing that uses it really should be a Test App, not stuck inside the DLL with the unit tests. I think I'll change that in a separate PR.
SIL.Windows.Forms.Scripture.Tests/SIL.Windows.Forms.Scripture.Tests.csproj line 17 at r1 (raw file):
Previously, imnasnainaec (D. Ror.) wrote…
Why add
MoqtoSIL.Windows.Forms.Scripture.Testswhen it has no tests withusing Moq?
It is a transitive dependency there because SIL.Scripture.Tests references it, and SIL.Windows.Forms.Scripture.Tests\ScrPassageControlTests.cs uses TestScrVers, so it requires a reference to SIL.Scripture.Tests.
tombogle
left a comment
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.
Reviewable status: 0 of 41 files reviewed, 2 unresolved discussions (waiting on @ermshiperete and @imnasnainaec)
a discussion (no related file):
Previously, tombogle (Tom Bogle) wrote…
The only thing in libpalaso that uses it directly (i.e., has it as a Top-level dependency) is SIL.Windows.Forms. Most of the other SIL.Windows.Forms.* DLLs reference that, so they have it as a transitive dependency. I just noticed that SIL.Media.Tests also references it, but the thing that uses it really should be a Test App, not stuck inside the DLL with the unit tests. I think I'll change that in a separate PR.
This is the PR: #1408
imnasnainaec
left a comment
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.
Reviewed 15 of 41 files at r1, all commit messages.
Reviewable status: 15 of 41 files reviewed, all discussions resolved (waiting on @ermshiperete)
|
@ermshiperete , Any idea why this is causing the Appveyor build to fail or what to do about it? The versions of System.Runtime.CompilerServices.Unsafe hasn't changed. I see there are some transitive dependencies on version 4.5.3 for some of our DLLs, though not for some that are experiencing test failures. I'm reticent to turn all these into top-level dependencies, even if I knew that would solve the problem. I could add binding redirects, but we have hitherto not needed any redirects for System.Runtime.CompilerServices.Unsafe and I'd really like to understand how this change could have suddenly introduce so many failures. all may package version changes were upgrades, so how could things suddenly want a much older version of System.Runtime.CompilerServices.Unsafe. |
|
@tombogle No idea. Could it be related to updating some of our components/packages from net6 to net8? |
|
Wouldn't think so, since that has all been done and merged to master. |
|
@tombogle You could try rolling back the "Updated other packages to latest bug fix patch version for current major/minor version" changes... |
|
Yeah, I can troubleshoot it by making the changes incrementally. I was just hoping someone would see the obvious answer and save me that trouble. |
|
Here's what I note:
|
…dency update of Markdig.Signed). This is a test to see if upgrading just those will succeed on Appveyor build
|
#1410 demonstrates that removing -beta* for L10nsharp indeed is not the cause of the Appveyor problem. (That one can be merged independently.) |
# Conflicts: # SIL.Windows.Forms.Scripture/SIL.Windows.Forms.Scripture.csproj # SIL.Windows.Forms.Tests/SIL.Windows.Forms.Tests.csproj # SIL.Windows.Forms/SIL.Windows.Forms.csproj
# Conflicts: # SIL.Windows.Forms.Scripture/SIL.Windows.Forms.Scripture.csproj
# Conflicts: # SIL.Core/SIL.Core.csproj # SIL.Media.Tests/SIL.Media.Tests.csproj # SIL.Windows.Forms.Scripture.Tests/SIL.Windows.Forms.Scripture.Tests.csproj # SIL.Windows.Forms.Scripture/SIL.Windows.Forms.Scripture.csproj # SIL.Windows.Forms.Tests/SIL.Windows.Forms.Tests.csproj # SIL.Windows.Forms.WritingSystems.Tests/SIL.Windows.Forms.WritingSystems.Tests.csproj # SIL.WritingSystems/SIL.WritingSystems.csproj
…ependencies # Conflicts: # SIL.Archiving/SIL.Archiving.csproj # SIL.Core.Desktop/SIL.Core.Desktop.csproj # SIL.Core.Tests/SIL.Core.Tests.csproj # SIL.Core/SIL.Core.csproj # SIL.DblBundle.Tests/SIL.DblBundle.Tests.csproj # SIL.DblBundle/SIL.DblBundle.csproj # SIL.DictionaryServices/SIL.DictionaryServices.csproj # SIL.Lexicon/SIL.Lexicon.csproj # SIL.Lift/SIL.Lift.csproj # SIL.Linux.Logging/SIL.Linux.Logging.csproj # SIL.Media/SIL.Media.csproj # SIL.Scripture.Tests/SIL.Scripture.Tests.csproj # SIL.Scripture/SIL.Scripture.csproj # SIL.TestUtilities/SIL.TestUtilities.csproj # SIL.Windows.Forms.Archiving/SIL.Windows.Forms.Archiving.csproj # SIL.Windows.Forms.DblBundle/SIL.Windows.Forms.DblBundle.csproj # SIL.Windows.Forms.GeckoBrowserAdapter/SIL.Windows.Forms.GeckoBrowserAdapter.csproj # SIL.Windows.Forms.Keyboarding/SIL.Windows.Forms.Keyboarding.csproj # SIL.Windows.Forms.Scripture.Tests/SIL.Windows.Forms.Scripture.Tests.csproj # SIL.Windows.Forms.Scripture/SIL.Windows.Forms.Scripture.csproj # SIL.Windows.Forms.Tests/SIL.Windows.Forms.Tests.csproj # SIL.Windows.Forms.WritingSystems.Tests/SIL.Windows.Forms.WritingSystems.Tests.csproj # SIL.Windows.Forms.WritingSystems/SIL.Windows.Forms.WritingSystems.csproj # SIL.Windows.Forms/SIL.Windows.Forms.csproj # SIL.WritingSystems.Tests/SIL.WritingSystems.Tests.csproj # SIL.WritingSystems/SIL.WritingSystems.csproj # TestApps/SIL.Windows.Forms.TestApp/SIL.Windows.Forms.TestApp.csproj # build/Palaso.proj
imnasnainaec
left a comment
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.
Reviewed 3 of 41 files at r1, 1 of 31 files at r3, 39 of 39 files at r4, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @ermshiperete)
No longer referencing any beta packages (e.g., L10nSharp)
Upgraded MarkDig.Signed to meet dependency requirements
Updated other packages to latest bug fix patch version for current major/minor version
This change is