Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-opentelemetry-api for 
openSUSE:Factory checked in at 2023-05-12 20:37:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-opentelemetry-api (Old)
 and      /work/SRC/openSUSE:Factory/.python-opentelemetry-api.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-opentelemetry-api"

Fri May 12 20:37:38 2023 rev:9 rq:1086592 version:1.17.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-opentelemetry-api/python-opentelemetry-api.changes
        2023-04-21 18:48:20.776367788 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-opentelemetry-api.new.1533/python-opentelemetry-api.changes
      2023-05-12 20:40:28.466918307 +0200
@@ -1,0 +2,17 @@
+Thu May 11 16:49:48 UTC 2023 - Daniel Garcia <daniel.gar...@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
+
+-------------------------------------------------------------------

Old:
----
  opentelemetry-api-1.5.0.tar.gz

New:
----
  opentelemetry_api-1.17.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-opentelemetry-api.spec ++++++
--- /var/tmp/diff_new_pack.spDGML/_old  2023-05-12 20:40:28.942920923 +0200
+++ /var/tmp/diff_new_pack.spDGML/_new  2023-05-12 20:40:28.950920966 +0200
@@ -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 @@
 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

Reply via email to