Bug 830520

Summary: Requires python-wtforms ?
Product: [Fedora] Fedora Reporter: Pierre-YvesChibon <pingou>
Component: python-flask-wtfAssignee: Praveen Kumar <kumarpraveen.nitdgp>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: kumarpraveen.nitdgp, metherid, pj.pandit
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 15:55:23 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 2012-06-10 10:40:43 UTC
I found using Flask's form that there is apparently a dependency to python-wtforms which isn't satisfy by the rpm.

Could you adjust the Requires ?

Thanks

Comment 1 Praveen Kumar 2012-06-11 02:55:24 UTC
you mean python-flask is a dependency for python-wtforms or vice versa? Because I own only python-wtforms and able to made changes but python-flask is owned by someone else.

Comment 2 Pierre-YvesChibon 2012-06-11 05:41:10 UTC
I meant python-flask-wtf should require python-wtform that's why I reported this against python-flask-wtf.

Thanks

Comment 3 Praveen Kumar 2012-06-20 12:58:09 UTC
Hi, sorry for late response, was busy with day work.
I updated spec and built it on koji, please check below rpm, if it is working as expected then will update to package database. By the way python-wtform was already their in spec, it also provide runtime dependency.

koji build : http://koji.fedoraproject.org/koji/taskinfo?taskID=4179625

Comment 4 Pierre-YvesChibon 2012-07-03 18:24:28 UTC
What shall I test?

Without python-wtforms, the following fails, with python-wtforms it does not:
 from flaskext.wtf import Form, TextField

The error comes from:
from wtforms.fields import BooleanField, DecimalField, DateField, \
    DateTimeField, FieldList, FloatField, FormField, \
    HiddenField, IntegerField, PasswordField, RadioField, SelectField, \
    SelectMultipleField, SubmitField, TextField, TextAreaField

on /usr/lib/python2.7/site-packages/flaskext/wtf/__init__.py

Just adding the Requires: python-wtforms should fix this.

Comment 5 Fedora Update System 2012-07-04 02:56:30 UTC
python-flask-wtf-0.5.2-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-flask-wtf-0.5.2-3.fc17

Comment 6 Fedora Update System 2012-07-04 16:36:17 UTC
python-flask-wtf-0.5.2-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/python-flask-wtf-0.5.2-3.fc16

Comment 7 Fedora Update System 2012-07-05 23:32:00 UTC
Package python-flask-wtf-0.5.2-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-flask-wtf-0.5.2-3.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-10261/python-flask-wtf-0.5.2-3.fc16
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2012-12-20 15:55:25 UTC
Package python-flask-wtf-0.5.2-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-flask-wtf-0.5.2-3.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-10261/python-flask-wtf-0.5.2-3.fc16
then log in and leave karma (feedback).