15
0
Files
python-opentelemetry-api/python-opentelemetry-api.spec
Robert Schweikert a2c1df22dc 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

65 lines
1.9 KiB
RPMSpec

#
# spec file for package python-opentelemetry-api
#
# 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
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
BuildRequires: %{python_module Deprecated}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
OpenTelemetry Python API
%prep
%setup -q -n opentelemetry-api-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%changelog