Skip to content

Conversation

@daibhin
Copy link
Contributor

@daibhin daibhin commented Jun 9, 2025

Getting an error when trying to use the new context scopes feature because we call import posthog. This fails because the Makefile doesn't replace the call with import posthoganalytics

@daibhin daibhin requested review from oliverb123 and pauldambra June 9, 2025 18:14
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh this script is really testing my patience this week

Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@daibhin daibhin merged commit bf0d7ef into master Jun 9, 2025
6 checks passed
@daibhin daibhin deleted the dn-fix/posthog-swapping branch June 9, 2025 18:20
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Fixed critical import handling in posthoganalytics package by updating the Makefile's release_analytics target to properly handle direct import posthog statements.

  • Added new sed replacement commands in Makefile to handle plain import posthog -> import posthoganalytics conversion
  • Version bumped from 4.6.0 to 4.6.1 in posthog/version.py for this bugfix
  • Updated CHANGELOG.md to document fix for posthoganalytics package import issue

3 files reviewed, no comments
Edit PR Review Bot Settings | Greptile

@daibhin daibhin mentioned this pull request Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants