From 98e01abe5568e410e3365ef783fc11c9f032989b0f5de49fa76724e44aff1ad7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 26 Feb 2025 22:24:06 +0000 Subject: [PATCH] Accepting request 1248703 from home:glaubitz:branches:devel:languages:python - Update to 0.21.1 * [BUGFIX] Revert incorrect use of reentrant locks. #1076 - Update sed regular expression for removing shebang OBS-URL: https://build.opensuse.org/request/show/1248703 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prometheus-client?expand=0&rev=24 --- python-prometheus-client.changes | 7 +++++++ python-prometheus-client.spec | 6 +++--- v0.21.0.tar.gz | 3 --- v0.21.1.tar.gz | 3 +++ 4 files changed, 13 insertions(+), 6 deletions(-) delete mode 100644 v0.21.0.tar.gz create mode 100644 v0.21.1.tar.gz diff --git a/python-prometheus-client.changes b/python-prometheus-client.changes index 0e6e078..46d20b3 100644 --- a/python-prometheus-client.changes +++ b/python-prometheus-client.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 26 11:27:34 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.21.1 + * [BUGFIX] Revert incorrect use of reentrant locks. #1076 +- Update sed regular expression for removing shebang + ------------------------------------------------------------------- Fri Oct 18 10:45:08 UTC 2024 - Dirk Müller diff --git a/python-prometheus-client.spec b/python-prometheus-client.spec index dc23ed8..7f2fafe 100644 --- a/python-prometheus-client.spec +++ b/python-prometheus-client.spec @@ -1,7 +1,7 @@ # # spec file for package python-prometheus-client # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-prometheus-client -Version: 0.21.0 +Version: 0.21.1 Release: 0 Summary: Python client for the Prometheus monitoring system License: Apache-2.0 @@ -49,7 +49,7 @@ The official Python 2 and 3 client for Prometheus. %prep %autosetup -p1 -n client_python-%{version} -sed -i -e '1{/\/usr\/bin\/python/d}' \ +sed -i -e '1{/\/usr\/bin\/env\ python/d}' \ prometheus_client/__init__.py \ prometheus_client/bridge/graphite.py \ prometheus_client/openmetrics/exposition.py \ diff --git a/v0.21.0.tar.gz b/v0.21.0.tar.gz deleted file mode 100644 index 55dd4db..0000000 --- a/v0.21.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35e39900b4ed06036adb0a6ff938b9b9212d0b807250857d0529be9492c4f059 -size 5564443 diff --git a/v0.21.1.tar.gz b/v0.21.1.tar.gz new file mode 100644 index 0000000..ba91929 --- /dev/null +++ b/v0.21.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38c761f2ffc1ce55811ad052ca4b2e2004eb1d56c1f0ed09e0cd961da9ab532b +size 5564294