17
0

Accepting request 1086592 from devel:languages:python

- 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

OBS-URL: https://build.opensuse.org/request/show/1086592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-api?expand=0&rev=9
This commit is contained in:
2023-05-12 18:37:38 +00:00
committed by Git OBS Bridge
4 changed files with 35 additions and 11 deletions

View File

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

View File

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

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu May 11 16:49:48 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -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