- Update to 0.54b1:

* Make auto instrumentation use the same dependency resolver as manual
    instrumentation does
  * make it simpler to initialize auto-instrumentation programmatically
- Update URL.
- Run the testsuite again.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-instrumentation?expand=0&rev=8
This commit is contained in:
2025-06-02 06:20:35 +00:00
committed by Git OBS Bridge
parent 182e765729
commit 38c6d3fbff
4 changed files with 23 additions and 11 deletions

View File

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

View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Jun 2 06:13:57 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.54b1:
* Make auto instrumentation use the same dependency resolver as manual
instrumentation does
* make it simpler to initialize auto-instrumentation programmatically
- Update URL.
- Run the testsuite again.
-------------------------------------------------------------------
Tue Feb 25 20:56:42 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,19 +18,20 @@
%{?sle15_python_module_pythons}
Name: python-opentelemetry-instrumentation
Version: 0.51b0
Version: 0.54b1
Release: 0
Summary: Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python
License: Apache-2.0
URL: https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-instrumentation
URL: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/opentelemetry-instrumentation
Source: https://files.pythonhosted.org/packages/source/o/opentelemetry-instrumentation/opentelemetry_instrumentation-%{version}.tar.gz
BuildRequires: %{python_module packaging >= 18.0}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module opentelemetry-api >= 1.4}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module opentelemetry-semantic-conventions = %{version}}
BuildRequires: %{python_module opentelemetry-test-utils = %{version}}
BuildRequires: %{python_module packaging >= 18.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wrapt >= 1.0.0}
# /SECTION
@@ -38,6 +39,8 @@ BuildRequires: fdupes
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires: python-opentelemetry-api >= 1.4
Requires: python-opentelemetry-semantic-conventions = %{version}
Requires: python-packaging >= 18.0
Requires: python-wrapt >= 1.0.0
BuildArch: noarch
%python_subpackages
@@ -57,9 +60,8 @@ Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python
%python_clone -a %{buildroot}%{_bindir}/opentelemetry-bootstrap
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Tests disabled because they're not shipped with the sources
#%%check
#%%pytest
%check
%pytest
%post
%python_install_alternative opentelemetry-instrument opentelemetry-bootstrap