Bug 968404 - Fix /usr/bin/alembic on el6
Summary: Fix /usr/bin/alembic on el6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-alembic
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ralph Bean
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-29 16:38 UTC by Pierre-YvesChibon
Modified: 2013-06-14 22:26 UTC (History)
1 user (show)

Fixed In Version: python-alembic-0.4.2-2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-14 22:26:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to fix /usr/bin/alembic in EL6 (865 bytes, patch)
2013-05-29 16:38 UTC, Pierre-YvesChibon
no flags Details | Diff

Description Pierre-YvesChibon 2013-05-29 16:38:02 UTC
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'
to
> __requires__ = ['alembic==0.4.2', 'SQLAlchemy >= 0.7']


Version-Release number of selected component (if applicable):
python-alembic-0.4.2-1.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. run alembic -h on el6
2.
3.

Actual results:
Traceback (most recent call last):
[...]
alembic.util.CommandError: SQLAlchemy 0.6 or greater is required. Version 0.7 or above required for full featureset.

Comment 1 Fedora Update System 2013-05-29 19:09:34 UTC
python-alembic-0.4.2-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-alembic-0.4.2-2.el6

Comment 2 Fedora Update System 2013-05-30 00:02:03 UTC
Package python-alembic-0.4.2-2.el6:
* 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:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-6017/python-alembic-0.4.2-2.el6
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-06-14 22:26:54 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.