Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710856 - dev-python/flask-wtf: version bump to fix problem with werkzeug-1.0.0
Summary: dev-python/flask-wtf: version bump to fix problem with werkzeug-1.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://github.com/lepture/flask-wtf/...
Whiteboard:
Keywords:
: 720756 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-26 10:53 UTC by pva
Modified: 2020-10-11 15:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pva 2020-02-26 10:53:18 UTC
dev-python/flask-wtf-0.14.2 fails with werkzeug-1.0.0 with the error:

  File "/usr/lib/python3.7/site-packages/flask_wtf/__init__.py", line 17, in <module>
    from .recaptcha import *
  File "/usr/lib/python3.7/site-packages/flask_wtf/recaptcha/__init__.py", line 2, in <module>
    from .fields import *
  File "/usr/lib/python3.7/site-packages/flask_wtf/recaptcha/fields.py", line 3, in <module>
    from . import widgets
  File "/usr/lib/python3.7/site-packages/flask_wtf/recaptcha/widgets.py", line 5, in <module>
    from werkzeug import url_encode
ImportError: cannot import name 'url_encode' from 'werkzeug' (/usr/lib/python3.7/site-packages/werkzeug/__init__.py)


This is fixed in 0.14.3. Simple cp flask-wtf-0.14.2-r1.ebuild flask-wtf-0.14.3.ebuild works.
Comment 1 pva 2020-02-26 10:54:15 UTC
This is similar to #708714.
Comment 2 Wim Muskee 2020-10-11 05:45:48 UTC
Added to the tree with: https://github.com/gentoo/gentoo/commit/232c62ee3d4a2ec0dc4262a4c8abbf4ec58bb9cd
Comment 3 Louis Sautier (sbraz) gentoo-dev 2020-10-11 15:31:57 UTC
*** Bug 720756 has been marked as a duplicate of this bug. ***