Skip to content

Python 3.14 compatibility issue with pydantic-core dependency #65

@bolinocroustibat

Description

@bolinocroustibat

Problem

Python 3.14 is not supported due to a dependency chain incompatibility:

  • django-shinobi depends on pydantic (v2.11.7)
  • pydantic depends on pydantic-core (v2.33.2)
  • pydantic-core uses PyO3 v0.24.1, which only supports up to Python 3.13

Error:

error: the configured Python interpreter version (3.14) is newer than PyO3's maximum supported version (3.13)

Expected behavior

django-shinobi should work with Python 3.14 (as specified in the pyproject.toml : requires-python = ">=3.8").

Workaround

Setting PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 may allow building, but this is not a reliable solution.

Request

Update pydantic dependency to a version that supports Python 3.14, or document the limitation in the pyproject.toml with requires-python = ">=3.8,<3.14" until upstream support is available.

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