diff --git a/python-jaeger-client.spec b/python-jaeger-client.spec index e55d4120b029df2388287ec9b9db103d3cd3955f..4ddc6f98930aee13f688cecfe3a46cf6d21bafaa 100644 --- a/python-jaeger-client.spec +++ b/python-jaeger-client.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-jaeger-client Version: 4.8.0 -Release: 3 +Release: 4 Summary: Jaeger Python OpenTracing Tracer implementation License: Apache-2.0 URL: https://github.com/jaegertracing/jaeger-client-python @@ -27,6 +27,10 @@ BuildRequires: python3-thrift BuildRequires: python3-threadloop BuildRequires: python3-mock BuildRequires: python3-pytest +BuildRequires: python3-pytest-cov +BuildRequires: python3-pytest-timeout +BuildRequires: python3-pytest-benchmark +BuildRequires: python3-coverage BuildRequires: python3-prometheus-client BuildRequires: python3-pycurl %description -n python3-jaeger-client @@ -44,6 +48,9 @@ and to send those traces to Jaeger. See the OpenTracing Python API for additiona %prep %autosetup -n jaeger-client-4.8.0 -p1 +sed -i 's/Tracer.default_tracer/Tracer/g' tests/test_tracer_benchmark.py +sed -i 's/start_trace/start_span/g' tests/test_tracer_benchmark.py +sed -i 's/channel=None, //g' tests/test_tracer_benchmark.py %build %py3_build @@ -78,7 +85,11 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +# skip for no module tchannel httpserver pytest-localserver +%pytest -- -vv -k "not test_all_batched_size10 and \ + not test_all_batched_size5 and \ + not test_all_not_batched and \ + not test_baggage_as_unicode_strings_with_httplib" %files -n python3-jaeger-client -f filelist.lst %dir %{python3_sitelib}/* @@ -88,6 +99,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Jul 16 2025 Dongxing Wang - 4.8.0-4 +- Fix build error with setuptools new version 78.1.1 + * Fri Aug 16 2024 zhangxianting - 4.8.0-3 - fix check error