public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-prometheus_client] rawhide: Update to 0.26.0 rhbz#2428796
@ 2026-11-27 0:24 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-27 0:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-prometheus_client
Branch : rawhide
Commit : 6b7522d44bf54d81837741f8aaca08284abcc382
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-11-26T21:11:35-03:00
Stats : +9/-4 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-prometheus_client/c/6b7522d44bf54d81837741f8aaca08284abcc382?branch=rawhide
Log:
Update to 0.26.0 rhbz#2428796
0.26.0 has zero packaging imports, removing the dep
Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
---
diff --git a/.gitignore b/.gitignore
index aa0d9e2..3c14153 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
/prometheus_client-0.22.0.tar.gz
/prometheus_client-0.22.1.tar.gz
/prometheus_client-0.23.0.tar.gz
+/prometheus_client-0.26.0.tar.gz
diff --git a/python-prometheus_client.spec b/python-prometheus_client.spec
index 93392a3..59e5ac8 100644
--- a/python-prometheus_client.spec
+++ b/python-prometheus_client.spec
@@ -1,7 +1,7 @@
%global srcname prometheus_client
Name: python-%{srcname}
-Version: 0.23.0
+Version: 0.26.0
Release: %autorelease
Summary: Python client for Prometheus
@@ -18,7 +18,6 @@ BuildArch: noarch
%package -n python3-%{srcname}
Summary: %{summary}
BuildRequires: python3-devel
-Requires: %{py3_dist packaging}
%description -n python3-%{srcname}
%{summary}.
@@ -27,7 +26,12 @@ Requires: %{py3_dist packaging}
%prep
%autosetup -p1 -n client_python-%{version}
-sed -i -e '1{/^#!/d}' prometheus_client/__init__.py
+# Remove shebang lines from non-executable modules (avoids rpmlint non-executable-script)
+sed -i -e '1{/^#!/d}' \
+ prometheus_client/__init__.py \
+ prometheus_client/bridge/graphite.py \
+ prometheus_client/openmetrics/exposition.py \
+ prometheus_client/openmetrics/parser.py
%generate_buildrequires
%pyproject_buildrequires -t
diff --git a/sources b/sources
index 7b76f16..03ea398 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (prometheus_client-0.23.0.tar.gz) = 14eb53b3c29b6d38de642f6b6187af34a2d7a271fc34b2a0d62f25e02551d02cefc1096f2a7bf7e4b8d9f7d4679fc48fde47df35aeb501798cbfeda8abe1c073
+SHA512 (prometheus_client-0.26.0.tar.gz) = 307f098f4f9bb5c1578e4e605e336e89118c3870c8a02727680c04c342ddd967cc3544c979cff10447934d4af93fc8231e13a9641b1b3d6b7db3292ca685b730
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 0:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 0:24 [rpms/python-prometheus_client] rawhide: Update to 0.26.0 rhbz#2428796 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox