Repository: tensorzero/tensorzero (language: rust)

Issue:
Add `tensorzero` to every relevant `requirements.in` in `recipes`
→ #750

Multiple recipes use `tensorzero.uuid7` but we didn't add `tensorzero` to `requirements.in` after we vendored that dependency.

Also must re-compile `requirements.txt`.


Discussion / hints:

Fix patch:
diff --git a/recipes/dicl/requirements.in b/recipes/dicl/requirements.in
index dd1fd675d..69270e761 100644
--- a/recipes/dicl/requirements.in
+++ b/recipes/dicl/requirements.in
@@ -2,6 +2,7 @@ clickhouse_connect
 ipykernel
 openai
 pandas
+tensorzero
 toml
 tqdm
 uuid7
diff --git a/recipes/dicl/requirements.txt b/recipes/dicl/requirements.txt
index 0e5cb04fc..1f05788f7 100644
--- a/recipes/dicl/requirements.txt
+++ b/recipes/dicl/requirements.txt
@@ -6,6 +6,8 @@ anyio==4.6.0
     # via
     #   httpx
     #   openai
+appnope==0.1.4
+    # via ipykernel
 asttokens==2.4.1
     # via stack-data
 certifi==2024.8.30
@@ -23,6 +25,10 @@ decorator==5.1.1
     # via ipython
 distro==1.9.0
     # via openai
+exceptiongroup==1.2.2
+    # via
+    #   anyio
+    #   ipython
 executing==2.1.0
     # via stack-data
 h11==0.14.0
@@ -30,7 +36,9 @@ h11==0.14.0
 httpcore==1.0.5
     # via httpx
 httpx==0.27.2
-    # via openai
+    # via
+    #   openai
+    #   tensorzero
 idna==3.10
     # via
     #   anyio
@@ -108,6 +116,8 @@ sniffio==1.3.1
     #   openai
 stack-data==0.6.3
     # via ipython
+tensorzero==2025.1.7
+    # via -r requirements.in
 toml==0.10.2
     # via -r requirements.in
 tornado==6.4.2
@@ -128,6 +138,8 @@ traitlets==5.14.3
     #   matplotlib-inline
 typing-extensions==4.12.2
     # via
+    #   anyio
+    #   ipython
     #   openai
     #   pydantic
     #   pydantic-core
@@ -135,6 +147,8 @@ tzdata==2024.2
     # via pandas
 urllib3==2.2.3
     # via clickhouse-connect
+uuid-utils==0.10.0
+    # via tensorzero
 uuid7==0.1.0
     # via -r requirements.in
 wcwidth==0.2.13
diff --git a/recipes/supervised_fine_tuning/demonstrations/fireworks/fireworks.ipynb b/recipes/supervised_fine_tuning/demonstrations/fireworks/fireworks.ipynb
index 64e8cc9b0..01f1f012d 100644
--- a/recipes/supervised_fine_tuning/demonstrations/fireworks/fireworks.ipynb
+++ b/recipes/supervised_fine_tuning/demonstrations/fireworks/fireworks.ipynb
@@ -78,7 +78,7 @@
     "from clickhouse_connect import get_client\n",
     "from IPython.display import clear_output\n",
     "from minijinja import Environment\n",
