Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Use latest Azure Quantum .NET SDK and Newtonsoft.Json packages#588

Merged
vxfield merged 3 commits intomainfrom
xfield/update-net-sdk
Jan 25, 2022
Merged

Use latest Azure Quantum .NET SDK and Newtonsoft.Json packages#588
vxfield merged 3 commits intomainfrom
xfield/update-net-sdk

Conversation

@vxfield
Copy link
Member

@vxfield vxfield commented Jan 21, 2022

The Azure.Quantum.Client from the Q# runtime repo has been updated to use the latest Newtonsoft.Json package 13.0.1.
Some samples had references directly to Azure.Quantum.Client or the Microsoft.Quantum.Simulators (which uses Azure.Quantum.Client) and they were also referencing to an older version of Newtonsoft.Json, causing a build failure.

This PR fixes the samples by bumping them to the latest Newtonsoft.Json and unblocks microsoft/qsharp-runtime#904

Manual tests of affected projects:
MolecularHydrogenGUI
image

LithiumHydrideGUI
image

H2SimulationGUI
image

@vxfield vxfield requested a review from anjbur January 21, 2022 06:41
@vxfield vxfield enabled auto-merge (squash) January 21, 2022 06:42
@vxfield vxfield requested a review from cgranade January 21, 2022 19:48

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've had issues before with subtle changes in serialization breaking electron interop. Have you run this sample manually to confirm that the GUI works correctly?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did. I ran them again and this time compared the results against main.
I got the same results.
I posted the screenshots in the description. Please double-check they look alright.

@vxfield vxfield merged commit 7b76c4c into main Jan 25, 2022
@vxfield vxfield deleted the xfield/update-net-sdk branch January 25, 2022 00:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants