Gentoo Archives: gentoo-commits

From: "Cédric Krier" <cedk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial/
Date: Sat, 01 Jan 2022 17:22:00
Message-Id: 1641057707.50f3789da01c0e0683a85f67411347fbefe4a320.cedk@gentoo
1 commit: 50f3789da01c0e0683a85f67411347fbefe4a320
2 Author: Cédric Krier <cedk <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 1 17:21:04 2022 +0000
4 Commit: Cédric Krier <cedk <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 1 17:21:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50f3789d
7
8 dev-vcs/mercurial: Skip test for Python 3.10
9
10 The mercurial tests are not yet supporting Python 3.10.
11
12 Closes: https://bugs.gentoo.org/829589
13 Package-Manager: Portage-3.0.28, Repoman-3.0.3
14 Signed-off-by: Cédric Krier <cedk <AT> gentoo.org>
15
16 dev-vcs/mercurial/mercurial-5.8.1.ebuild | 6 ++++--
17 dev-vcs/mercurial/mercurial-6.0.ebuild | 4 ++++
18 dev-vcs/mercurial/mercurial-9999.ebuild | 4 ++++
19 3 files changed, 12 insertions(+), 2 deletions(-)
20
21 diff --git a/dev-vcs/mercurial/mercurial-5.8.1.ebuild b/dev-vcs/mercurial/mercurial-5.8.1.ebuild
22 index b0dd6d923ed1..001bdb53dcb0 100644
23 --- a/dev-vcs/mercurial/mercurial-5.8.1.ebuild
24 +++ b/dev-vcs/mercurial/mercurial-5.8.1.ebuild
25 @@ -291,8 +291,10 @@ src_test() {
26 }
27
28 python_test() {
29 - local TEST_DIR
30 -
31 + if [[ ${EPYTHON} == python3.10 ]]; then
32 + einfo "Skipping tests for unsupported Python 3.10"
33 + return
34 + fi
35 distutils_install_for_testing
36 cd tests || die
37 PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \
38
39 diff --git a/dev-vcs/mercurial/mercurial-6.0.ebuild b/dev-vcs/mercurial/mercurial-6.0.ebuild
40 index 2626b7df8aeb..3fbbe98117a5 100644
41 --- a/dev-vcs/mercurial/mercurial-6.0.ebuild
42 +++ b/dev-vcs/mercurial/mercurial-6.0.ebuild
43 @@ -281,6 +281,10 @@ src_test() {
44 }
45
46 python_test() {
47 + if [[ ${EPYTHON} == python3.10 ]]; then
48 + einfo "Skipping tests for unsupported Python 3.10"
49 + return
50 + fi
51 distutils_install_for_testing
52 cd tests || die
53 PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \
54
55 diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild b/dev-vcs/mercurial/mercurial-9999.ebuild
56 index b1bfcc0dae1f..d60f93143ed4 100644
57 --- a/dev-vcs/mercurial/mercurial-9999.ebuild
58 +++ b/dev-vcs/mercurial/mercurial-9999.ebuild
59 @@ -164,6 +164,10 @@ src_test() {
60 }
61
62 python_test() {
63 + if [[ ${EPYTHON} == python3.10 ]]; then
64 + einfo "Skipping tests for unsupported Python 3.10"
65 + return
66 + fi
67 distutils_install_for_testing
68 cd tests || die
69 PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \