15
0

Accepting request 794251 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/794251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=3
This commit is contained in:
2020-04-16 21:01:37 +00:00
committed by Git OBS Bridge
5 changed files with 29 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0cb129b053373fd7a014cc459854170838beea22fb090497fdff4bb13deea40c
size 22845

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11df823b83838c45da3c9b3d542a26c4a581b5b4bfe4cf0b447254006026acc9
size 22733

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Apr 15 14:03:21 UTC 2020 - pgajdos@suse.com
- version update to 0.6b0
* Add support for lazy events and links (#474)
* Metrics API no longer uses LabelSet (#527)
* Adding is_remote flag to SpanContext, indicating when a span is remote (#516)
* Allow digit as first char in vendor specific trace state key (#511)
-------------------------------------------------------------------
Fri Mar 27 14:01:45 UTC 2020 - pgajdos@suse.com

View File

@@ -19,25 +19,31 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-opentelemetry-api
Version: 0.5b0
Version: 0.6b0
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 setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
Requires: python-setuptools
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
OpenTelemetry Python API
%prep
%setup -q -n opentelemetry-api-%{version}
%setup -q -n opentelemetry-api-%{version} -a98
cp %{SOURCE99} .
%build
@@ -47,6 +53,12 @@ cp %{SOURCE99} .
%python_install
%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)'
%files %{python_files}
%doc README.rst
%license LICENSE

3
tests.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c83e3dcf22e1b4fef74baeb02a4dbbd330b8483469284c8813f55ca50445fb46
size 8675