Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
giampaolo opened this issue Jan 21, 2008 · 6 comments
Closed

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

giampaolo opened this issue Jan 21, 2008 · 6 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@giampaolo
Copy link
Contributor

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']

    @giampaolo
    Copy link
    Contributor Author

    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.

    @giampaolo giampaolo added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Jan 21, 2008
    @giampaolo
    Copy link
    Contributor Author

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

    @tiran
    Copy link
    Member

    tiran commented Jan 22, 2008

    No need to keep two buss open.

    @tiran tiran closed this as completed Jan 22, 2008
    @techtonik
    Copy link
    Mannequin

    techtonik mannequin commented Dec 26, 2008

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

    I attach patch from Giampaolo here.

    @tarekziade tarekziade mannequin reopened this Dec 27, 2008
    @tarekziade tarekziade mannequin self-assigned this Dec 27, 2008
    @tarekziade
    Copy link
    Mannequin

    tarekziade mannequin commented Jan 25, 2009

    fixed in r68951 in trunk.

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

    @tarekziade
    Copy link
    Mannequin

    tarekziade mannequin commented Jan 26, 2009

    done (in r68969 for py3k branch)

    @tarekziade tarekziade mannequin closed this as completed Jan 26, 2009
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants