GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add support for Python 3.15 · Issue #13173 · pydantic/pydantic

Add support for Python 3.15 #13173

New issue
Copy link
New issue
Copy link
Closed
Closed
Add support for Python 3.15#13173
Copy link
Assignees
Viicos
Labels
feature request

Description

@Viicos
Viicos
opened on May 11, 2026
Issue body actions
  • Update to a yet-to-be-released PyO3 version adding 3.15 support (Python 3.15b1 ABI support PyO3/pyo3#6014): Update to PyO3 0.29 #13301
  • Update MISSING sentinel to reflect the latest implementation. Should we wait for mypy to support it before making it non-experimental?
    • Stabilize MISSING sentinel #13782
  • Add support for lazy imports (will require work to catch errors when accessing sys.modules).
    • Add support for lazy imports #13776
  • Add support for frozendict type.
    • Add initial support: Add support for frozendict type #13634
    • Use Add support for PyFrozenDict PyO3/pyo3#6174 once we bump PyO3 to 0.30. Bump PyO3 to 0.30.1, jiter to 0.18.0, use PyFrozenDict #14003
  • Investigate if we need to do anything related to frame pointers.
    • Explicitly enable frame pointers #13896
  • Use TypeForm whenever possible (in TypeAdapter, but also in several other places), once mypy and pyright supports it.
    • Add support for TypeForm #13459
  • Investigate test_base64url[Base64UrlBytes-bytes-alphabet-vanilla] throws a warning with Python 3.15 #12778 and related changes to the base64 module.
    Done in Add initial support for Python 3.15 #13587.
Reacted by Hugo van Kemenade, Edgar Ramírez Mondragón, sh-at-cs, Paulo Vital, Serhii Babak, Sanghun Lee, Colin Gravill and Andreas Olsson

Activity

  1. Viicos
    self-assigned this
    on May 11, 2026
  2. Viicos
    added
    feature request
    on May 11, 2026
  3. Viicos
    pinned this issue on May 11, 2026
  4. pavelzw commented on May 19, 2026

    @pavelzw
    pavelzw
    on May 19, 2026
    More actions

    have there been thoughts about using the abi3 feature of pyo3? this would give you python 3.15 (and its successors) for free with no migration period

    Reacted by sh-at-cs
  5. Viicos commented on May 19, 2026

    @Viicos
    Viicos
    on May 19, 2026
    MemberAuthor
    More actions

    cc @davidhewitt, we currently use a bunch of cfg flags, not sure how easy we could migrate off of it?

  6. davidhewitt commented on May 20, 2026

    @davidhewitt
    davidhewitt
    on May 20, 2026
    Contributor
    More actions

    With a bit of effort we could probably support building under abi3. I would quite like to do this for the long tail of tier 2 platforms where it's expensive for us to produce builds for each Python version anyway.

    Reacted by sh-at-cs
    Reacted by Pavel Zwerschke, sh-at-cs, Colin Gravill and Edgar Ramírez Mondragón
  7. edgarrmondragon
    added 3 commits that reference this issue on Jun 25, 2026

    Use pydantic `MISSING` sentinel to mark optional but non-nullable fields

    a51faf8

    Use pydantic `MISSING` sentinel to mark optional but non-nullable fields

    8bfe02f

    Use pydantic `MISSING` sentinel to mark optional but non-nullable fields

    96f2399
  8. gh-worker-dd-mergequeue-cf854d
    added a commit that references this issue on Aug 26, 2026

    test(appsec): enable appsec_integrations_fastapi on Python 3.15 (#19853)

    6ba690d
  9. pavelzw commented on Aug 26, 2026

    @pavelzw
    pavelzw
    on Aug 26, 2026
    More actions

    i moved the discussion about abi3 into #13715

    Reacted by Edgar Ramírez Mondragón
  10. honglei commented on Aug 29, 2026

    @honglei
    honglei
    on Aug 29, 2026
    More actions

    add support for Python3.15t ?

  11. Viicos commented on Aug 29, 2026

    @Viicos
    Viicos
    on Aug 29, 2026
    MemberAuthor
    More actions

    add support for Python3.15t ?

    It is already the case since 2.14.0b1 (https://pypi.org/project/pydantic_core/2.48.0/#files)

  12. honglei commented on Aug 29, 2026

    @honglei
    honglei
    on Aug 29, 2026
    More actions

    No, pydantic v2.13.5 refer to 'pydantic-core==2.46.5', not https://pypi.org/project/pydantic_core/2.48.0/#files. pypi user won't get python3.15t version.

    It is already the case since 2.14.0b1 (https://pypi.org/project/pydantic_core/2.48.0/#files)

  13. Viicos commented on Aug 29, 2026

    @Viicos
    Viicos
    on Aug 29, 2026
    MemberAuthor
    More actions

    I did not mention 2.13 at all, 3.15t wheels are coming in the next 2.14 version.

    Reacted by Honglei
  14. valentinlineiro
    added a commit that references this issue on Sep 1, 2026

    fix: give a clear error when settings TOML fails to parse (pavelzw#104)

    d8da642
  15. sentrivana
    added a commit that references this issue on Sep 2, 2026

    feat: Add Python 3.15 to test matrix (#7326)

    662b424
  16. Viicos commented on Oct 5, 2026

    @Viicos
    Viicos
    on Oct 5, 2026
    MemberAuthor
    More actions

    3.15 support is now complete. 2.14 should be released Wednesday.

    Reacted by sh-at-cs, Andreas Olsson and Hugo van Kemenade
    Reacted by sh-at-cs and Hugo van Kemenade
    Reacted by sh-at-cs, Edgar Ramírez Mondragón, Nikita Karamov, Pavel Zwerschke and Hugo van Kemenade
    Reacted by sh-at-cs, Phillip Verheyden, Edgar Ramírez Mondragón, Pavel Zwerschke and Hugo van Kemenade
  17. Viicos
    closed this as completedon Oct 5, 2026
  18. Viicos
    unpinned this issue on Oct 5, 2026
  19. Bernardoow commented on Oct 21, 2026

    @Bernardoow
    Bernardoow
    on Oct 21, 2026
    More actions

    Hi @Viicos !! Good Morning !!

    Thanks for the Python 3.15 support!

    Are there any plans to support Python 3.15 in Pydantic v1 as well, or is support for new Python versions now limited to Pydantic v2?

  20. Viicos commented on Oct 21, 2026

    @Viicos
    Viicos
    on Oct 21, 2026
    MemberAuthor
    More actions

    Hi @Bernardoow,

    Pydantic V1 won't receive any update for 3.15 support, and we are planning on announcing full end of support soon.

    Reacted by Bernardo Gomes
  21. Bernardoow commented on Oct 21, 2026

    @Bernardoow
    Bernardoow
    on Oct 21, 2026
    More actions

    29. Hi @Bernardoow,
    Pydantic V1 won't receive any update for 3.15 support, and we are planning on announcing full end of support soon.

    Hi @Viicos, thanks for the quick response! You're so fast!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Viicos
    Viicos

Labels

feature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402792 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.