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

Commit df491c9

Browse files
anpaztcNickolas
authored andcommitted
Add explicit package version to M.Q.Katas in Notebooks (#109)
This adds explicit package version to Kata Notebooks, so that an update of the NuGet packages (with potentially breaking changes) does not get picked up immediately.
1 parent 3a72faa commit df491c9

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

BasicGates/BasicGates.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"metadata": {},
3737
"outputs": [],
3838
"source": [
39-
"%package Microsoft.Quantum.Katas"
39+
"%package Microsoft.Quantum.Katas::0.5.1904.1302"
4040
]
4141
},
4242
{

DeutschJozsaAlgorithm/DeutschJozsaAlgorithm.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"metadata": {},
3535
"outputs": [],
3636
"source": [
37-
"%package Microsoft.Quantum.Katas"
37+
"%package Microsoft.Quantum.Katas::0.5.1904.1302"
3838
]
3939
},
4040
{

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ENV PATH=$PATH:${HOME}/dotnet:${HOME}/.dotnet/tools \
4242
DOTNET_ROOT=${HOME}/dotnet
4343

4444
# install IQSharp
45-
RUN dotnet tool install -g Microsoft.Quantum.IQSharp
45+
RUN dotnet tool install -g Microsoft.Quantum.IQSharp --version 0.5.1904.1302
4646
RUN dotnet iqsharp install --user --path-to-tool="$(which dotnet-iqsharp)"
4747

4848
# Make sure the contents of our repo are in ${HOME}

Measurements/Measurements.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"metadata": {},
3333
"outputs": [],
3434
"source": [
35-
"%package Microsoft.Quantum.Katas"
35+
"%package Microsoft.Quantum.Katas::0.5.1904.1302"
3636
]
3737
},
3838
{

Superposition/Superposition.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"metadata": {},
3434
"outputs": [],
3535
"source": [
36-
"%package Microsoft.Quantum.Katas"
36+
"%package Microsoft.Quantum.Katas::0.5.1904.1302"
3737
]
3838
},
3939
{

0 commit comments

Comments
 (0)