Skip to content

Request to Relax Python Version Constraint #286

@camillelaine

Description

@camillelaine

Problem

The latest version of dash-leaflet on PyPI specifies: requires-python = ">=3.12"

This constraint is too restrictive and currently prevents usage in many environments where Python 3.11 is the standard (especially in enterprise setups with standardized Python environments and where upgrading to a newer Python version is a costly process).

As a result, users are unable to install the latest version of dash-leaflet and are stuck on older releases (e.g. v1.0.15), which are not compatible with Dash 3.x (e.g. LayersControl causes props undefined errors).

This creates a forced trade-off:

  • Either use Dash 3.0 and lose some functionnalities of dash-leaflet
  • Or downgrade to Dash 2.x and lose access to newer Dash features

Why This Matters

  • Python 3.11 is officially supported until October 2027
  • Dash 3.1 is compatible with Python ≥3.8
  • Dash-leaflet’s latest code seems otherwise compatible with 3.11 (to be verified)

There is no known reason to restrict usage to 3.12+ at the package level unless required by compiled dependencies.

Suggestion

Please update pyproject.toml to: requires-python='>=3.11'

This will immediately allow many developers to benefit from bug fixes (especially Dash 3.x compatibility) without waiting to migrate full environments to Python 3.12.

Thank you !

PS : Thank you for your continued work on this library — it's a critical bridge between Dash and Leaflet, and we'd love to keep using it in modern setups!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions