According to the upstream documentation, compatibility for wtforms>=2.0 was not added to Flask_WTF until after the 0.9.5 release - 0.10.0 was the first release to support wtforms>=2.0.
That being said, the current versions of the two packages in fedora (19, 20, 21, rawhide) are:
When I attempt to run an application using python-flask-wtf and python-wtforms using the above versions, I get:
pkg_resources.VersionConflict: (WTForms 2.0 (/usr/lib/python2.7/site-packages), Requirement.parse('WTForms>=1.0.5,<2.0'))
These should not have been built and pushed together. The only reason that the build succeeded is that python-wtforms-2.0-1 was not in stable at the time that python-flask-wtf-0.9.5-1 was built.
Since both builds have been pushed to stable for all fedora releases, I don't see a way out of this but to upgrade python-flask-wtf to 0.10.0 which was released 2 days ago. There don't appear to be any API changes that weren't introduced with 0.9.5, so the breakage risk should be rather low.
(In reply to Tim Flink from comment #0)
> These should not have been built and pushed together. The only reason that
> the build succeeded is that python-wtforms-2.0-1 was not in stable at the
> time that python-flask-wtf-0.9.5-1 was built.
This isn't quite right - it couldn't have been caught at build time because there is no %check. I've updated the specfile in git and have submitted new builds. There will be updates for the new builds shortly.
python-flask-wtf-0.10.0-2.fc20 has been submitted as an update for Fedora 20.
python-flask-wtf-0.10.0-3.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 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.10.0-3.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-flask-wtf-0.10.0-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
python-flask-wtf-0.10.0-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.