From 34b1d2bc37dc702a2b1f0e4e45a91c19ef396dbd Mon Sep 17 00:00:00 2001 From: Tyler Roach Date: Tue, 21 Jul 2026 13:46:06 -0400 Subject: [PATCH] chore(openfeature): pin mixpanel >=5.3.0,<6 for FallbackReason (SDK-126) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The openfeature-provider now dereferences `SelectedVariant.fallback_reason` (added in SDK-79 / #180). The published mixpanel versions in the current range (`>=5.1.0,<6` — v5.1.0 and v5.2.0) both predate SDK-79 and do NOT expose that attribute; installing this provider against either raises `AttributeError` from `_fallback_details`. Bump the floor to `>=5.3.0` (the next unreleased minor). CI will fail until mixpanel 5.3.0 is published with the SDK-79 changes — that failure is the point: it forces the correct release sequencing so this wrapper cannot ship against a base version that lacks the field it uses. Also bump the wrapper version 0.1.0 -> 0.2.0 since fallback-reason wrapping is a new capability surface. Co-Authored-By: Claude Opus 4.7 --- openfeature-provider/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openfeature-provider/pyproject.toml b/openfeature-provider/pyproject.toml index 771c0d9..ff548c3 100644 --- a/openfeature-provider/pyproject.toml +++ b/openfeature-provider/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "mixpanel-openfeature" -version = "0.1.0" +version = "0.2.0" description = "OpenFeature provider for the Mixpanel Python SDK" license = "Apache-2.0" authors = [ @@ -12,7 +12,7 @@ authors = [ ] requires-python = ">=3.9" dependencies = [ - "mixpanel>=5.1.0,<6", + "mixpanel>=5.3.0,<6", "openfeature-sdk>=0.7.0", ]