8000 fix: makefile import by daibhin · Pull Request #254 · PostHog/posthog-python · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: makefile import #254

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

Merged
merged 1 commit into from
Jun 9, 2025
Merged

fix: makefile import #254

merged 1 commit into from
Jun 9, 2025

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 pauldambra and oliverb123 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.

2 participants
0