- Add gh-132535-rsrc-warn-test_timeout.patch to fix

failing tests in the build system without network access
  (gh#python/cpython#132535).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=89
This commit is contained in:
2025-04-15 22:19:57 +00:00
committed by Git OBS Bridge
parent 9e2287fa69
commit 384d0f4194
3 changed files with 100 additions and 3 deletions

View File

@@ -225,6 +225,9 @@ Patch41: doc-py38-to-py36.patch
# PATCH-FIX-UPSTREAM gh126985-mv-pyvenv.cfg2getpath.patch mcepl@suse.com
# Remove tests failing in test_sysconfig
Patch42: gh126985-mv-pyvenv.cfg2getpath.patch
# PATCH-FIX-UPSTREAM gh-132535-rsrc-warn-test_timeout.patch gh#python/cpython#132535 mcepl@suse.com
# allows test_timeout tests to pass
Patch43: gh-132535-rsrc-warn-test_timeout.patch
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: fdupes
@@ -654,9 +657,6 @@ EXCLUDE="$EXCLUDE test_faulthandler"
EXCLUDE="$EXCLUDE test_external_inspection test_faulthandler test_os test_posix test_signal test_socket test_subprocess"
%endif
# gh#python/cpython#132535
EXCLUDE="$EXCLUDE test_timeout"
# This test (part of test_uuid) requires real network interfaces
# so that ifconfig output has "HWaddr <something>". Some kvm instances
# done have any such interface breaking the uuid module.