Skip to content

Make shutil.make_archive have deterministic sorting #68653

@samthursfield

Description

@samthursfield
BPO 24465
Nosy @rhettinger, @gustaebel, @bitdancer
Dependencies
  • bpo-30693: tarfile add uses random order
  • Files
  • tar-reproducible-testcase.py: Testcase for stable tar ordering patch
  • tarfile-stable-ordering.patch: Patch to fix issue
  • make_archive-stable-ordering.patch: Patch to make shutil.make_archive(format='tar') determinstic, but not tar.add(recursive=True)
  • 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 2015-06-18.12:14:12.795>
    labels = ['type-feature', 'library']
    title = 'Make shutil.make_archive have deterministic sorting'
    updated_at = <Date 2017-06-18.22:09:51.534>
    user = 'https://bugs.python.org/samthursfield'

    bugs.python.org fields:

    activity = <Date 2017-06-18.22:09:51.534>
    actor = 'martin.panter'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-06-18.12:14:12.795>
    creator = 'samthursfield'
    dependencies = ['30693']
    files = ['39727', '39728', '39770']
    hgrepos = []
    issue_num = 24465
    keywords = ['patch']
    message_count = 9.0
    messages = ['245464', '245465', '245466', '245467', '245469', '245493', '245497', '245498', '245628']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'lars.gustaebel', 'r.david.murray', 'samthursfield']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue24465'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      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