commit:     32bc4082f072809017d39f7adbaf9bb48300e88b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 03:43:11 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 03:43:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32bc4082

dev-lang/python: skip another flaky test

Every so often, I get:
```
0:28:02 load avg: 0.00 running (1): test.test_concurrent_futures.test_deadlock 
(27 min 33 sec)
0:28:32 load avg: 0.00 running (1): test.test_concurrent_futures.test_deadlock 
(28 min 3 sec)
0:29:02 load avg: 0.00 running (1): test.test_concurrent_futures.test_deadlock 
(28 min 33 sec)
```

There's a bunch of upstream reports about this test too. Just skip it.

Closes: https://bugs.gentoo.org/788022
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/python/python-3.10.13_p3.ebuild    | 2 ++
 dev-lang/python/python-3.11.8_p1.ebuild     | 2 ++
 dev-lang/python/python-3.12.2_p1.ebuild     | 2 ++
 dev-lang/python/python-3.13.0_alpha4.ebuild | 2 ++
 dev-lang/python/python-3.13.0_alpha5.ebuild | 2 ++
 dev-lang/python/python-3.8.18_p2.ebuild     | 1 +
 dev-lang/python/python-3.9.18_p2.ebuild     | 2 ++
 7 files changed, 13 insertions(+)

diff --git a/dev-lang/python/python-3.10.13_p3.ebuild 
b/dev-lang/python/python-3.10.13_p3.ebuild
index 916bc1290842..c3099177affd 100644
--- a/dev-lang/python/python-3.10.13_p3.ebuild
+++ b/dev-lang/python/python-3.10.13_p3.ebuild
@@ -247,6 +247,7 @@ src_configure() {
                        # They'll even hang here but be fine in src_test 
sometimes.
                        # bug #828535 (and related: bug #788022)
                        -x test_asyncio
+                       -x test_concurrent_futures
                        -x test_httpservers
                        -x test_logging
                        -x test_multiprocessing_fork
@@ -384,6 +385,7 @@ src_test() {
                -j "$(makeopts_jobs)"
 
                # fails
+               -x test_concurrent_futures
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.11.8_p1.ebuild 
b/dev-lang/python/python-3.11.8_p1.ebuild
index a86fff509136..0b7d97cc23bc 100644
--- a/dev-lang/python/python-3.11.8_p1.ebuild
+++ b/dev-lang/python/python-3.11.8_p1.ebuild
@@ -237,6 +237,7 @@ src_configure() {
                        # They'll even hang here but be fine in src_test 
sometimes.
                        # bug #828535 (and related: bug #788022)
                        -x test_asyncio
+                       -x test_concurrent_futures
                        -x test_httpservers
                        -x test_logging
                        -x test_multiprocessing_fork
@@ -398,6 +399,7 @@ src_test() {
                -j "$(makeopts_jobs)"
 
                # fails
+               -x test_concurrent_futures
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.12.2_p1.ebuild 
b/dev-lang/python/python-3.12.2_p1.ebuild
index e6450baf0c45..7e8fb832f57c 100644
--- a/dev-lang/python/python-3.12.2_p1.ebuild
+++ b/dev-lang/python/python-3.12.2_p1.ebuild
@@ -237,6 +237,7 @@ src_configure() {
                        # They'll even hang here but be fine in src_test 
sometimes.
                        # bug #828535 (and related: bug #788022)
                        -x test_asyncio
+                       -x test_concurrent_futures
                        -x test_httpservers
                        -x test_logging
                        -x test_multiprocessing_fork
@@ -392,6 +393,7 @@ src_test() {
                -j "$(makeopts_jobs)"
 
                # fails
+               -x test_concurrent_futures
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.13.0_alpha4.ebuild 
b/dev-lang/python/python-3.13.0_alpha4.ebuild
index b763d4213f47..78f3cecc7a9e 100644
--- a/dev-lang/python/python-3.13.0_alpha4.ebuild
+++ b/dev-lang/python/python-3.13.0_alpha4.ebuild
@@ -247,6 +247,7 @@ src_configure() {
                        # They'll even hang here but be fine in src_test 
sometimes.
                        # bug #828535 (and related: bug #788022)
                        -x test_asyncio
+                       -x test_concurrent_futures
                        -x test_httpservers
                        -x test_logging
                        -x test_multiprocessing_fork
@@ -403,6 +404,7 @@ src_test() {
                -j "$(makeopts_jobs)"
 
                # fails
+               -x test_concurrent_futures
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.13.0_alpha5.ebuild 
b/dev-lang/python/python-3.13.0_alpha5.ebuild
index b763d4213f47..78f3cecc7a9e 100644
--- a/dev-lang/python/python-3.13.0_alpha5.ebuild
+++ b/dev-lang/python/python-3.13.0_alpha5.ebuild
@@ -247,6 +247,7 @@ src_configure() {
                        # They'll even hang here but be fine in src_test 
sometimes.
                        # bug #828535 (and related: bug #788022)
                        -x test_asyncio
+                       -x test_concurrent_futures
                        -x test_httpservers
                        -x test_logging
                        -x test_multiprocessing_fork
@@ -403,6 +404,7 @@ src_test() {
                -j "$(makeopts_jobs)"
 
                # fails
+               -x test_concurrent_futures
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.8.18_p2.ebuild 
b/dev-lang/python/python-3.8.18_p2.ebuild
index 30365c0caa7c..35dce04267d9 100644
--- a/dev-lang/python/python-3.8.18_p2.ebuild
+++ b/dev-lang/python/python-3.8.18_p2.ebuild
@@ -306,6 +306,7 @@ src_test() {
                -j "$(makeopts_jobs)"
 
                # fails
+               -x test_concurrent_futures
                -x test_gdb
        )
 

diff --git a/dev-lang/python/python-3.9.18_p2.ebuild 
b/dev-lang/python/python-3.9.18_p2.ebuild
index 3f0257a31151..2fac75e39220 100644
--- a/dev-lang/python/python-3.9.18_p2.ebuild
+++ b/dev-lang/python/python-3.9.18_p2.ebuild
@@ -171,6 +171,7 @@ src_configure() {
                        # They'll even hang here but be fine in src_test 
sometimes.
                        # bug #828535 (and related: bug #788022)
                        -x test_asyncio
+                       -x test_concurrent_futures
                        -x test_httpservers
                        -x test_logging
                        -x test_multiprocessing_fork
@@ -365,6 +366,7 @@ src_test() {
                -j "$(makeopts_jobs)"
 
                # fails
+               -x test_concurrent_futures
                -x test_gdb
        )
 

Reply via email to