-
-
Notifications
You must be signed in to change notification settings - Fork 116
build(deps): bump posthog from 3.8.3 to 7.4.2 #758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Bumps [posthog](https://github.com/posthog/posthog-python) from 3.8.3 to 7.4.2. - [Release notes](https://github.com/posthog/posthog-python/releases) - [Changelog](https://github.com/PostHog/posthog-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/posthog/posthog-python/commits) --- updated-dependencies: - dependency-name: posthog dependency-version: 7.4.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
PR Review: PostHog Version Bump (3.8.3 → 7.4.2)OverviewThis is a Dependabot-initiated major version upgrade of the PostHog Python SDK, jumping from version 3.8.3 to 7.4.2 - spanning multiple major versions (4.x, 5.x, 6.x, 7.x). Critical Issues
|
|
@claude , please resolve:
The codebase uses two different initialization patterns simultaneously: Pattern 1 - Global module-level (legacy pattern): opencontractserver/users/apps.py:14-16posthog.api_key = settings.POSTHOG_API_KEY Pattern 2 - Singleton client instance (current pattern): config/telemetry.py:34-37_posthog_client = Posthog( |
|
Claude finished @JSv4's task in 1m 50s —— View job Resolving PostHog Upgrade IssuesTasks
Changes MadeBoth issues have been resolved locally and committed: 1. Python Version Update (setup.cfg:34) [mypy]
- python_version = 3.9
+ python_version = 3.122. Removed Unused PostHog Initialization (opencontractserver/users/apps.py) def ready(self):
- import posthog
- from django.conf import settings
-
- # Initialize PostHog globally as per official Django integration
- if settings.TELEMETRY_ENABLED:
- posthog.api_key = settings.POSTHOG_API_KEY
- posthog.host = settings.POSTHOG_HOST
-
try:
import opencontractserver.users.signals # noqa F401Commit Details
StatusChanges are committed locally but cannot be pushed due to GitHub Actions bot permissions on Dependabot branches. To complete this PR, you have two options:
The changes are ready and have been validated - they just need to be pushed to the remote branch. | |
|
Superseded by #787. |
Bumps posthog from 3.8.3 to 7.4.2.
Release notes
Sourced from posthog's releases.
... (truncated)
Changelog
Sourced from posthog's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)