From 45969a7e6db0b81e6b0c1f1a8f02de3d3050df60 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:30:23 +0200 Subject: [PATCH] FIX: instal notebook packages with `uv` --- docs/adr/001/operators.ipynb | 2 +- docs/adr/001/sympy.ipynb | 2 +- docs/adr/002/composition.ipynb | 2 +- docs/adr/002/expr.ipynb | 2 +- docs/adr/002/function.ipynb | 2 +- docs/symbolics.ipynb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/adr/001/operators.ipynb b/docs/adr/001/operators.ipynb index 988274d6..d5bbc939 100644 --- a/docs/adr/001/operators.ipynb +++ b/docs/adr/001/operators.ipynb @@ -17,7 +17,7 @@ }, "outputs": [], "source": [ - "%pip install -q expertsystem==0.6.10 graphviz==0.16" + "!uv pip install -q expertsystem==0.6.10 graphviz==0.16" ] }, { diff --git a/docs/adr/001/sympy.ipynb b/docs/adr/001/sympy.ipynb index d2c1b24f..48733f92 100644 --- a/docs/adr/001/sympy.ipynb +++ b/docs/adr/001/sympy.ipynb @@ -35,7 +35,7 @@ }, "outputs": [], "source": [ - "%pip install -q jax==0.2.13 jaxlib==0.1.67 matplotlib==3.4.2 numpy==1.19.5 protobuf==3.20.* sympy==1.8 tensorflow==2.4.*" + "!uv pip install -q jax==0.2.13 jaxlib==0.1.67 matplotlib==3.4.2 numpy==1.19.5 protobuf==3.20.* sympy==1.8 tensorflow==2.4.*" ] }, { diff --git a/docs/adr/002/composition.ipynb b/docs/adr/002/composition.ipynb index fd82358a..70bbb345 100644 --- a/docs/adr/002/composition.ipynb +++ b/docs/adr/002/composition.ipynb @@ -35,7 +35,7 @@ }, "outputs": [], "source": [ - "%pip install -q matplotlib==3.4.2 sympy==1.8" + "!uv pip install -q matplotlib==3.4.2 sympy==1.8" ] }, { diff --git a/docs/adr/002/expr.ipynb b/docs/adr/002/expr.ipynb index 9c9d6577..0f420a72 100644 --- a/docs/adr/002/expr.ipynb +++ b/docs/adr/002/expr.ipynb @@ -35,7 +35,7 @@ }, "outputs": [], "source": [ - "%pip install -q matplotlib==3.4.2 sympy==1.8" + "!uv pip install -q matplotlib==3.4.2 sympy==1.8" ] }, { diff --git a/docs/adr/002/function.ipynb b/docs/adr/002/function.ipynb index 5718bdb1..13a81da1 100644 --- a/docs/adr/002/function.ipynb +++ b/docs/adr/002/function.ipynb @@ -35,7 +35,7 @@ }, "outputs": [], "source": [ - "%pip install -q matplotlib==3.4.2 sympy==1.8" + "!uv pip install -q matplotlib==3.4.2 sympy==1.8" ] }, { diff --git a/docs/symbolics.ipynb b/docs/symbolics.ipynb index e18f8a4a..19687c03 100644 --- a/docs/symbolics.ipynb +++ b/docs/symbolics.ipynb @@ -25,7 +25,7 @@ }, "outputs": [], "source": [ - "%pip install -q 'numpy~=1.26' black==24.2.0 sympy==1.12" + "!uv pip install -q 'numpy~=1.26' black==24.2.0 sympy==1.12" ] }, {