Skip to content

[distutils] - error when processing the "--formats=tar" option #46193

Closed

Description

@giampaolo
BPO 1885
Nosy @giampaolo, @tiran, @tarekziade
Superseder
  • bpo-1886: Permit to easily use distutils "--formats=tar,gztar,bztar" on all systems
  • Files
  • issue1885.tar.removed.fix.diff: patch
  • 1885.patch
  • 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 = 'https://github.com/tarekziade'
    closed_at = <Date 2009-01-26.17:26:02.472>
    created_at = <Date 2008-01-21.20:43:30.619>
    labels = ['type-bug', 'library']
    title = '[distutils] - error when processing the "--formats=tar" option'
    updated_at = <Date 2009-01-26.17:26:02.471>
    user = 'https://github.com/giampaolo'

    bugs.python.org fields:

    activity = <Date 2009-01-26.17:26:02.471>
    actor = 'tarek'
    assignee = 'tarek'
    closed = True
    closed_date = <Date 2009-01-26.17:26:02.472>
    closer = 'tarek'
    components = ['Distutils']
    creation = <Date 2008-01-21.20:43:30.619>
    creator = 'giampaolo.rodola'
    dependencies = []
    files = ['12455', '12473']
    hgrepos = []
    issue_num = 1885
    keywords = ['patch']
    message_count = 6.0
    messages = ['61445', '61452', '61472', '78299', '80548', '80581']
    nosy_count = 4.0
    nosy_names = ['techtonik', 'giampaolo.rodola', 'christian.heimes', 'tarek']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '1886'
    type = 'behavior'
    url = 'https://bugs.python.org/issue1885'
    versions = ['Python 2.6', 'Python 3.0', 'Python 3.1', 'Python 2.7']

    Activity

    1. giampaolo commented on Jan 21, 2008

      @giampaolo
      ContributorAuthor

      Steps to reproduce the problem:
      1: Run "python setup.py sdist --formats=gztar,tar".
      2. dist directory now contains "module.gztar" and "module.tar" files
      as expected.
      3: Run "python setup.py sdist --formats=tar,gztar".
      4. dist directory now contains only "module.gztar" file.

      Reason:
      Since for every argument specified in "--formats" option a new .tar file
      is created every time by using the UNIX tar utility, the .tar file is
      removed/overwritten when creating subsequent archives.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-bugAn unexpected behavior, bug, or error
      on Jan 21, 2008
    3. giampaolo commented on Jan 21, 2008

      @giampaolo
      ContributorAuthor

      I provided a patch here: http://bugs.python.org/issue1886

    4. tiran commented on Jan 22, 2008

      @tiran
      Member

      No need to keep two buss open.

    5. techtonik commented on Dec 26, 2008

      techtonikmannequin
      Mannequin

      Please reopen this bug. issue#1886 is different it take a long time
      until it is committed.

      I attach patch from Giampaolo here.

    6. self-assigned this
      on Dec 27, 2008
    7. tarekziade commented on Jan 25, 2009

      tarekziademannequin
      Mannequin

      fixed in r68951 in trunk.

      I will propagate the change into 2.6/3.0/3.1 tomorrow.

    8. tarekziade commented on Jan 26, 2009

      tarekziademannequin
      Mannequin

      done (in r68969 for py3k branch)

    9. transferred this issue fromon Apr 10, 2022
    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-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions