Created attachment 754471 [details]
Patch to fix /usr/bin/alembic in EL6
Description of problem:
The current version of alembic in epel6 requires SQLAchemy>=6 while the default version provided is 0.5.5
This means that the script /usr/bin/alembic crashes everytime it's called.
The attached patch insert a sed command to change the line 3 of /usr/bin/alembic from:
> __requires__ = 'alembic==0.4.2'
> __requires__ = ['alembic==0.4.2', 'SQLAlchemy >= 0.7']
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run alembic -h on el6
Traceback (most recent call last):
alembic.util.CommandError: SQLAlchemy 0.6 or greater is required. Version 0.7 or above required for full featureset.
python-alembic-0.4.2-2.el6 has been submitted as an update for Fedora EPEL 6.
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing python-alembic-0.4.2-2.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-alembic-0.4.2-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.