Bug 889189

Summary: FTBFS ... bad %if condition on RHEL > 6
Product: [Fedora] Fedora Reporter: Matěj Cepl <mcepl>
Component: python-migrateAssignee: Pádraig Brady <p>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: lmacken, mbacovsk, mcepl, pbrady, p, ricky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 890016 (view as bug list) Environment:
Last Closed: 2012-12-21 11:42:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
suggested patch none

Description Matěj Cepl 2012-12-20 13:15:26 UTC
Created attachment 666653 [details]
suggested patch

Build fails on RHEL-7, where we have python 2.7 so we don’t python-unittest2 anymore.

Comment 1 Pádraig Brady 2012-12-21 11:42:30 UTC
I applied the patch, but now the rawhide build fails with:

"from sqlalchemy import exceptions as sa_exceptions
ImportError: cannot import name exceptions"

So looks like the update to sqlalchemy 0.8.0 beta
is not compatible, so migrate will need updating too?

Given that RHEL7 is on python-sqlalchemy-0.7.8,
and the build works on F18 (python-sqlalchemy-0.7.9)
I'm marking this particular issue as done.

Comment 2 Matěj Cepl 2012-12-24 00:54:23 UTC
(In reply to comment #1)
> Given that RHEL7 is on python-sqlalchemy-0.7.8,
> and the build works on F18 (python-sqlalchemy-0.7.9)
> I'm marking this particular issue as done.

Shouldn't we at least make a clone of this bug for Rawhide (i.e., upgrade to the latest sqlalchemy-migrate when it is available)?

Comment 3 Pádraig Brady 2012-12-24 10:54:12 UTC
Was on my TODO list.
Created bug 890016 to track the sqlalchemy 0.8 incompat issue