| Summary: | dev-python/flask-wtf: version bump to fix problem with werkzeug-1.0.0 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | pva <peter.volkov> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | xp.vit.blr |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://github.com/lepture/flask-wtf/releases | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
This is similar to #708714. Added to the tree with: https://github.com/gentoo/gentoo/commit/232c62ee3d4a2ec0dc4262a4c8abbf4ec58bb9cd *** Bug 720756 has been marked as a duplicate of this bug. *** |
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.