summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-23 17:11:15 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-23 17:14:36 +0200
commit8fdbaaaed076a5fe6ff0c3b77e0d98068d3bce5c (patch)
tree447731b2d40ae1c07bc2eb7838c450b69f760c3a /dev-python
parentd093e2ab34da8f5ae95b9413920f7cbf64ba521f (diff)
downloadgentoo-8fdbaaaed076a5fe6ff0c3b77e0d98068d3bce5c.tar.gz
gentoo-8fdbaaaed076a5fe6ff0c3b77e0d98068d3bce5c.tar.bz2
gentoo-8fdbaaaed076a5fe6ff0c3b77e0d98068d3bce5c.zip
dev-python/testfixtures: Enable py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/testfixtures/testfixtures-7.1.0.ebuild15
1 files changed, 14 insertions, 1 deletions
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
}