commit:     8fdbaaaed076a5fe6ff0c3b77e0d98068d3bce5c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 23 15:11:15 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 15:14:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fdbaaae

dev-python/testfixtures: Enable py3.12

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

 dev-python/testfixtures/testfixtures-7.1.0.ebuild | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/dev-python/testfixtures/testfixtures-7.1.0.ebuild 
b/dev-python/testfixtures/testfixtures-7.1.0.ebuild
index e64f557ee6d1..e2f06fd39724 100644
--- a/dev-python/testfixtures/testfixtures-7.1.0.ebuild
+++ b/dev-python/testfixtures/testfixtures-7.1.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 pypi
 
@@ -43,5 +43,18 @@ python_test() {
                
testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present
        )
 
+       case ${EPYTHON} in
+               python3.12)
+                       EPYTEST_DESELECT+=(
+                               # 
https://github.com/simplistix/testfixtures/issues/183
+                               docs/comparing.txt::line:642,column:1
+                               docs/comparing.txt::line:784,column:1
+                               docs/comparing.txt::line:823,column:1
+                               
testfixtures/tests/test_tempdirectory.py::TempDirectoryTests::test_as_path_relative_sequence
+                               
testfixtures/tests/test_tempdirectory.py::TempDirectoryTests::test_as_path_relative_string
+                       )
+                       ;;
+       esac
+
        epytest
 }

Reply via email to