1 |
commit: ac3229869584915ae0af3030cbc3802e63720c9b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 12 10:38:53 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 12 10:40:44 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac322986 |
7 |
|
8 |
dev-python/build: Enable py3.11 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/build/build-0.7.0-r1.ebuild | 10 +++++++--- |
13 |
1 file changed, 7 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/build/build-0.7.0-r1.ebuild b/dev-python/build/build-0.7.0-r1.ebuild |
16 |
index 1e9284e7e37e..049661a8726c 100644 |
17 |
--- a/dev-python/build/build-0.7.0-r1.ebuild |
18 |
+++ b/dev-python/build/build-0.7.0-r1.ebuild |
19 |
@@ -4,7 +4,7 @@ |
20 |
EAPI=8 |
21 |
|
22 |
DISTUTILS_USE_PEP517=setuptools |
23 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
24 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
25 |
|
26 |
inherit distutils-r1 multiprocessing |
27 |
|
28 |
@@ -55,7 +55,11 @@ python_test() { |
29 |
'tests/test_util.py::test_wheel_metadata[True]' |
30 |
tests/test_util.py::test_with_get_requires |
31 |
) |
32 |
+ [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( |
33 |
+ # fixed in git but the patch is large-ish |
34 |
+ tests/test_env.py::test_executable_missing_post_creation |
35 |
+ ) |
36 |
|
37 |
- epytest -p no:flaky \ |
38 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
39 |
+ epytest -p no:flaky -n "$(makeopts_jobs)" \ |
40 |
+ -W"ignore:path is deprecated.:DeprecationWarning" |
41 |
} |