Skip to content

Support UUIDv6, UUIDv7, and UUIDv8 from RFC 9562 #89083

Closed

Description

@stevesimmons
BPO 44920
Nosy @serhiy-storchaka, @loganasherjones, @stevesimmons

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2021-08-15.17:26:05.956>
labels = ['type-feature', 'library', '3.11']
title = 'Support UUIDv6, UUIDv7, and UUIDv8 from the new version of RFC4122'
updated_at = <Date 2021-08-17.00:36:53.563>
user = 'https://github.com/stevesimmons'

bugs.python.org fields:

activity = <Date 2021-08-17.00:36:53.563>
actor = 'loganasherjones'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-08-15.17:26:05.956>
creator = 'stevesimmons'
dependencies = []
files = []
hgrepos = []
issue_num = 44920
keywords = []
message_count = 2.0
messages = ['399624', '399647']
nosy_count = 3.0
nosy_names = ['serhiy.storchaka', 'loganasherjones', 'stevesimmons']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue44920'
versions = ['Python 3.11']

Linked PRs

Related

Activity

  1. stevesimmons commented on Aug 15, 2021

    stevesimmonsmannequin
    MannequinAuthor

    Three new types of UUIDs have been proposed in the latest draft of the next version of RFC4122. Full text of that draft is in [1] (published 21 April 2021; draft period ends 21 Oct 2021).

    Support for these should be included in uuid.py for Python 3.11, with backport for 3.9 and 3.10. The timetable for Python 3.11 should fit with the end of the IETF draft period.

    Implementation should be similar to the existing UUID classes in uuid.py, the prototypes in [2], or even parts of my own uuid6 version [3].

    [1] https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format
    [2] https://github.com/uuid6/prototypes/tree/main/python
    [3] https://github.com/stevesimmons/pyuuid6/blob/main/uuid6.py

  2. added
    3.11only security fixes
    stdlibStandard Library Python modules in the Lib/ directory
    type-featureA feature request or enhancement
    on Aug 15, 2021
  3. serhiy-storchaka commented on Aug 16, 2021

    @serhiy-storchaka
    Member

    It is a new feature, and we usually do not backport new features to old Python versions, so it can only be included in Python 3.11 (backports can be provided by third-party libraries). Do you want to create a PR?

  4. transferred this issue fromon Apr 10, 2022
  5. freundTech commented on Sep 8, 2022

    @freundTech
    Contributor

    Is there anyone currently working on this?

    If not I'd like to have a look at implementing this.

  6. added
    3.12only security fixes
    and removed
    3.11only security fixes
    on Sep 8, 2022
  7. ambv commented on Oct 15, 2023

    @ambv
    Contributor

    Note: the spec for UUIDv5 - UUIDv8 is still a draft, it's still being revised:
    https://datatracker.ietf.org/doc/html/draft-ietf-uuidrev-rfc4122bis

    Therefore, it is too early to add this to the Python standard library.

  8. added
    3.13only security fixes
    and removed
    3.12only security fixes
    on Jan 5, 2024
  9. 62 remaining items

  10. vstinner commented on Mar 4, 2025

    @vstinner
    Member

    I suggest to open a new issue for your feature request.

  11. added a commit that references this issue on Jun 20, 2025
  12. added a commit that references this issue on Jun 20, 2025
  13. added a commit that references this issue on Jun 20, 2025
  14. added a commit that references this issue on Jul 12, 2025
  15. added a commit that references this issue on Jul 12, 2025
  16. added a commit that references this issue on Jul 12, 2025
  17. added 2 commits that reference this issue on Jul 12, 2025
  18. added a commit that references this issue on Jul 13, 2025
  19. added 2 commits that reference this issue on Aug 4, 2025
  20. added 2 commits that reference this issue on Aug 19, 2025
  21. added a commit that references this issue on Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions