summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-02-20 08:15:39 +0000
committerSam James <sam@gentoo.org>2024-02-20 10:24:14 +0000
commit9bf5925b7d1b00bc94515800761c57cea44f79e6 (patch)
treead228d259f443e2abd53830742ab57484dadcf03 /dev-python/networkx
parentdev-java/ant: adjust conditional dependency (diff)
downloadgentoo-9bf5925b7d1b00bc94515800761c57cea44f79e6.tar.gz
gentoo-9bf5925b7d1b00bc94515800761c57cea44f79e6.tar.bz2
gentoo-9bf5925b7d1b00bc94515800761c57cea44f79e6.zip
dev-python/networkx: skip TSP test on x86
The test gets a valid solution but an unexpected on on x86. It's a somewhat long-standing failure, so skip for now on x86. Bug: https://github.com/networkx/networkx/issues/5913 Bug: https://bugs.gentoo.org/921958 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/networkx')
-rw-r--r--dev-python/networkx/networkx-3.2.1.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/networkx/networkx-3.2.1.ebuild b/dev-python/networkx/networkx-3.2.1.ebuild
index 2643d4ff0e3d..de907987ef8d 100644
--- a/dev-python/networkx/networkx-3.2.1.ebuild
+++ b/dev-python/networkx/networkx-3.2.1.ebuild
@@ -40,6 +40,13 @@ src_test() {
}
python_test() {
+ if use x86 ; then
+ EPYTEST_DESELECT+=(
+ # https://github.com/networkx/networkx/issues/5913 (bug #921958)
+ networkx/algorithms/approximation/tests/test_traveling_salesman.py::test_asadpour_tsp
+ )
+ fi
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
# virtx implies nonfatal
nonfatal epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal || die