Bug 830520 - Requires python-wtforms ?
Summary: Requires python-wtforms ?
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-flask-wtf
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Praveen Kumar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-10 10:40 UTC by Pierre-YvesChibon
Modified: 2012-12-20 15:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-20 15:55:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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).


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