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
NewtonsoftJson: only build Newtonsoft.Json.csproj #46425
NewtonsoftJson: only build Newtonsoft.Json.csproj #46425
Conversation
→ #45960 will need this backported (leaving a note for myself). |
@GrahamcOfBorg build openra gdata-sharp dotnetPackages.Paket dotnetPackages.FSharpAutoComplete I have done local builds for |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: openra, gdata-sharp, dotnetPackages.Paket, dotnetPackages.FSharpAutoComplete Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: openra, gdata-sharp, dotnetPackages.Paket, dotnetPackages.FSharpAutoComplete Partial log (click to expand)
|
Awesome, thanks. Note that this just avoids building the unit tests of Newtonsoft.Json. It's not ideal, but I couldn't find another way. I think it won't affect other packages though. |
Oh, (I'm deferring to your knowledge) @bobvanderlinden there was an aborted PR earlier, #44478, with commit c632384 upgrading this package. Any comments? If this works, and the test suite passes, and dependencies are happy, it may be better to upgrade? EDIT: on 18.09, the same amount of success/breakage happens with that update, which imho is good (since the breakage on the other package is seemingly unrelated). |
Failure on x86_64-linux (full log) Attempted: openra, gdata-sharp, dotnetPackages.Paket, dotnetPackages.FSharpAutoComplete Partial log (click to expand)
|
I can confirm that OpenRA builds and works with c632384. 👍 |
This is related to getting all tests passing for 18.09: #45960 |
Maybe I wasn't clear enough, let me rephrase: @bobvanderlinden what's your opinion on using c632384 instead of your PR? Do you see any downsides of upgrading? (I'd guess none, but you seem to be more knowledgeable with .NET stuff.) |
Ah missed your comment. That seems like a better way to go if all packages indeed keep working. 👍 |
closing in favor of #46679 |
Motivation for this change
This fixes the build of Newtonsoft.Json, which is blocking other
builds. The tests were not able to compile due to changes in NUnit.
Upgrading Newtonsoft.Json is currently not possible as the project
structure is now using dotnet-core and is incompatible with xbuild.
Example of failing build:
https://hydra.nixos.org/build/81003982
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)