Skip to content

mixpanel can't be installed on Python 3.14 (pydantic<2.12 cap from #176) #183

Description

@nareksa

Labels: bug, dependencies

Problem

Installing mixpanel on Python 3.14 fails. PR #176 pinned pydantic<2.12, and that version has no prebuilt package for Python 3.14 — so pip tries to compile it from Rust source and fails.

How to reproduce

FROM python:3.14-slim                                                                                                                                                                                                                                                                                                           
RUN pip install "mixpanel~=5.1"                                                                                                                                                                                                                                                                                                 
Error:                                                                                                                                                                                                                                                                                                                          
ERROR: Failed building wheel for pydantic-core                                                                                                                                                                                                                                                                                  
maturin failed / could not compile pydantic-core          

Why

  • mixpanel 5.2.0 requires pydantic<2.12.
  • pydantic<2.12 uses pydantic-core 2.33, which has no wheel for Python 3.14.
  • No wheel → pip compiles from source → needs Rust/C tools that aren't in most images → fails.

PR #176 added the cap to keep PyPy 3.9 working — but the same cap now breaks Python 3.14.

Environment

  • Python 3.14, mixpanel 5.2.0, Linux/amd64

Workaround for now

pip install mixpanel==5.1.0 (no cap), or use Python 3.13.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions