diff --git a/opentelemetry-api-1.5.0.tar.gz b/opentelemetry-api-1.5.0.tar.gz deleted file mode 100644 index 7815627..0000000 --- a/opentelemetry-api-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce439a940c37f9e8aa7c65b35c56a94e728a9e46b3df60caa0fb656a05bd4285 -size 35721 diff --git a/opentelemetry_api-1.17.0.tar.gz b/opentelemetry_api-1.17.0.tar.gz new file mode 100644 index 0000000..997f795 --- /dev/null +++ b/opentelemetry_api-1.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3480fcf6b783be5d440a226a51db979ccd7c49a2e98d1c747c991031348dcf04 +size 55896 diff --git a/python-opentelemetry-api.changes b/python-opentelemetry-api.changes index d0dcb98..82f02bd 100644 --- a/python-opentelemetry-api.changes +++ b/python-opentelemetry-api.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu May 11 16:49:48 UTC 2023 - Daniel Garcia + +- Ignore some tests because there's no opentelemetry-test-util module + gh#open-telemetry/opentelemetry-python#2263 +- Update to 1.17.0: + * Implement LowMemory temporality (#3223) + * PeriodicExportingMetricReader will continue if collection times out (#3100) + * Fix formatting of ConsoleMetricExporter. (#3197) + * Fix use of built-in samplers in SDK configuration (#3176) + * Implement shutdown procedure forOTLP grpc exporters (#3138) + * Add exponential histogram (#2964) + * Add OpenCensus trace bridge/shim (#3210) + + * A lot more changes in previous releases can be found at + https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md#version-1170038b0-2023-03-22 + ------------------------------------------------------------------- Fri Apr 21 12:28:45 UTC 2023 - Dirk Müller diff --git a/python-opentelemetry-api.spec b/python-opentelemetry-api.spec index ea76aa8..59b951b 100644 --- a/python-opentelemetry-api.spec +++ b/python-opentelemetry-api.spec @@ -16,29 +16,34 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-opentelemetry-api -Version: 1.5.0 +Version: 1.17.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 +Source: https://files.pythonhosted.org/packages/source/o/opentelemetry-api/opentelemetry_api-%{version}.tar.gz +BuildRequires: %{python_module Deprecated} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module importlib-metadata} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # Note: If python3-aiocontextvars is not available, the error message will # be confusing: https://github.com/openSUSE/obs-build/issues/685 BuildRequires: (python3-aiocontextvars if python3-base < 3.7) BuildArch: noarch +Requires: python-Deprecated +Requires: python-importlib-metadata 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 @@ -47,17 +52,19 @@ BuildRequires: %{python_module pytest} OpenTelemetry Python API %prep -%setup -q -n opentelemetry-api-%{version} +%setup -q -n opentelemetry_api-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# ignore some tests because we don't have opentelemetry.test module +# gh#open-telemetry/opentelemetry-python#2263 +%pytest --ignore tests/util/test_once.py --ignore tests/logs/test_logger_provider.py --ignore tests/metrics/test_meter_provider.py --ignore tests/trace/test_globals.py --ignore tests/trace/test_proxy.py %files %{python_files} %doc README.rst