forked from pool/python-opentelemetry-api
Accepting request 865954 from home:glaubitz:branches:devel:languages:python
- Version update to 0.17b0 + Added - Add support for OTLP v0.6.0 (#1472) - Add protobuf via gRPC exporting support for Jaeger (#1471) - Add support for Python 3.9 (#1441) - Added the ability to disable instrumenting libraries specified by OTEL_PYTHON_DISABLED_INSTRUMENTATIONS env variable, when using opentelemetry-instrument command. (#1461) - Add `fields` to propagators (#1374) - Add local/remote samplers to parent based sampler (#1440) - Add support for OTEL_SPAN_{ATTRIBUTE_COUNT_LIMIT,EVENT_COUNT_LIMIT,LINK_COUNT_LIMIT} (#1377) - Return `None` for `DictGetter` if key not found (#1449) - Added support for Jaeger propagator (#1219) - Remove dependency on SDK from `opentelemetry-instrumentation` package. The `opentelemetry-sdk` package now registers an entrypoint `opentelemetry_configurator` to allow `opentelemetry-instrument` to load the configuration for the SDK (#1420) - `opentelemetry-exporter-zipkin` Add support for array attributes in Span and Resource exports (#1285) - Added `__repr__` for `DefaultSpan`, added `trace_flags` to `__repr__` of `SpanContext` (#1485) - `opentelemetry-sdk` Add support for OTEL_TRACE_SAMPLER and OTEL_TRACE_SAMPLER_ARG env variables (#1496) - Adding `opentelemetry-distro` package to add default configuration for span exporter to OTLP (#1482) + Changed - `opentelemetry-exporter-zipkin` Updated zipkin exporter status code and error tag (#1486) - Recreate span on every run of a `start_as_current_span`-decorated function (#1451) - `opentelemetry-exporter-otlp` Headers are now passed in as tuple as metadata, instead of a OBS-URL: https://build.opensuse.org/request/show/865954 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=8
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-opentelemetry-api
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,16 +19,13 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-opentelemetry-api
|
||||
Version: 0.6b0
|
||||
Version: 0.17b0
|
||||
Release: 0
|
||||
Summary: OpenTelemetry Python API
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/open-telemetry/opentelemetry-python/tree/master/opentelemetry-api
|
||||
Source: https://files.pythonhosted.org/packages/source/o/opentelemetry-api/opentelemetry-api-%{version}.tar.gz
|
||||
# https://github.com/open-telemetry/opentelemetry-python/pull/557
|
||||
Source98: tests.tar.bz2
|
||||
# https://github.com/open-telemetry/opentelemetry-python/issues/473
|
||||
Source99: https://raw.githubusercontent.com/open-telemetry/opentelemetry-python/master/LICENSE
|
||||
BuildRequires: %{python_module aiocontextvars}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -43,8 +40,7 @@ BuildRequires: %{python_module pytest}
|
||||
OpenTelemetry Python API
|
||||
|
||||
%prep
|
||||
%setup -q -n opentelemetry-api-%{version} -a98
|
||||
cp %{SOURCE99} .
|
||||
%setup -q -n opentelemetry-api-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -54,10 +50,7 @@ cp %{SOURCE99} .
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# test_environment_variables and test_getattr erroring,
|
||||
# let us see whether they got fixed via github PR referenced
|
||||
# above (in next version)
|
||||
%pytest -k 'not (test_getattr or test_environment_variables)'
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
||||
Reference in New Issue
Block a user