Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(notebooks): include ipython in production dependencies (#110957)

Marius Andrabb5dba7521f3
diff --git a/pyproject.toml b/pyproject.toml
index 73fc73ab94e3..9e951f743f32 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -74,6 +74,7 @@ dependencies = [
"hogql-parser-rs==1.3.109", # built from rust/hogql/parser via the build-hogql-parser-rs workflow + published to PyPI; rebuild locally with `uv pip install -e rust/hogql/parser` when iterating
"humanize~=4.12.3",
"infi-clickhouse-orm",
+ "ipython~=9.3.0",
"jsonref==1.1.0",
"kafka-python==2.3.0",
"kombu==5.6.2",
@@ -243,7 +244,6 @@ dev = [
"pyinstrument~=5.1",
"pytest-rerunfailures~=16.1",
"time-machine==3.5.0",
- "ipython~=9.3.0",
"mypy~=2.1.0",
"mypy-extensions~=1.1.0",
"ty==0.0.80",
diff --git a/uv.lock b/uv.lock
index 584b1b3ec49b..159225493ebe 100644
--- a/uv.lock
+++ b/uv.lock
@@ -5851,6 +5851,7 @@ dependencies = [
{ name = "hogql-parser-rs" },
{ name = "humanize" },
{ name = "infi-clickhouse-orm" },
+ { name = "ipython" },
{ name = "jsonpatch" },
{ name = "jsonref" },
{ name = "kafka-python" },
@@ -5985,7 +5986,6 @@ dev = [
{ name = "hogli" },
{ name = "hypothesis" },
{ name = "import-linter" },
- { name = "ipython" },
{ name = "libcst" },
{ name = "mypy" },
{ name = "mypy-extensions" },
@@ -6141,6 +6141,7 @@ requires-dist = [
{ name = "hogql-parser-rs", specifier = "==1.3.109" },
{ name = "humanize", specifier = "~=4.12.3" },
{ name = "infi-clickhouse-orm", git = "https://github.com/PostHog/infi.clickhouse_orm?rev=4e3996becf66bf5c26580aff12a80425d9d56fe5" },
+ { name = "ipython", specifier = "~=9.3.0" },
{ name = "jsonpatch", specifier = "~=1.33" },
{ name = "jsonref", specifier = "==1.1.0" },
{ name = "kafka-python", specifier = "==2.3.0" },
@@ -6275,7 +6276,6 @@ dev = [
{ name = "hogli", editable = "tools/hogli" },
{ name = "hypothesis", specifier = "~=6.151.9" },
{ name = "import-linter", specifier = "~=2.11" },
- { name = "ipython", specifier = "~=9.3.0" },
{ name = "libcst", specifier = ">=1.8.6,<2.0.0" },
{ name = "mypy", specifier = "~=2.1.0" },
{ name = "mypy-extensions", specifier = "~=1.1.0" },