dev-python/flask-security: enable py3.10

Based on [1], upstream recommend testing on py3.10 without pony.
When reviewing pony (to maybe bump), it is base on python's parser
module, which was removed on python 3.10 - meaning pony will need a
huge rewrite to work on python 3.10.

Test suite passes, while all tests depending on pony are just
auto skipped on python 3.10

[1] 5f85daf8ed

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2021-10-23 16:40:25 +03:00
parent 5824e001e0
commit c385afcf82

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Simple security for Flask apps"
@@ -43,11 +43,13 @@ BDEPEND="
>=dev-python/mongomock-3.19.0[${PYTHON_USEDEP}]
>=dev-python/peewee-3.11.2[${PYTHON_USEDEP}]
>=dev-python/phonenumbers-8.11.1[${PYTHON_USEDEP}]
>=dev-python/pony-0.7.11[${PYTHON_USEDEP}]
>=dev-python/psycopg-2.8.4:2[${PYTHON_USEDEP}]
>=dev-python/pymysql-0.9.3[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2[${PYTHON_USEDEP}]
>=dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/pony-0.7.11[${PYTHON_USEDEP}]
' python3_8 python3_9)
amd64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] )
arm64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] )
)"