-    "from uuid_utils import uuid7"
+    "from tensorzero.util import uuid7"
    ]
   },
   {
diff --git a/recipes/supervised_fine_tuning/demonstrations/fireworks/requirements.in b/recipes/supervised_fine_tuning/demonstrations/fireworks/requirements.in
index 576bb6b76..4d96011bf 100644
--- a/recipes/supervised_fine_tuning/demonstrations/fireworks/requirements.in
+++ b/recipes/supervised_fine_tuning/demonstrations/fireworks/requirements.in
@@ -3,5 +3,5 @@ ipykernel
 minijinja
 notebook
 pandas
+tensorzero
 toml
-uuid-utils
diff --git a/recipes/supervised_fine_tuning/demonstrations/fireworks/requirements.txt b/recipes/supervised_fine_tuning/demonstrations/fireworks/requirements.txt
index ee47301fd..89b2affb9 100644
--- a/recipes/supervised_fine_tuning/demonstrations/fireworks/requirements.txt
+++ b/recipes/supervised_fine_tuning/demonstrations/fireworks/requirements.txt
@@ -4,6 +4,8 @@ anyio==4.4.0
     # via
     #   httpx
     #   jupyter-server
+appnope==0.1.4
+    # via ipykernel
 argon2-cffi==23.1.0
     # via jupyter-server
 argon2-cffi-bindings==21.2.0
@@ -44,6 +46,10 @@ decorator==5.1.1
     # via ipython
 defusedxml==0.7.1
     # via nbconvert
+exceptiongroup==1.2.2
+    # via
+    #   anyio
+    #   ipython
 executing==2.1.0
     # via stack-data
 fastjsonschema==2.20.0
@@ -55,7 +61,9 @@ h11==0.14.0
 httpcore==1.0.5
     # via httpx
 httpx==0.27.2
-    # via jupyterlab
+    # via
+    #   jupyterlab
+    #   tensorzero
 idna==3.8
     # via
     #   anyio
@@ -82,7 +90,7 @@ json5==0.9.25
     # via jupyterlab-server
 jsonpointer==3.0.0
     # via jsonschema
-jsonschema[format-nongpl]==4.23.0
+jsonschema==4.23.0
     # via
     #   jupyter-events
     #   jupyterlab-server
@@ -233,6 +241,8 @@ rpds-py==0.20.0
     #   referencing
 send2trash==1.8.3
     # via jupyter-server
+setuptools==75.8.0
+    # via jupyterlab
 six==1.16.0
     # via
     #   asttokens
@@ -247,6 +257,8 @@ soupsieve==2.6
     # via beautifulsoup4
 stack-data==0.6.3
     # via ipython
+tensorzero==2025.1.7
+    # via -r requirements.in
 terminado==0.18.1
     # via
     #   jupyter-server
@@ -255,6 +267,8 @@ tinycss2==1.3.0
     # via nbconvert
 toml==0.10.2
     # via -r requirements.in
+tomli==2.2.1
+    # via jupyterlab
 tornado==6.4.2
     # via
     #   ipykernel
@@ -279,6 +293,11 @@ traitlets==5.14.3
     #   nbformat
 types-python-dateutil==2.9.0.20240906
     # via arrow
+typing-extensions==4.12.2
+    # via
+    #   anyio
+    #   async-lru
+    #   ipython
 tzdata==2024.1
     # via pandas
 uri-template==1.3.0
@@ -288,7 +307,7 @@ urllib3==2.2.2
     #   clickhouse-connect
     #   requests
 uuid-utils==0.9.0
-    # via -r requirements.in
+    # via tensorzero
 wcwidth==0.2.13
     # via prompt-toolkit
 webcolors==24.8.0
diff --git a/recipes/supervised_fine_tuning/metrics/fireworks/requirements.in b/recipes/supervised_fine_tuning/metrics/fireworks/requirements.in
index 3cbcb50d0..4d96011bf 100644
--- a/recipes/supervised_fine_tuning/metrics/fireworks/requirements.in
+++ b/recipes/supervised_fine_tuning/metrics/fireworks/requirements.in
@@ -3,5 +3,5 @@ ipykernel
 minijinja
 notebook
 pandas
+tensorzero
 toml
-uuid7
diff --git a/recipes/supervised_fine_tuning/metrics/fireworks/requirements.txt b/recipes/supervised_fine_tuning/metrics/fireworks/requirements.txt
index f0ad3935e..9df40c442 100644
--- a/recipes/supervised_fine_tuning/metrics/fireworks/requirements.txt
+++ b/recipes/supervised_fine_tuning/metrics/fireworks/requirements.txt
@@ -4,6 +4,8 @@ anyio==4.4.0
     # via
     #   httpx
     #   jupyter-server
+appnope==0.1.4
+    # via ipykernel
 argon2-cffi==23.1.0
     # via jupyter-server
 argon2-cffi-bindings==21.2.0
@@ -44,6 +46,10 @@ decorator==5.1.1
     # via ipython
 defusedxml==0.7.1
     # via nbconvert
+exceptiongroup==1.2.2
+    # via
+    #   anyio
+    #   ipython
 executing==2.1.0
     # via stack-data
 fastjsonschema==2.20.0
@@ -55,7 +61,9 @@ h11==0.14.0
 httpcore==1.0.5
     # via httpx
 httpx==0.27.2
-    # via jupyterlab
+    # via
+    #   jupyterlab
+    #   tensorzero
 idna==3.8
     # via
     #   anyio
@@ -82,7 +90,7 @@ json5==0.9.25
     # via jupyterlab-server
 jsonpointer==3.0.0
     # via jsonschema
-jsonschema[format-nongpl]==4.23.0
+jsonschema==4.23.0
     # via
     #   jupyter-events
     #   jupyterlab-server
@@ -233,6 +241,8 @@ rpds-py==0.20.0
     #   referencing
 send2trash==1.8.3
     # via jupyter-server
+setuptools==75.8.0
+    # via jupyterlab
 six==1.16.0
     # via
     #   asttokens
@@ -247,6 +257,8 @@ soupsieve==2.6
     # via beautifulsoup4
 stack-data==0.6.3
     # via ipython
+tensorzero==2025.1.7
+    # via -r requirements.in
 terminado==0.18.1
     # via
     #   jupyter-server
@@ -255,6 +267,8 @@ tinycss2==1.3.0
     # via nbconvert
 toml==0.10.2
     # via -r requirements.in
+tomli==2.2.1
+    # via jupyterlab
 tornado==6.4.2
     # via
     #   ipykernel
@@ -279,6 +293,11 @@ traitlets==5.14.3
     #   nbformat
 types-python-dateutil==2.9.0.20240906
     # via arrow
+typing-extensions==4.12.2
+    # via
+    #   anyio
+    #   async-lru
+    #   ipython
 tzdata==2024.1
     # via pandas
 uri-template==1.3.0
@@ -287,8 +306,8 @@ urllib3==2.2.2
     # via
     #   clickhouse-connect
     #   requests
-uuid7==0.1.0
-    # via -r requirements.in
+uuid-utils==0.10.0
+    # via tensorzero
 wcwidth==0.2.13
     # via prompt-toolkit
 webcolors==24.8.0


Test patch: