FAQ
Hi all -


I was asked to draw attention to this sourceforge issue, detailing a blocking 500 error that is preventing me from releasing SQLAlchemy 0.7.9:


https://sourceforge.net/tracker/index.php?funcÞtail&aid573564&group_idf150&atidQ3503


if anyone has insight on this issue, let me know. Thanks !


- mike

Search Discussions

  • Richard Jones at Oct 2, 2012 at 12:47 am

    On 2 October 2012 09:31, Michael Bayer wrote:
    I was asked to draw attention to this sourceforge issue, detailing a blocking 500 error that is preventing me from releasing SQLAlchemy 0.7.9:

    https://sourceforge.net/tracker/index.php?funcÞtail&aid573564&group_idf150&atidQ3503

    if anyone has insight on this issue, let me know. Thanks !

    I've fixed the problem. It was related to my recent switch to using
    the new distutils2 version comparison code over the older distutils
    code:

    from distutils.version import LooseVersion as V
    sorted([V('1.0'), V('1.0a1'), V('1.1'), V('1.1rc1')])
    [LooseVersion ('1.0'), LooseVersion ('1.0a1'), LooseVersion ('1.1'),
    LooseVersion ('1.1rc1')]

    from distutils2.version import NormalizedVersion as V
    sorted([V('1.0'), V('1.0a1'), V('1.1'), V('1.1rc1')])
    [NormalizedVersion('1.0a1'), NormalizedVersion('1.0'),
    NormalizedVersion('1.1rc1'), NormalizedVersion('1.1')]


    Anyhoo, it seems there's a bug in the handling of versions including
    "post" like "1.0.1.post1" where the str()ification of the
    NormalizedVersion would add on an extra ".z" on the end (a by-product
    of the sorting mechanism.)


    I modified PyPI to work around the problem, and have now also filed a
    bug against distutils2 with a patch implementing a test and fix for
    the problem.




    Richard

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalog-sig @
categoriespython
postedOct 1, '12 at 11:31p
activeOct 2, '12 at 12:47a
posts2
users2
websitepython.org

2 users in discussion

Richard Jones: 1 post Michael Bayer: 1 post

People

Translate

site design / logo © 2019 Grokbase