Skip to content

Flower (flwr) compatibility with Python 3.14 #11

Description

@Sahilbhatane

Description:
Flower federated learning library has compatibility issues with Python 3.14 due to protobuf metaclass issues.

Error:

TypeError: Metaclasses with custom tp_new are not supported.

Workaround:

  • Use Python 3.11 or 3.12 for full Flower networking support
  • The simulation functions (simulate_federated_maml, simulate_fedavg, etc.) work without actual Flower networking

Long-term Fix:
Wait for protobuf and Flower to add Python 3.14 support, or contribute upstream patches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions