Skip to content

Update annotation parsing to work with PEP 649 in Python 3.14 #651

Closed

Description

@jcrist

It looks like accessing __annotations__ is likely to change in Python 3.13 3.14.

References:

AFAICT none of this has actually landed in the cpython git repo yet - if/once it does we can start evaluating what changes are needed here.

Activity

  1. changed the title [-]Update annotation parsing to work with PEP 649 in Python 3.13[/-] [+]Update annotation parsing to work with PEP 649 in Python 3.14[/+] on Oct 13, 2024
  2. added a commit that references this issue on May 26, 2025
    89ecb0b
  3. added 2 commits that reference this issue on Sep 12, 2025
    7a4f426
    a7f4bc4
  4. return42 commented on Oct 8, 2025

    @return42

    It looks like accessing annotations is likely to change in Python 3.14.

    @jcrist python 3.14 has been released .. and as you expected, msgspec do not work in Python 3.14 .. can you please review #852 from @JelleZijlstra / thanks!

    Related:

  5. ofek commented on Nov 24, 2025

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions