From 3d0f1235a50312c215c160ab2885eb8488cc53cb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Nov 2025 02:26:00 +0000 Subject: [PATCH 1/2] Update dependency posthog to v6 --- poetry.lock | 9 +++++---- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index ebca7b93cd..c99332fc26 100644 --- a/poetry.lock +++ b/poetry.lock @@ -5786,14 +5786,14 @@ tests = ["pytest (>=5.4.1)", "pytest-cov (>=2.8.1)", "pytest-mypy (>=0.8.0)", "p [[package]] name = "posthog" -version = "5.4.0" +version = "6.7.14" description = "Integrate PostHog into any python application." optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "posthog-5.4.0-py3-none-any.whl", hash = "sha256:284dfa302f64353484420b52d4ad81ff5c2c2d1d607c4e2db602ac72761831bd"}, - {file = "posthog-5.4.0.tar.gz", hash = "sha256:701669261b8d07cdde0276e5bc096b87f9e200e3b9589c5ebff14df658c5893c"}, + {file = "posthog-6.7.14-py3-none-any.whl", hash = "sha256:de387c9601c5fe54eedfff7c147b8daf8e6c6173aa73046283e42cdc3a78b34b"}, + {file = "posthog-6.7.14.tar.gz", hash = "sha256:79d5d5704f53a8f2dcca1682f96b6214c9762a761f10def773e4ea388589bb2a"}, ] [package.dependencies] @@ -5802,6 +5802,7 @@ distro = ">=1.5.0" python-dateutil = ">=2.2" requests = ">=2.7,<3.0" six = ">=1.5" +typing-extensions = ">=4.2.0" [package.extras] dev = ["django-stubs", "lxml", "mypy", "mypy-baseline", "packaging", "pre-commit", "pydantic", "ruff", "setuptools", "tomli", "tomli_w", "twine", "types-mock", "types-python-dateutil", "types-requests", "types-setuptools", "types-six", "wheel"] @@ -9255,4 +9256,4 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "2.1" python-versions = "~3.12" -content-hash = "ceab94db56105439c94cf4b8895b8c50d21deb17b0d59445e7cc813782f6a129" +content-hash = "543bd628442b393ead13ae00f8f8065a35e9dbddd412227cc7282171b4f6e56a" diff --git a/pyproject.toml b/pyproject.toml index 80cb94e57c..3cecece710 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -83,7 +83,7 @@ opentelemetry-instrumentation-redis = ">=0.52b0" opentelemetry-instrumentation-requests = ">=0.52b0" opentelemetry-sdk = ">=1.31.0" pluggy = "^1.3.0" -posthog = "^5.0.0" +posthog = "^6.0.0" psycopg = "^3.2.4" psycopg2 = "^2.9.6" pycountry = "^24.6.1" From 68ea9bf81d3a3bb0f5deac7cbf0f4b30161ec564 Mon Sep 17 00:00:00 2001 From: dansubak Date: Tue, 4 Nov 2025 09:56:03 -0500 Subject: [PATCH 2/2] Correct kwarg name --- main/features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/features.py b/main/features.py index bc54456c72..441bf7e997 100644 --- a/main/features.py +++ b/main/features.py @@ -29,7 +29,7 @@ def configure(): """ if settings.POSTHOG_PROJECT_API_KEY: posthog.default_client = posthog.Client( - api_key=settings.POSTHOG_PROJECT_API_KEY, + project_api_key=settings.POSTHOG_PROJECT_API_KEY, host=settings.POSTHOG_API_HOST, debug=settings.DEBUG, on_error=None,