:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(async-migrations): skip non-required migrations in version check (#61801)
mendral-app[bot]03adae88f61d
diff --git a/posthog/async_migrations/setup.py b/posthog/async_migrations/setup.pyindex 9867452daf64..b0c547afa79b 100644--- a/posthog/async_migrations/setup.py+++ b/posthog/async_migrations/setup.py@@ -50,6 +50,7 @@ def setup_async_migrations(ignore_posthog_version: bool = False):(not ignore_posthog_version)and (migration_name in unapplied_migrations)and (FROZEN_POSTHOG_VERSION > Version(migration.posthog_max_version))+ and migration.is_required()):raise ImproperlyConfigured(f"Migration {migration_name} is required for PostHog versions above {FROZEN_POSTHOG_VERSION}."