Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-oslo.metrics for 
openSUSE:Factory checked in at 2025-11-10 19:18:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.metrics (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.metrics.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.metrics"

Mon Nov 10 19:18:23 2025 rev:9 rq:1316889 version:0.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.metrics/python-oslo.metrics.changes  
2025-06-14 16:17:36.829981620 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.metrics.new.1980/python-oslo.metrics.changes
        2025-11-10 19:18:53.524247009 +0100
@@ -1,0 +2,27 @@
+Sun Nov  9 18:17:47 UTC 2025 - Dirk Müller <[email protected]>
+
+- update to 0.13.0:
+  * add pyproject.toml to support pip 23.1
+  * tox: Remove basepython
+  * Update master for stable/2025.1
+  * feat: add option to set chmod to socket
+- switch to singlespec
+
+-------------------------------------------------------------------
+Tue Jul  1 22:06:55 UTC 2025 - Dirk Müller <[email protected]>
+
+- update to 0.11.0:
+  * Skip installation to speed up pep8
+  * Restore group permissions to unix socket file
+  * Run pyupgrade to clean up Python 2 syntaxes
+  * Introduce pre-commit
+  * reno: Update master for unmaintained/2023.1
+  * Set log level to debug when dispatching metrics
+  * Add note about requirements lower bounds
+  * Remove Python 3.8 support
+  * Drop unnecessary 'x' bit from doc config file
+  * Use PortOpt for prometheus\_port
+  * Declare Python 3.12 support
+  * Update master for stable/2024.2
+
+-------------------------------------------------------------------

Old:
----
  _service
  oslo.metrics-0.9.0.tar.gz

New:
----
  oslo_metrics-0.13.0.tar.gz

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

Other differences:
------------------
++++++ python-oslo.metrics.spec ++++++
--- /var/tmp/diff_new_pack.Lo91Pe/_old  2025-11-10 19:18:54.176274325 +0100
+++ /var/tmp/diff_new_pack.Lo91Pe/_new  2025-11-10 19:18:54.176274325 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-oslo.metrics
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,41 +17,40 @@
 
 
 Name:           python-oslo.metrics
-Version:        0.9.0
+Version:        0.13.0
 Release:        0
 Summary:        Collect metrics data from other Oslo libraries
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://docs.openstack.org/oslo.metrics
-Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.metrics/oslo.metrics-0.9.0.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/o/oslo_metrics/oslo_metrics-%{version}.tar.gz
+BuildRequires:  %{python_module oslo.config >= 6.9.0}
+BuildRequires:  %{python_module oslo.log >= 3.44.0}
+BuildRequires:  %{python_module oslo.utils >= 3.41.0}
+BuildRequires:  %{python_module oslotest}
+BuildRequires:  %{python_module pbr >= 3.1.1}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module prometheus-client >= 0.6.0}
+BuildRequires:  %{python_module stestr}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  openstack-macros
-BuildRequires:  python3-oslo.config >= 6.9.0
-BuildRequires:  python3-oslo.log >= 3.44.0
-BuildRequires:  python3-oslo.utils >= 3.41.0
-BuildRequires:  python3-oslotest
-BuildRequires:  python3-pbr >= 3.1.1
-BuildRequires:  python3-prometheus-client >= 0.6.0
-BuildRequires:  python3-stestr
+Requires:       python-oslo.config >= 6.9.0
+Requires:       python-oslo.log >= 3.44.0
+Requires:       python-oslo.utils >= 3.41.0
+Requires:       python-pbr >= 3.1.1
+Requires:       python-prometheus-client >= 0.6.0
 BuildArch:      noarch
+%if "python%{python_nodots_ver}" == "%{primary_python}"
+Obsoletes:      python3-oslo.metrics < %{version}
+%else
+Conflicts:      python3-oslo.metrics < %{version}
+%endif
+%python_subpackages
 
 %description
 This Oslo metrics API supports collecting metrics data from other
 Oslo libraries and exposing the metrics data to monitoring system.
 
-%package -n python3-oslo.metrics
-Summary:        Common code to collect metrics data from other Oslo libraries
-Requires:       python3-oslo.config >= 6.9.0
-Requires:       python3-oslo.log >= 3.44.0
-Requires:       python3-oslo.utils >= 3.41.0
-Requires:       python3-pbr >= 3.1.1
-Requires:       python3-prometheus-client >= 0.6.0
-
-%description -n python3-oslo.metrics
-This Oslo metrics API supports collecting metrics data from other
-Oslo libraries and exposing the metrics data to monitoring system.
-
-This package contains the Python 3.x module.
-
 %package -n python-oslo.metrics-doc
 Summary:        Docs for oslo.metrics
 BuildRequires:  python3-Sphinx
@@ -62,28 +61,38 @@
 Documentation for the oslo.metrics library.
 
 %prep
-%autosetup -p1 -n oslo.metrics-0.9.0
-%py_req_cleanup
+%autosetup -p1 -n oslo_metrics-%{version}
 
 %build
-%{py3_build}
+%pyproject_wheel
 
-PBR_VERSION=0.9.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=%{version} %{sphinx_build} -b html doc/source doc/build/html
 # remove the sphinx-build leftovers
 rm -rf doc/build/html/.{doctrees,buildinfo}
 
 %install
-%{py3_install}
+%pyproject_install
+
+%python_clone -a %{buildroot}%{_bindir}/oslo-metrics
+
+%pre
+%python_libalternatives_reset_alternative oslo-metrics
+
+%post
+%python_install_alternative oslo-metrics
+
+%postun
+%python_uninstall_alternative oslo-metrics
 
 %check
 export PYTHONPATH=`pwd`
 %{openstack_stestr_run}
 
-%files -n python3-oslo.metrics
+%files %{python_files}
 %license LICENSE
-%{_bindir}/oslo-metrics
-%{python3_sitelib}/oslo_metrics
-%{python3_sitelib}/*.egg-info
+%python_alternative %{_bindir}/oslo-metrics
+%{python_sitelib}/oslo_metrics
+%{python_sitelib}/oslo_metrics-%{version}.dist-info
 
 %files -n python-oslo.metrics-doc
 %doc doc/build/html README.rst

Reply via email to