#3527 Ensure order_by within backref() receives a 'str' variable
Merged by pingou. Opened by pingou.
fix_sqlalchemy  into  master

Download 3527.patch

Otherwise, if it receives an unicode blob (which
from __future__ import unicode_literals at the top of the file
would lead to), sqlalchemy 0.9.8 which rhel7 has will not like it
and simply crash.

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

:thumbsup:

rebased onto 0f34127c4e2669947cd4c8f6509332c3bdbb8d34

You can't use order_by, as it's reserved, apparently:

13:32:59 ___________________________________ summary ____________________________________
13:32:59 ERROR:   py34-flask011-ci: commands failed
13:32:59 Failure: TypeError ('order_by' is an invalid keyword argument for this function) ... ERROR
13:32:59 Failure: TypeError ('order_by' is an invalid keyword argument for this function) ... ERROR
13:32:59 Failure: TypeError ('order_by' is an invalid keyword argument for this function) ... ERROR
13:32:59 Failure: TypeError ('order_by' is an invalid keyword argument for this function) ... ERROR
13:32:59 Failure: TypeError ('order_by' is an invalid keyword argument for this function) ... ERROR
13:32:59 

:thumbsup:

Pretty please pagure-ci rebuild

rebased onto 19daf33a042e7eac85ff77f3cfa57f140ded607f

rebased onto a8ce0572cd5dfe373f7e55fe8fb26be0e83d4729

rebased onto 666c318c693a0af81e0908c7f1f4c143e3dc791c

Pull-Request has been merged by pingou

Metadata