Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-security/
Date: Sat, 23 Oct 2021 14:03:26
Message-Id: 1634997794.c385afcf821cd1510ea39abfb95fcf7a187d7ba4.arthurzam@gentoo
1 commit: c385afcf821cd1510ea39abfb95fcf7a187d7ba4
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 23 13:40:25 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 23 14:03:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c385afcf
7
8 dev-python/flask-security: enable py3.10
9
10 Based on [1], upstream recommend testing on py3.10 without pony.
11 When reviewing pony (to maybe bump), it is base on python's parser
12 module, which was removed on python 3.10 - meaning pony will need a
13 huge rewrite to work on python 3.10.
14
15 Test suite passes, while all tests depending on pony are just
16 auto skipped on python 3.10
17
18 [1] https://github.com/Flask-Middleware/flask-security/commit/5f85daf8ed029f0392c7019a4e6b948226a57c8f
19
20 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
21
22 dev-python/flask-security/flask-security-4.1.2.ebuild | 6 ++++--
23 1 file changed, 4 insertions(+), 2 deletions(-)
24
25 diff --git a/dev-python/flask-security/flask-security-4.1.2.ebuild b/dev-python/flask-security/flask-security-4.1.2.ebuild
26 index a3dce632dd5..7c01e12dd76 100644
27 --- a/dev-python/flask-security/flask-security-4.1.2.ebuild
28 +++ b/dev-python/flask-security/flask-security-4.1.2.ebuild
29 @@ -3,7 +3,7 @@
30
31 EAPI=8
32
33 -PYTHON_COMPAT=( python3_{8..9} )
34 +PYTHON_COMPAT=( python3_{8..10} )
35 inherit distutils-r1
36
37 DESCRIPTION="Simple security for Flask apps"
38 @@ -43,11 +43,13 @@ BDEPEND="
39 >=dev-python/mongomock-3.19.0[${PYTHON_USEDEP}]
40 >=dev-python/peewee-3.11.2[${PYTHON_USEDEP}]
41 >=dev-python/phonenumbers-8.11.1[${PYTHON_USEDEP}]
42 - >=dev-python/pony-0.7.11[${PYTHON_USEDEP}]
43 >=dev-python/psycopg-2.8.4:2[${PYTHON_USEDEP}]
44 >=dev-python/pymysql-0.9.3[${PYTHON_USEDEP}]
45 >=dev-python/pyqrcode-1.2[${PYTHON_USEDEP}]
46 >=dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
47 + $(python_gen_cond_dep '
48 + >=dev-python/pony-0.7.11[${PYTHON_USEDEP}]
49 + ' python3_8 python3_9)
50 amd64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] )
51 arm64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] )
52 )"