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 fails with mingw binutils 2.18.50.20080109 #47746

Closed
pfmoore opened this issue Aug 3, 2008 · 3 comments
Closed

distutils fails with mingw binutils 2.18.50.20080109 #47746

pfmoore opened this issue Aug 3, 2008 · 3 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@pfmoore
Copy link
Member

pfmoore commented Aug 3, 2008

BPO 3496
Nosy @pfmoore, @amauryfa, @benjaminp
Files
  • distutils.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/amauryfa'
    closed_at = <Date 2008-08-18.19:26:42.524>
    created_at = <Date 2008-08-03.16:12:55.631>
    labels = ['type-bug', 'library']
    title = 'distutils fails with mingw binutils 2.18.50.20080109'
    updated_at = <Date 2008-08-18.19:26:42.523>
    user = 'https://github.com/pfmoore'

    bugs.python.org fields:

    activity = <Date 2008-08-18.19:26:42.523>
    actor = 'amaury.forgeotdarc'
    assignee = 'amaury.forgeotdarc'
    closed = True
    closed_date = <Date 2008-08-18.19:26:42.524>
    closer = 'amaury.forgeotdarc'
    components = ['Distutils']
    creation = <Date 2008-08-03.16:12:55.631>
    creator = 'paul.moore'
    dependencies = []
    files = ['11043']
    hgrepos = []
    issue_num = 3496
    keywords = ['patch']
    message_count = 3.0
    messages = ['70655', '71337', '71363']
    nosy_count = 3.0
    nosy_names = ['paul.moore', 'amaury.forgeotdarc', 'benjamin.peterson']
    pr_nums = []
    priority = 'critical'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3496'
    versions = ['Python 2.6', 'Python 2.5', 'Python 3.0']

    @pfmoore
    Copy link
    Member Author

    pfmoore commented Aug 3, 2008

    The latest version of Mingw binutils, 2.18.50.20080109, uses a 4-part
    version number which distutils does not like (StrictVersion only allows
    for 3 parts).

    The attached patch fixes this, simply by using LooseVersion (the version
    number has already been checked to be a series of numbers in the regex
    check just previous).

    Can this be fixed for 2.6/3.0, as it is likely that the new binutils
    will become common while these versions of Python are current?

    @pfmoore pfmoore added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Aug 3, 2008
    @amauryfa amauryfa self-assigned this Aug 18, 2008
    @benjaminp
    Copy link
    Contributor

    Amaury, if you are going to look at this you might want to see bpo-2234.

    @amauryfa
    Copy link
    Member

    Yes, this problem is a duplicate of bpo-2234, for which I had a very
    similar fix.
    Thanks!

    @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

    3 participants