Bug 1092343

Summary: Lower the dependencies
Product: [Fedora] Fedora Reporter: Pierre-YvesChibon <pingou>
Component: python-flask-adminAssignee: Matej Stuchlik <mstuchli>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jberan, mstuchli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-flask-admin-1.0.8-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 05:27:53 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:

Description Pierre-YvesChibon 2014-04-29 06:42:17 UTC
At the moment installing python-flask-admin brings the whole list of binding for all possible backends. It would be nice not to have mongo installed when one wants to use flask-admin with SQLAlchemy (or vice-versa).

Issue reported upstream as well: https://github.com/mrjoes/flask-admin/issues/517

Comment 1 Pierre-YvesChibon 2014-04-29 08:39:19 UTC
So this is definitively a packaging issue, BuildRequires are marked as Requires while they should not.

The requires are pretty much only python-flask and python-wtforms.

I can provide a patch if you like.

Comment 2 Matej Stuchlik 2014-04-29 10:28:40 UTC
No need, but thanks for reporting, I'll look into it... :)

Comment 3 Matej Stuchlik 2014-04-30 11:51:54 UTC
Fixed, also updated the package to 1.0.8. Let me know how it looks. :)

Comment 4 Pierre-YvesChibon 2014-05-28 14:05:31 UTC
You should also update it on F20 as the 1.0.7 version is currently broken:

File "/usr/lib/python2.7/site-packages/flask_admin/form/upload.py", line 11, in <module>
    from wtforms.fields.core import _unset_value
ImportError: cannot import name _unset_value


It's missing the commit: https://github.com/mrjoes/flask-admin/commit/cd1763ba0070e0ab0746ca02e1b0d6df401d6b2c which is part of 1.0.8

Comment 5 Fedora Update System 2014-05-29 08:27:28 UTC
python-flask-admin-1.0.8-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-flask-admin-1.0.8-1.fc20

Comment 6 Fedora Update System 2014-05-29 23:27:48 UTC
Package python-flask-admin-1.0.8-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-flask-admin-1.0.8-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6864/python-flask-admin-1.0.8-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-06-13 05:27:53 UTC
python-flask-admin-1.0.8-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.