commit: c385afcf821cd1510ea39abfb95fcf7a187d7ba4 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sat Oct 23 13:40:25 2021 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Oct 23 14:03:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c385afcf
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] https://github.com/Flask-Middleware/flask-security/commit/5f85daf8ed029f0392c7019a4e6b948226a57c8f Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-python/flask-security/flask-security-4.1.2.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-python/flask-security/flask-security-4.1.2.ebuild b/dev-python/flask-security/flask-security-4.1.2.ebuild index a3dce632dd5..7c01e12dd76 100644 --- a/dev-python/flask-security/flask-security-4.1.2.ebuild +++ b/dev-python/flask-security/flask-security-4.1.2.ebuild @@ -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}] ) )"
