15
0
Files
python-opentelemetry-api/python-opentelemetry-api.spec

65 lines
1.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package 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
2021-01-22 13:01:12 +00:00
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-opentelemetry-api
Accepting request 929148 from home:glaubitz:branches:devel:languages:python - Version update to 1.5.0 - Add pre and post instrumentation entry points (#1983) - Fix documentation on well known exporters and variable OTEL_TRACES_EXPORTER which were misnamed (#2023) - `opentelemetry-sdk` `get_aggregated_resource()` returns default resource and service name whenever called (#2013) - `opentelemetry-distro` & `opentelemetry-sdk` Moved Auto Instrumentation Configurator code to SDK to let distros use its default implementation (#1937) - Add Trace ID validation to meet TraceID spec (#1992) - Fixed Python 3.10 incompatibility in `opentelemetry-opentracing-shim` tests (#2018) - `opentelemetry-sdk` added support for `OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT` (#2044) - `opentelemetry-sdk` Fixed bugs (#2041, #2042 & #2045) in Span Limits (#2044) - `opentelemetry-sdk` Add support for `OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT` env var (#2056) - `opentelemetry-sdk` Treat limit even vars set to empty values as unset/unlimited. (#2054) - `opentelemetry-api` Attribute keys must be non-empty strings. (#2057) - from version 1.4.0 + Added - Moved `opentelemetry-instrumentation` to core repository. (#1959) - Add support for OTLP Exporter Protobuf over HTTP (#1868) - Dropped attributes/events/links count available exposed on ReadableSpans. (#1893) - Added dropped count to otlp, jaeger and zipkin exporters. (#1893) - Give OTLPHandler the ability to process attributes (#1952) - Add global LogEmitterProvider and convenience function get_log_emitter (#1901) - Add OTLPHandler for standard library logging module (#1903) + Changed - Updated `opentelemetry-opencensus-exporter` to use `service_name` of spans instead of resource (#1897) - Added descriptions to the env variables mentioned in the opentelemetry-specification (#1898) - Ignore calls to `Span.set_status` with `StatusCode.UNSET` and also if previous OBS-URL: https://build.opensuse.org/request/show/929148 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=13
2021-11-04 11:23:09 +00:00
Version: 1.5.0
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
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: ((python3-aiocontextvars and python3-base < 3.7) or (python36-aiocontextvars and python36-base))
BuildArch: noarch
Requires: python-setuptools
%if %{python_version_nodots} < 37
Requires: python-aiocontextvars
%endif
# SECTION test requirements
Accepting request 929148 from home:glaubitz:branches:devel:languages:python - Version update to 1.5.0 - Add pre and post instrumentation entry points (#1983) - Fix documentation on well known exporters and variable OTEL_TRACES_EXPORTER which were misnamed (#2023) - `opentelemetry-sdk` `get_aggregated_resource()` returns default resource and service name whenever called (#2013) - `opentelemetry-distro` & `opentelemetry-sdk` Moved Auto Instrumentation Configurator code to SDK to let distros use its default implementation (#1937) - Add Trace ID validation to meet TraceID spec (#1992) - Fixed Python 3.10 incompatibility in `opentelemetry-opentracing-shim` tests (#2018) - `opentelemetry-sdk` added support for `OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT` (#2044) - `opentelemetry-sdk` Fixed bugs (#2041, #2042 & #2045) in Span Limits (#2044) - `opentelemetry-sdk` Add support for `OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT` env var (#2056) - `opentelemetry-sdk` Treat limit even vars set to empty values as unset/unlimited. (#2054) - `opentelemetry-api` Attribute keys must be non-empty strings. (#2057) - from version 1.4.0 + Added - Moved `opentelemetry-instrumentation` to core repository. (#1959) - Add support for OTLP Exporter Protobuf over HTTP (#1868) - Dropped attributes/events/links count available exposed on ReadableSpans. (#1893) - Added dropped count to otlp, jaeger and zipkin exporters. (#1893) - Give OTLPHandler the ability to process attributes (#1952) - Add global LogEmitterProvider and convenience function get_log_emitter (#1901) - Add OTLPHandler for standard library logging module (#1903) + Changed - Updated `opentelemetry-opencensus-exporter` to use `service_name` of spans instead of resource (#1897) - Added descriptions to the env variables mentioned in the opentelemetry-specification (#1898) - Ignore calls to `Span.set_status` with `StatusCode.UNSET` and also if previous OBS-URL: https://build.opensuse.org/request/show/929148 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-api?expand=0&rev=13
2021-11-04 11:23:09 +00:00
BuildRequires: %{python_module Deprecated}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
OpenTelemetry Python API
%prep
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
2021-01-22 13:01:12 +00:00
%setup -q -n opentelemetry-api-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
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
2021-01-22 13:01:12 +00:00
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%changelog