From 0360b3a4e38a1e8fcdd4502b404e3ca44c882368514b13ac4c99585bc2e0903c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 3 Mar 2025 10:33:30 +0000 Subject: [PATCH] Accepting request 1249263 from home:nkrapp:branches:devel:languages:python - disable test broken in build env OBS-URL: https://build.opensuse.org/request/show/1249263 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opencensus?expand=0&rev=19 --- python-opencensus.changes | 5 +++++ python-opencensus.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-opencensus.changes b/python-opencensus.changes index 1fb805f..cc9f645 100644 --- a/python-opencensus.changes +++ b/python-opencensus.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 28 14:45:01 UTC 2025 - Nico Krapp + +- disable test broken in build env + ------------------------------------------------------------------- Tue Apr 9 02:34:22 UTC 2024 - Steve Kowalik diff --git a/python-opencensus.spec b/python-opencensus.spec index 36ce470..a2d436c 100644 --- a/python-opencensus.spec +++ b/python-opencensus.spec @@ -1,7 +1,7 @@ # # spec file for package python-opencensus # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -84,7 +84,8 @@ sed -i -e 's:==:>=:g' setup.py %check %if %{with test} # recursion error in mock != 3; gh#census-instrumentation/opencensus-python#868 -donttest="TestGetExporterThreadPeriodic and (test_multiple_producers or test_threaded_export)" +# test_create_from_traceback fails because paths are limited to 256 bytes and the path in the build env is too long. +donttest="TestGetExporterThreadPeriodic and (test_multiple_producers or test_threaded_export) or test_create_from_traceback" %pytest tests/unit -k "not ($donttest)" %endif