Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485026 - >=dev-python/flask-wtf-0.9.1 - Works with python-3.3.
Summary: >=dev-python/flask-wtf-0.9.1 - Works with python-3.3.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 485018 485020 485024
Blocks:
  Show dependency tree
 
Reported: 2013-09-15 17:28 UTC by René 'Necoro' Neumann
Modified: 2016-05-04 09:07 UTC (History)
0 users

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


Attachments
flask-wtf-0.9.1.ebuild.patch (file_485026.txt,613 bytes, patch)
2013-09-15 19:44 UTC, Tom Wijsman (TomWij) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2013-09-15 17:28:59 UTC
The latest flask-wtf works fine with python-3.3, given the following things are done:

- dev-python/speaklater patched for py3 (bug #480520)
- dev-python/flask-babel declares py3-support (bug #485024)
- dev-python/wtforms bumped to 1.0.5 (bug #485018)
- dep on flask-testing and flask-uploads is removed (because they are not needed)

--- /usr/portage/dev-python/flask-wtf/flask-wtf-0.9.1.ebuild	2013-09-02 06:51:02.000000000 +0200
+++ flask-wtf-0.9.1.ebuild	2013-09-15 19:28:16.948898748 +0200
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/dev-python/flask-wtf/flask-wtf-0.9.1.ebuild,v 1.1 2013/09/02 04:51:02 patrick Exp $
 
 EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_COMPAT=( python{2_6,2_7,3_3} )
 
 inherit distutils-r1
 
@@ -25,8 +25,6 @@
 	dev-python/setuptools[${PYTHON_USEDEP}]
 	test? (
 		dev-python/nose[${PYTHON_USEDEP}]
-		dev-python/flask-testing[${PYTHON_USEDEP}]
-		dev-python/flask-uploads[${PYTHON_USEDEP}]
 		dev-python/speaklater[${PYTHON_USEDEP}]
 		dev-python/flask-babel[${PYTHON_USEDEP}]
 	)"
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-15 19:44:12 UTC
Created attachment 358730 [details, diff]
flask-wtf-0.9.1.ebuild.patch

Attached reporter's patch.
Comment 2 René 'Necoro' Neumann 2013-09-30 17:36:41 UTC
flask-wtf got bumped to 0.9.2 by patrick. Bug (and patch) still applies :)
Comment 3 Guillaume Ayoub 2014-12-04 17:48:10 UTC
It now works with 3.4 too. Any news about this really easy fix?
Comment 4 Louis Sautier (sbraz) gentoo-dev 2016-05-04 09:07:48 UTC
commit 734e78442c691ff86afaf9b8016a82816d9f2b2c
Author: Louis Sautier <sautier.louis@gmail.com>
Date:   Sun Apr 17 20:40:50 2016 +0200

    dev-python/flask-wtf: add python 3 support, fix tests, trim description
    
    Package-Manager: portage-2.2.28
    Closes: https://github.com/gentoo/gentoo/pull/1293
    
    Signed-off-by: Ian Delaney <idella4@gentoo.org>