chore(deps): upgrade posthog-python (7.13.0 -> 7.20.4)#65520
Conversation
|
Reviews (1): Last reviewed commit: "chore(deps): upgrade posthog-python" | Re-trigger Greptile |
c06a5d8 to
e6a13b0
Compare
|
⏭️ Skipped snapshot commit because branch advanced to The new commit will trigger its own snapshot update workflow. If you expected this workflow to succeed: This can happen due to concurrent commits. To get a fresh workflow run, either:
|
✅ Hobby deploy smoke test: PASSEDHobby deployment smoke test passed successfully. |
|
⏭️ Skipped snapshot commit because branch advanced to The new commit will trigger its own snapshot update workflow. If you expected this workflow to succeed: This can happen due to concurrent commits. To get a fresh workflow run, either:
|
c8ecf12 to
894955c
Compare
Query snapshots: Backend query snapshots updatedChanges: 1 snapshots (1 modified, 0 added, 0 deleted) What this means:
Next steps:
|
24d1323 to
5e242d2
Compare
|
⏭️ Skipped snapshot commit because branch advanced to The new commit will trigger its own snapshot update workflow. If you expected this workflow to succeed: This can happen due to concurrent commits. To get a fresh workflow run, either:
|
Query snapshots: Backend query snapshots updatedChanges: 1 snapshots (1 modified, 0 added, 0 deleted) What this means:
Next steps:
|
Query snapshots: Backend query snapshots updatedChanges: 1 snapshots (1 modified, 0 added, 0 deleted) What this means:
Next steps:
|
203386a to
a5d08ae
Compare
Query snapshots: Backend query snapshots updatedChanges: 1 snapshots (1 modified, 0 added, 0 deleted) What this means:
Next steps:
|
Query snapshots: Backend query snapshots updatedChanges: 1 snapshots (1 modified, 0 added, 0 deleted) What this means:
Next steps:
|
Problem
The Python PostHog SDK dependency was behind the latest published version.
Changes
Upgrades the Python SDK packages to 7.20.2:
posthoganalyticsin the main Python dependency set and lockfileposthogin ingestion acceptance test requirementsThe SDK API typing changed:
posthoganalytics.feature_enabled(...)now returnsbool | Noneinstead ofbool. This PR addsfeature_enabled_or_false(...)as a typed internal wrapper and updates bool-returning feature flag gates to treatNoneas disabled.CI also surfaced an SDK mirror issue where
posthoganalyticscould resolve SDK-internal absoluteposthogimports to this monorepo's local Django app package. The SDK-side fix is tracked in PostHog/posthog-python#693.How did you test this code?
As an agent, I ran:
uv lock --upgrade-package posthoganalyticsuv run python - <<'PY'uv run ruff check posthog/temporal/ducklake/ducklake_copy_data_imports_workflow.pyuv run ty check posthog/temporal/ducklake/ducklake_copy_data_imports_workflow.pybin/hogli lint:python:fix,bin/hogli format:python, anduv run ty checkConfirmed the installed version is
7.20.2.👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Automatic notifications
Docs update
No docs update needed.
🤖 Agent context
Autonomy: Human-driven (agent-assisted)
This PR was created with pi. Skills invoked:
/debugging-ci-failuresfor CI triage and/improving-drf-endpointsafter touching DRF API files during the type-compatibility fix.The change uses the latest PyPI version for both the runtime package name (
posthoganalytics) and the acceptance test package name (posthog). The compatibility fix keeps existing product code semantics by treating indeterminate feature flag results as disabled, instead of spreadingbool | Nonethrough call sites that expose a boolean contract.