commit:     347973cbe734396089c895e940cb8044dd1ca40f
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Wed Jun  7 08:48:25 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun  7 09:26:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347973cb

dev-python/alembic: enable py3.12

Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/alembic/alembic-1.11.1.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-python/alembic/alembic-1.11.1.ebuild 
b/dev-python/alembic/alembic-1.11.1.ebuild
index 8abd48cc9bb7..0fb0d2348c60 100644
--- a/dev-python/alembic/alembic-1.11.1.ebuild
+++ b/dev-python/alembic/alembic-1.11.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..11} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
 
 inherit distutils-r1 pypi
 
@@ -29,6 +29,12 @@ RDEPEND="
 
 distutils_enable_tests pytest
 
+python_test() {
+       # setup.cfg contains -p no:warnings in addopts which triggers
+       # datetime.utcfromtimestamp() deprecation warning as an error in py3.12
+       epytest -o addopts=
+}
+
 python_install_all() {
        use doc && local HTML_DOCS=( docs/. )
        distutils-r1_python_install_all

Reply via email to