Ticket #5330: 0001-Upgrade-sqlalchemy-and-sa-migrate.patch

File 0001-Upgrade-sqlalchemy-and-sa-migrate.patch, 1.1 KB (added by Boris Bobrov, 8 years ago)
  • setup.py

    From 3dbd83492bad0ad0d582f85bd167b03950de53ca Mon Sep 17 00:00:00 2001
    From: Boris Bobrov <breton@cynicmansion.ru>
    Date: Thu, 21 Jan 2016 22:26:39 +0300
    Subject: [PATCH] Upgrade sqlalchemy and sa-migrate
    
    Our versions were too old. And not compatible with python3.
    ---
     setup.py | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/setup.py b/setup.py
    index e8c4b03..c5e0f9a 100644
    a b if PY2:  
    4747    # newer sqlalchemy-migrate requires pbr which BREAKS EVERYTHING AND IS
    4848    # TERRIBLE AND IS THE END OF ALL THINGS
    4949    # I'd love to remove this restriction.
    50     pyversion_install_requires.append('sqlalchemy-migrate<0.8')
     50    pyversion_install_requires.append('sqlalchemy-migrate>=0.9.6')
    5151    # # Annoying.  Please remove once we can!  We only indirectly
    5252    # # use pbr, and currently it breaks things, presumably till
    5353    # # their next release.
    install_requires = [  
    7777    'WebTest>=2.0.18',
    7878    'ConfigObj',
    7979    'Markdown',
    80     'sqlalchemy<0.9.0, >0.8.0',
     80    'sqlalchemy<1.1.0, >0.9.9',
    8181    'itsdangerous',
    8282    'pytz',
    8383    'sphinx',