commit:     4f52993cbd8dcc13d11b8115a2cdc49b359d06e7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 25 15:02:53 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 25 15:14:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f52993c

dev-python/build: Enable py3.12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

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

diff --git a/dev-python/build/build-0.10.0.ebuild 
b/dev-python/build/build-0.10.0.ebuild
index be77518c47ad..6b1865d43115 100644
--- a/dev-python/build/build-0.10.0.ebuild
+++ b/dev-python/build/build-0.10.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=flit
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1 multiprocessing
 
@@ -60,6 +60,12 @@ python_test() {
                # (requires dev-python/toml that we'd like to lastrite 
eventually)
                tests/test_projectbuilder.py::test_toml_instead_of_tomli
        )
+       if [[ ${EPYTHON} == python3.12 ]]; then
+               EPYTEST_DESELECT+=(
+                       # mismatch on deprecation warning
+                       
'tests/test_main.py::test_output[via-sdist-no-isolation]'
+               )
+       fi
 
        epytest -p no:flaky -n "$(makeopts_jobs)"
 }

Reply via email to