diff --git a/opentelemetry-api-0.5b0.tar.gz b/opentelemetry-api-0.5b0.tar.gz deleted file mode 100644 index 22751b1..0000000 --- a/opentelemetry-api-0.5b0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0cb129b053373fd7a014cc459854170838beea22fb090497fdff4bb13deea40c -size 22845 diff --git a/opentelemetry-api-0.6b0.tar.gz b/opentelemetry-api-0.6b0.tar.gz new file mode 100644 index 0000000..f81639f --- /dev/null +++ b/opentelemetry-api-0.6b0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11df823b83838c45da3c9b3d542a26c4a581b5b4bfe4cf0b447254006026acc9 +size 22733 diff --git a/python-opentelemetry-api.changes b/python-opentelemetry-api.changes index 0ff970d..e689b73 100644 --- a/python-opentelemetry-api.changes +++ b/python-opentelemetry-api.changes @@ -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 diff --git a/python-opentelemetry-api.spec b/python-opentelemetry-api.spec index 911e62b..5e0425a 100644 --- a/python-opentelemetry-api.spec +++ b/python-opentelemetry-api.spec @@ -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 diff --git a/tests.tar.bz2 b/tests.tar.bz2 new file mode 100644 index 0000000..6d5892b --- /dev/null +++ b/tests.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c83e3dcf22e1b4fef74baeb02a4dbbd330b8483469284c8813f55ca50445fb46 +size 8675